如何查看从 Select 中选择了哪些变量
How do I see which varibles were chosen from SelectK
我正在使用 scikit learn Select 解决我的分类问题。如何查看 Select K 选择了哪些变量?
根据official documentation, you should use: get_support()
。
使用 get_support(indices=True)
获取整数数组,而不是布尔掩码。
我正在使用 scikit learn Select 解决我的分类问题。如何查看 Select K 选择了哪些变量?
根据official documentation, you should use: get_support()
。
使用 get_support(indices=True)
获取整数数组,而不是布尔掩码。