cost 201 ms
needs_proba 和 needs_threshold scikit-learn make_scorer function 有什么區別?

[英]What is the difference between needs_proba and needs_threshold in scikit-learn make_scorer function?

make_scorer文檔中沒有很好地解釋它們之間的區別。 我觀察到,如果needs_proba或needs_threshold設置為 True,得分 function 將收到pred_proba而不是y_pred 。 但是,不可能將它們都設置為 True。 它給出了錯誤 needs_thre ...

為 Windows 設置 kenlm

[英]Set up kenlm for Windows

官網很清楚Windows中不支持kenlm 。 github 存儲庫中有一個 Windows 標簽,但它似乎由少數隨機貢獻者維護。 那么如何為 Windows 設置 kenlm 呢? ...

Matthew 的相關系數和精度在 RandomizedSearchCV 中引發錯誤

[英]Matthew's Correlation Coefficient and Precision throws errors in RandomizedSearchCV

我不斷收到此錯誤: 我在自定義計分器中實現它的方式有問題嗎? 編輯:我理解它為什么會拋出警告/錯誤,但是我不明白為什么現在它根本不適合? 我希望只有很多值是 inf/nan 但目前它會回溯到random_state = 2504).fit(X_train, y_train)我該如何解決這個問題? ...


 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM