RTrees.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (1.8.0_65) on Fri Dec 18 18:19:52 MSK 2015 -->
  6. <title>RTrees</title>
  7. <meta name="date" content="2015-12-18">
  8. <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
  9. <script type="text/javascript" src="../../../script.js"></script>
  10. </head>
  11. <body>
  12. <script type="text/javascript"><!--
  13. try {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="RTrees";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10};
  22. var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
  23. var altColor = "altColor";
  24. var rowColor = "rowColor";
  25. var tableTab = "tableTab";
  26. var activeTableTab = "activeTableTab";
  27. </script>
  28. <noscript>
  29. <div>JavaScript is disabled on your browser.</div>
  30. </noscript>
  31. <!-- ========= START OF TOP NAVBAR ======= -->
  32. <div class="topNav"><a name="navbar.top">
  33. <!-- -->
  34. </a>
  35. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  36. <a name="navbar.top.firstrow">
  37. <!-- -->
  38. </a>
  39. <ul class="navList" title="Navigation">
  40. <li><a href="../../../overview-summary.html">Overview</a></li>
  41. <li><a href="package-summary.html">Package</a></li>
  42. <li class="navBarCell1Rev">Class</li>
  43. <li><a href="package-tree.html">Tree</a></li>
  44. <li><a href="../../../index-all.html">Index</a></li>
  45. <li><a href="../../../help-doc.html">Help</a></li>
  46. </ul>
  47. <div class="aboutLanguage">OpenCV 3.1.0</div>
  48. </div>
  49. <div class="subNav">
  50. <ul class="navList">
  51. <li><a href="../../../org/opencv/ml/NormalBayesClassifier.html" title="class in org.opencv.ml"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  52. <li><a href="../../../org/opencv/ml/StatModel.html" title="class in org.opencv.ml"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  53. </ul>
  54. <ul class="navList">
  55. <li><a href="../../../index.html?org/opencv/ml/RTrees.html" target="_top">Frames</a></li>
  56. <li><a href="RTrees.html" target="_top">No&nbsp;Frames</a></li>
  57. </ul>
  58. <ul class="navList" id="allclasses_navbar_top">
  59. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  60. </ul>
  61. <div>
  62. <script type="text/javascript"><!--
  63. allClassesLink = document.getElementById("allclasses_navbar_top");
  64. if(window==top) {
  65. allClassesLink.style.display = "block";
  66. }
  67. else {
  68. allClassesLink.style.display = "none";
  69. }
  70. //-->
  71. </script>
  72. </div>
  73. <div>
  74. <ul class="subNavList">
  75. <li>Summary:&nbsp;</li>
  76. <li>Nested&nbsp;|&nbsp;</li>
  77. <li><a href="#fields.inherited.from.class.org.opencv.ml.DTrees">Field</a>&nbsp;|&nbsp;</li>
  78. <li>Constr&nbsp;|&nbsp;</li>
  79. <li><a href="#method.summary">Method</a></li>
  80. </ul>
  81. <ul class="subNavList">
  82. <li>Detail:&nbsp;</li>
  83. <li>Field&nbsp;|&nbsp;</li>
  84. <li>Constr&nbsp;|&nbsp;</li>
  85. <li><a href="#method.detail">Method</a></li>
  86. </ul>
  87. </div>
  88. <a name="skip.navbar.top">
  89. <!-- -->
  90. </a></div>
  91. <!-- ========= END OF TOP NAVBAR ========= -->
  92. <!-- ======== START OF CLASS DATA ======== -->
  93. <div class="header">
  94. <div class="subTitle">org.opencv.ml</div>
  95. <h2 title="Class RTrees" class="title">Class RTrees</h2>
  96. </div>
  97. <div class="contentContainer">
  98. <ul class="inheritance">
  99. <li>java.lang.Object</li>
  100. <li>
  101. <ul class="inheritance">
  102. <li><a href="../../../org/opencv/core/Algorithm.html" title="class in org.opencv.core">org.opencv.core.Algorithm</a></li>
  103. <li>
  104. <ul class="inheritance">
  105. <li><a href="../../../org/opencv/ml/StatModel.html" title="class in org.opencv.ml">org.opencv.ml.StatModel</a></li>
  106. <li>
  107. <ul class="inheritance">
  108. <li><a href="../../../org/opencv/ml/DTrees.html" title="class in org.opencv.ml">org.opencv.ml.DTrees</a></li>
  109. <li>
  110. <ul class="inheritance">
  111. <li>org.opencv.ml.RTrees</li>
  112. </ul>
  113. </li>
  114. </ul>
  115. </li>
  116. </ul>
  117. </li>
  118. </ul>
  119. </li>
  120. </ul>
  121. <div class="description">
  122. <ul class="blockList">
  123. <li class="blockList">
  124. <hr>
  125. <br>
  126. <pre>public class <span class="typeNameLabel">RTrees</span>
  127. extends <a href="../../../org/opencv/ml/DTrees.html" title="class in org.opencv.ml">DTrees</a></pre>
  128. </li>
  129. </ul>
  130. </div>
  131. <div class="summary">
  132. <ul class="blockList">
  133. <li class="blockList">
  134. <!-- =========== FIELD SUMMARY =========== -->
  135. <ul class="blockList">
  136. <li class="blockList"><a name="field.summary">
  137. <!-- -->
  138. </a>
  139. <h3>Field Summary</h3>
  140. <ul class="blockList">
  141. <li class="blockList"><a name="fields.inherited.from.class.org.opencv.ml.DTrees">
  142. <!-- -->
  143. </a>
  144. <h3>Fields inherited from class&nbsp;org.opencv.ml.<a href="../../../org/opencv/ml/DTrees.html" title="class in org.opencv.ml">DTrees</a></h3>
  145. <code><a href="../../../org/opencv/ml/DTrees.html#PREDICT_AUTO">PREDICT_AUTO</a>, <a href="../../../org/opencv/ml/DTrees.html#PREDICT_MASK">PREDICT_MASK</a>, <a href="../../../org/opencv/ml/DTrees.html#PREDICT_MAX_VOTE">PREDICT_MAX_VOTE</a>, <a href="../../../org/opencv/ml/DTrees.html#PREDICT_SUM">PREDICT_SUM</a></code></li>
  146. </ul>
  147. <ul class="blockList">
  148. <li class="blockList"><a name="fields.inherited.from.class.org.opencv.ml.StatModel">
  149. <!-- -->
  150. </a>
  151. <h3>Fields inherited from class&nbsp;org.opencv.ml.<a href="../../../org/opencv/ml/StatModel.html" title="class in org.opencv.ml">StatModel</a></h3>
  152. <code><a href="../../../org/opencv/ml/StatModel.html#COMPRESSED_INPUT">COMPRESSED_INPUT</a>, <a href="../../../org/opencv/ml/StatModel.html#PREPROCESSED_INPUT">PREPROCESSED_INPUT</a>, <a href="../../../org/opencv/ml/StatModel.html#RAW_OUTPUT">RAW_OUTPUT</a>, <a href="../../../org/opencv/ml/StatModel.html#UPDATE_MODEL">UPDATE_MODEL</a></code></li>
  153. </ul>
  154. </li>
  155. </ul>
  156. <!-- ========== METHOD SUMMARY =========== -->
  157. <ul class="blockList">
  158. <li class="blockList"><a name="method.summary">
  159. <!-- -->
  160. </a>
  161. <h3>Method Summary</h3>
  162. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  163. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  164. <tr>
  165. <th class="colFirst" scope="col">Modifier and Type</th>
  166. <th class="colLast" scope="col">Method and Description</th>
  167. </tr>
  168. <tr id="i0" class="altColor">
  169. <td class="colFirst"><code>static <a href="../../../org/opencv/ml/RTrees.html" title="class in org.opencv.ml">RTrees</a></code></td>
  170. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/RTrees.html#create--">create</a></span>()</code>&nbsp;</td>
  171. </tr>
  172. <tr id="i1" class="rowColor">
  173. <td class="colFirst"><code>int</code></td>
  174. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/RTrees.html#getActiveVarCount--">getActiveVarCount</a></span>()</code>&nbsp;</td>
  175. </tr>
  176. <tr id="i2" class="altColor">
  177. <td class="colFirst"><code>boolean</code></td>
  178. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/RTrees.html#getCalculateVarImportance--">getCalculateVarImportance</a></span>()</code>&nbsp;</td>
  179. </tr>
  180. <tr id="i3" class="rowColor">
  181. <td class="colFirst"><code><a href="../../../org/opencv/core/TermCriteria.html" title="class in org.opencv.core">TermCriteria</a></code></td>
  182. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/RTrees.html#getTermCriteria--">getTermCriteria</a></span>()</code>&nbsp;</td>
  183. </tr>
  184. <tr id="i4" class="altColor">
  185. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  186. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/RTrees.html#getVarImportance--">getVarImportance</a></span>()</code>&nbsp;</td>
  187. </tr>
  188. <tr id="i5" class="rowColor">
  189. <td class="colFirst"><code>void</code></td>
  190. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/RTrees.html#setActiveVarCount-int-">setActiveVarCount</a></span>(int&nbsp;val)</code>&nbsp;</td>
  191. </tr>
  192. <tr id="i6" class="altColor">
  193. <td class="colFirst"><code>void</code></td>
  194. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/RTrees.html#setCalculateVarImportance-boolean-">setCalculateVarImportance</a></span>(boolean&nbsp;val)</code>&nbsp;</td>
  195. </tr>
  196. <tr id="i7" class="rowColor">
  197. <td class="colFirst"><code>void</code></td>
  198. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/RTrees.html#setTermCriteria-org.opencv.core.TermCriteria-">setTermCriteria</a></span>(<a href="../../../org/opencv/core/TermCriteria.html" title="class in org.opencv.core">TermCriteria</a>&nbsp;val)</code>&nbsp;</td>
  199. </tr>
  200. </table>
  201. <ul class="blockList">
  202. <li class="blockList"><a name="methods.inherited.from.class.org.opencv.ml.DTrees">
  203. <!-- -->
  204. </a>
  205. <h3>Methods inherited from class&nbsp;org.opencv.ml.<a href="../../../org/opencv/ml/DTrees.html" title="class in org.opencv.ml">DTrees</a></h3>
  206. <code><a href="../../../org/opencv/ml/DTrees.html#getCVFolds--">getCVFolds</a>, <a href="../../../org/opencv/ml/DTrees.html#getMaxCategories--">getMaxCategories</a>, <a href="../../../org/opencv/ml/DTrees.html#getMaxDepth--">getMaxDepth</a>, <a href="../../../org/opencv/ml/DTrees.html#getMinSampleCount--">getMinSampleCount</a>, <a href="../../../org/opencv/ml/DTrees.html#getPriors--">getPriors</a>, <a href="../../../org/opencv/ml/DTrees.html#getRegressionAccuracy--">getRegressionAccuracy</a>, <a href="../../../org/opencv/ml/DTrees.html#getTruncatePrunedTree--">getTruncatePrunedTree</a>, <a href="../../../org/opencv/ml/DTrees.html#getUse1SERule--">getUse1SERule</a>, <a href="../../../org/opencv/ml/DTrees.html#getUseSurrogates--">getUseSurrogates</a>, <a href="../../../org/opencv/ml/DTrees.html#setCVFolds-int-">setCVFolds</a>, <a href="../../../org/opencv/ml/DTrees.html#setMaxCategories-int-">setMaxCategories</a>, <a href="../../../org/opencv/ml/DTrees.html#setMaxDepth-int-">setMaxDepth</a>, <a href="../../../org/opencv/ml/DTrees.html#setMinSampleCount-int-">setMinSampleCount</a>, <a href="../../../org/opencv/ml/DTrees.html#setPriors-org.opencv.core.Mat-">setPriors</a>, <a href="../../../org/opencv/ml/DTrees.html#setRegressionAccuracy-float-">setRegressionAccuracy</a>, <a href="../../../org/opencv/ml/DTrees.html#setTruncatePrunedTree-boolean-">setTruncatePrunedTree</a>, <a href="../../../org/opencv/ml/DTrees.html#setUse1SERule-boolean-">setUse1SERule</a>, <a href="../../../org/opencv/ml/DTrees.html#setUseSurrogates-boolean-">setUseSurrogates</a></code></li>
  207. </ul>
  208. <ul class="blockList">
  209. <li class="blockList"><a name="methods.inherited.from.class.org.opencv.ml.StatModel">
  210. <!-- -->
  211. </a>
  212. <h3>Methods inherited from class&nbsp;org.opencv.ml.<a href="../../../org/opencv/ml/StatModel.html" title="class in org.opencv.ml">StatModel</a></h3>
  213. <code><a href="../../../org/opencv/ml/StatModel.html#empty--">empty</a>, <a href="../../../org/opencv/ml/StatModel.html#getVarCount--">getVarCount</a>, <a href="../../../org/opencv/ml/StatModel.html#isClassifier--">isClassifier</a>, <a href="../../../org/opencv/ml/StatModel.html#isTrained--">isTrained</a>, <a href="../../../org/opencv/ml/StatModel.html#predict-org.opencv.core.Mat-">predict</a>, <a href="../../../org/opencv/ml/StatModel.html#predict-org.opencv.core.Mat-org.opencv.core.Mat-int-">predict</a>, <a href="../../../org/opencv/ml/StatModel.html#train-org.opencv.core.Mat-int-org.opencv.core.Mat-">train</a></code></li>
  214. </ul>
  215. <ul class="blockList">
  216. <li class="blockList"><a name="methods.inherited.from.class.org.opencv.core.Algorithm">
  217. <!-- -->
  218. </a>
  219. <h3>Methods inherited from class&nbsp;org.opencv.core.<a href="../../../org/opencv/core/Algorithm.html" title="class in org.opencv.core">Algorithm</a></h3>
  220. <code><a href="../../../org/opencv/core/Algorithm.html#clear--">clear</a>, <a href="../../../org/opencv/core/Algorithm.html#getDefaultName--">getDefaultName</a>, <a href="../../../org/opencv/core/Algorithm.html#save-java.lang.String-">save</a></code></li>
  221. </ul>
  222. <ul class="blockList">
  223. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  224. <!-- -->
  225. </a>
  226. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  227. <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  228. </ul>
  229. </li>
  230. </ul>
  231. </li>
  232. </ul>
  233. </div>
  234. <div class="details">
  235. <ul class="blockList">
  236. <li class="blockList">
  237. <!-- ============ METHOD DETAIL ========== -->
  238. <ul class="blockList">
  239. <li class="blockList"><a name="method.detail">
  240. <!-- -->
  241. </a>
  242. <h3>Method Detail</h3>
  243. <a name="create--">
  244. <!-- -->
  245. </a>
  246. <ul class="blockList">
  247. <li class="blockList">
  248. <h4>create</h4>
  249. <pre>public static&nbsp;<a href="../../../org/opencv/ml/RTrees.html" title="class in org.opencv.ml">RTrees</a>&nbsp;create()</pre>
  250. </li>
  251. </ul>
  252. <a name="getActiveVarCount--">
  253. <!-- -->
  254. </a>
  255. <ul class="blockList">
  256. <li class="blockList">
  257. <h4>getActiveVarCount</h4>
  258. <pre>public&nbsp;int&nbsp;getActiveVarCount()</pre>
  259. </li>
  260. </ul>
  261. <a name="getCalculateVarImportance--">
  262. <!-- -->
  263. </a>
  264. <ul class="blockList">
  265. <li class="blockList">
  266. <h4>getCalculateVarImportance</h4>
  267. <pre>public&nbsp;boolean&nbsp;getCalculateVarImportance()</pre>
  268. </li>
  269. </ul>
  270. <a name="getTermCriteria--">
  271. <!-- -->
  272. </a>
  273. <ul class="blockList">
  274. <li class="blockList">
  275. <h4>getTermCriteria</h4>
  276. <pre>public&nbsp;<a href="../../../org/opencv/core/TermCriteria.html" title="class in org.opencv.core">TermCriteria</a>&nbsp;getTermCriteria()</pre>
  277. </li>
  278. </ul>
  279. <a name="getVarImportance--">
  280. <!-- -->
  281. </a>
  282. <ul class="blockList">
  283. <li class="blockList">
  284. <h4>getVarImportance</h4>
  285. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getVarImportance()</pre>
  286. </li>
  287. </ul>
  288. <a name="setActiveVarCount-int-">
  289. <!-- -->
  290. </a>
  291. <ul class="blockList">
  292. <li class="blockList">
  293. <h4>setActiveVarCount</h4>
  294. <pre>public&nbsp;void&nbsp;setActiveVarCount(int&nbsp;val)</pre>
  295. </li>
  296. </ul>
  297. <a name="setCalculateVarImportance-boolean-">
  298. <!-- -->
  299. </a>
  300. <ul class="blockList">
  301. <li class="blockList">
  302. <h4>setCalculateVarImportance</h4>
  303. <pre>public&nbsp;void&nbsp;setCalculateVarImportance(boolean&nbsp;val)</pre>
  304. </li>
  305. </ul>
  306. <a name="setTermCriteria-org.opencv.core.TermCriteria-">
  307. <!-- -->
  308. </a>
  309. <ul class="blockListLast">
  310. <li class="blockList">
  311. <h4>setTermCriteria</h4>
  312. <pre>public&nbsp;void&nbsp;setTermCriteria(<a href="../../../org/opencv/core/TermCriteria.html" title="class in org.opencv.core">TermCriteria</a>&nbsp;val)</pre>
  313. </li>
  314. </ul>
  315. </li>
  316. </ul>
  317. </li>
  318. </ul>
  319. </div>
  320. </div>
  321. <!-- ========= END OF CLASS DATA ========= -->
  322. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  323. <div class="bottomNav"><a name="navbar.bottom">
  324. <!-- -->
  325. </a>
  326. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  327. <a name="navbar.bottom.firstrow">
  328. <!-- -->
  329. </a>
  330. <ul class="navList" title="Navigation">
  331. <li><a href="../../../overview-summary.html">Overview</a></li>
  332. <li><a href="package-summary.html">Package</a></li>
  333. <li class="navBarCell1Rev">Class</li>
  334. <li><a href="package-tree.html">Tree</a></li>
  335. <li><a href="../../../index-all.html">Index</a></li>
  336. <li><a href="../../../help-doc.html">Help</a></li>
  337. </ul>
  338. <div class="aboutLanguage"><a href="http://docs.opencv.org">OpenCV 3.1.0 Documentation</a></div>
  339. </div>
  340. <div class="subNav">
  341. <ul class="navList">
  342. <li><a href="../../../org/opencv/ml/NormalBayesClassifier.html" title="class in org.opencv.ml"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  343. <li><a href="../../../org/opencv/ml/StatModel.html" title="class in org.opencv.ml"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  344. </ul>
  345. <ul class="navList">
  346. <li><a href="../../../index.html?org/opencv/ml/RTrees.html" target="_top">Frames</a></li>
  347. <li><a href="RTrees.html" target="_top">No&nbsp;Frames</a></li>
  348. </ul>
  349. <ul class="navList" id="allclasses_navbar_bottom">
  350. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  351. </ul>
  352. <div>
  353. <script type="text/javascript"><!--
  354. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  355. if(window==top) {
  356. allClassesLink.style.display = "block";
  357. }
  358. else {
  359. allClassesLink.style.display = "none";
  360. }
  361. //-->
  362. </script>
  363. </div>
  364. <div>
  365. <ul class="subNavList">
  366. <li>Summary:&nbsp;</li>
  367. <li>Nested&nbsp;|&nbsp;</li>
  368. <li><a href="#fields.inherited.from.class.org.opencv.ml.DTrees">Field</a>&nbsp;|&nbsp;</li>
  369. <li>Constr&nbsp;|&nbsp;</li>
  370. <li><a href="#method.summary">Method</a></li>
  371. </ul>
  372. <ul class="subNavList">
  373. <li>Detail:&nbsp;</li>
  374. <li>Field&nbsp;|&nbsp;</li>
  375. <li>Constr&nbsp;|&nbsp;</li>
  376. <li><a href="#method.detail">Method</a></li>
  377. </ul>
  378. </div>
  379. <a name="skip.navbar.bottom">
  380. <!-- -->
  381. </a></div>
  382. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  383. </body>
  384. </html>