私はPythonでscikit-learnを使って4つのクラシファイアを実装しました。しかし、それらのすべてのパフォーマンスはあまり良くありません。これらの分類子のアンサンブルを実装したいと思います。私はscikit-learnでアンサンブルを探しましたが、ランダムフォレストとアダブーストがあります。弱分類器のアンサンブルを作成するにはどうすればよいですか?アンサンブルin Python
1
A
答えて
1
あなたの弱識別器を使用してアンサンブルを作成するさまざまな方法があります。
-Baggingを:あなたは4つの分類器の出力を平均化することができます。
スタッキング:最終出力は、4つの個別出力の線形結合です。 4つのモデルの出力を別のアルゴリズムの入力として使用するか、精度の良いものを選択して異なる重みを直接使用することができます。
関連する問題
- 1. アンサンブル:MagicalRecordとiCloud
- 2. OSError in os.wait in python
- 3. プログラムでZooKeeperアンサンブルに接続
- 4. PyGObject in Python 3 in windows
- 5. webapp in python
- 6. MemoryStream analog in Python
- 7. IBOutlet in Python
- 8. Heaps law in Python
- 9. Python "MemoryError" in AWS
- 10. Var in python 2.7
- 11. Curve in Python 3
- 12. VigenèreCipher Function in Python
- 13. WeakValueDictionary in python
- 14. ZeroDivisionError:float division in Python
- 15. TSNE in sklearn python
- 16. crontab in python
- 17. sqlite3 in Python
- 18. python in cygwin
- 19. ポストインポートフックin Python 2.7
- 20. Bathymetry maps in Python
- 21. by.cssContainingText in Python/Selenium
- 22. Python SyntaxError in code
- 23. Plot3d in Python
- 24. モジュールin Python
- 25. プリプロセッサ#ifdefine in Python
- 26. Python in Nuke 9
- 27. Matlab lsqnonlin in Python
- 28. ULONG_PTR in Python ctypes
- 29. If-statement in Python
- 30. Generics/templates in python?
[VotingClassifier](http://scikit-learn.org/stable/modules/generated/sklearn.ensemble.VotingClassifier.html)を見ましたか? – BrenBarn
私はAdaboostとRandom Forestを見てきました。 – Hellboy