type_gbag.html
来自「一个由Mike Gashler完成的机器学习方面的includes neural」· HTML 代码 · 共 40 行
HTML
40 行
<html><head><title>Generated Documentation</title></head><body> <image src="headerimage.png"> <br><br><table><tr><td><big><big><big style="font-family: arial;"><b>GBag</b></big></big></big><br>extends <a href="type_GSupervisedLearner.html">GSupervisedLearner</a><br></td><td> BAG stans for bootstrap aggregator. This class basically holds a bunch of supervised learning algorithms and combines their results to produce final results with lower variance.</td></tr></table><br><br><big><big><i>Constructors (public)</i></big></big><br><div style="margin-left: 40px;"><big><b>GBag</b></big>(<a href="type_GArffRelation.html">GArffRelation</a>* pRelation, int nInitialSize)<br></div><br><big><big><i>Destructors</i></big></big><br><div style="margin-left: 40px;"><big><b>~GBag</b></big>()<br></div><br><big><big><i>Virtual (public)</i></big></big><br><div style="margin-left: 40px;">void <big><b>Eval</b></big>(double* pVector)<br><div style="margin-left: 80px;"><font color=brown> Evaluates with each of the learning algorithms and combines the results</font></div><br>void <big><b>Reset</b></big>()<br><div style="margin-left: 80px;"><font color=brown> Discard any training (but not any learners that were added) so it can be trained again</font></div><br>void <big><b>Train</b></big>(<a href="type_GArffData.html">GArffData</a>* pData)<br><div style="margin-left: 80px;"><font color=brown> Trains all the learning algorithms with the complete data set. Note that it's common to train each algorithm with a different portion of the data set. That's not what this method does. todo: write one that does that.</font></div><br></div><br><big><big><i>Public</i></big></big><br><div style="margin-left: 40px;">void <big><b>AddLearner</b></big>(<a href="type_GSupervisedLearner.html">GSupervisedLearner</a>* pLearner)<br><div style="margin-left: 80px;"><font color=brown> Adds a learner to the bag. This takes ownership of pLearner (so it will delete it when it's done with it)</font></div><br>void <big><b>Flush</b></big>()<br><div style="margin-left: 80px;"><font color=brown> Removes and deletes all the learners</font></div><br></div><br></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?