問題タブ [mlp]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
2828 参照

python - AttributeError: 'MLPClassifier' オブジェクトに属性 'best_loss_' がありません

scikit-learn の MLPClassifier で warm_start パラメータを試していました。ただし、次のコードの実行中にエラーが発生しました。

以下は私の出力とエラーメッセージです。最初の clf.fit() は完了まで実行できましたが、2 番目の clf.fit() は 1 回の反復後にエラー メッセージを生成しました。

に変更するとwarm_start = False、両方の clf.fit() が完了するまで実行できます。