原文:SelectKBest

https: www.e learn.cn content python from sklearn.feature selection import SelectKBest,f classif 數據預處理過濾式特征選取SelectKBest模型 def test SelectKBest : X , , , , , , , , , , , , , , , , , , , , y , , , pri ...

2019-09-01 15:59 0 387 推薦指數:

查看詳情

特征選擇---SelectKBest

官網的一個例子(需要自己給出計算公式、和k值) 參數 1、score_func ...

Wed Jan 13 04:01:00 CST 2021 0 307
sklearn.feature_selection.SelectKBest k 個最高分的特征

sklearn.feature_selection.SelectKBest 根據某中檢驗方法,比如chi2 啦,選擇k個最高分數的特征,屬於單變量特征選擇的一種,可以看做是一個估計器的預處理步驟 官網地址:https://scikit-learn.org/stable/modules ...

Mon Sep 14 22:48:00 CST 2020 0 1125
 
粵ICP備18138465號   © 2018-2026 CODEPRJ.COM