TrainData.html 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722
  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>TrainData</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="TrainData";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":9,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":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/SVM.html" title="class in org.opencv.ml"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  52. <li>Next&nbsp;Class</li>
  53. </ul>
  54. <ul class="navList">
  55. <li><a href="../../../index.html?org/opencv/ml/TrainData.html" target="_top">Frames</a></li>
  56. <li><a href="TrainData.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>Field&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 TrainData" class="title">Class TrainData</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>org.opencv.ml.TrainData</li>
  103. </ul>
  104. </li>
  105. </ul>
  106. <div class="description">
  107. <ul class="blockList">
  108. <li class="blockList">
  109. <hr>
  110. <br>
  111. <pre>public class <span class="typeNameLabel">TrainData</span>
  112. extends java.lang.Object</pre>
  113. </li>
  114. </ul>
  115. </div>
  116. <div class="summary">
  117. <ul class="blockList">
  118. <li class="blockList">
  119. <!-- ========== METHOD SUMMARY =========== -->
  120. <ul class="blockList">
  121. <li class="blockList"><a name="method.summary">
  122. <!-- -->
  123. </a>
  124. <h3>Method Summary</h3>
  125. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  126. <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>
  127. <tr>
  128. <th class="colFirst" scope="col">Modifier and Type</th>
  129. <th class="colLast" scope="col">Method and Description</th>
  130. </tr>
  131. <tr id="i0" class="altColor">
  132. <td class="colFirst"><code>int</code></td>
  133. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getCatCount-int-">getCatCount</a></span>(int&nbsp;vi)</code>&nbsp;</td>
  134. </tr>
  135. <tr id="i1" class="rowColor">
  136. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  137. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getCatMap--">getCatMap</a></span>()</code>&nbsp;</td>
  138. </tr>
  139. <tr id="i2" class="altColor">
  140. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  141. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getCatOfs--">getCatOfs</a></span>()</code>&nbsp;</td>
  142. </tr>
  143. <tr id="i3" class="rowColor">
  144. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  145. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getClassLabels--">getClassLabels</a></span>()</code>&nbsp;</td>
  146. </tr>
  147. <tr id="i4" class="altColor">
  148. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  149. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getDefaultSubstValues--">getDefaultSubstValues</a></span>()</code>&nbsp;</td>
  150. </tr>
  151. <tr id="i5" class="rowColor">
  152. <td class="colFirst"><code>int</code></td>
  153. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getLayout--">getLayout</a></span>()</code>&nbsp;</td>
  154. </tr>
  155. <tr id="i6" class="altColor">
  156. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  157. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getMissing--">getMissing</a></span>()</code>&nbsp;</td>
  158. </tr>
  159. <tr id="i7" class="rowColor">
  160. <td class="colFirst"><code>int</code></td>
  161. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getNAllVars--">getNAllVars</a></span>()</code>&nbsp;</td>
  162. </tr>
  163. <tr id="i8" class="altColor">
  164. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  165. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getNormCatResponses--">getNormCatResponses</a></span>()</code>&nbsp;</td>
  166. </tr>
  167. <tr id="i9" class="rowColor">
  168. <td class="colFirst"><code>int</code></td>
  169. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getNSamples--">getNSamples</a></span>()</code>&nbsp;</td>
  170. </tr>
  171. <tr id="i10" class="altColor">
  172. <td class="colFirst"><code>int</code></td>
  173. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getNTestSamples--">getNTestSamples</a></span>()</code>&nbsp;</td>
  174. </tr>
  175. <tr id="i11" class="rowColor">
  176. <td class="colFirst"><code>int</code></td>
  177. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getNTrainSamples--">getNTrainSamples</a></span>()</code>&nbsp;</td>
  178. </tr>
  179. <tr id="i12" class="altColor">
  180. <td class="colFirst"><code>int</code></td>
  181. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getNVars--">getNVars</a></span>()</code>&nbsp;</td>
  182. </tr>
  183. <tr id="i13" class="rowColor">
  184. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  185. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getResponses--">getResponses</a></span>()</code>&nbsp;</td>
  186. </tr>
  187. <tr id="i14" class="altColor">
  188. <td class="colFirst"><code>int</code></td>
  189. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getResponseType--">getResponseType</a></span>()</code>&nbsp;</td>
  190. </tr>
  191. <tr id="i15" class="rowColor">
  192. <td class="colFirst"><code>void</code></td>
  193. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getSample-org.opencv.core.Mat-int-float-">getSample</a></span>(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;varIdx,
  194. int&nbsp;sidx,
  195. float&nbsp;buf)</code>&nbsp;</td>
  196. </tr>
  197. <tr id="i16" class="altColor">
  198. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  199. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getSamples--">getSamples</a></span>()</code>&nbsp;</td>
  200. </tr>
  201. <tr id="i17" class="rowColor">
  202. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  203. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getSampleWeights--">getSampleWeights</a></span>()</code>&nbsp;</td>
  204. </tr>
  205. <tr id="i18" class="altColor">
  206. <td class="colFirst"><code>static <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  207. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getSubVector-org.opencv.core.Mat-org.opencv.core.Mat-">getSubVector</a></span>(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;vec,
  208. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;idx)</code>&nbsp;</td>
  209. </tr>
  210. <tr id="i19" class="rowColor">
  211. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  212. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getTestNormCatResponses--">getTestNormCatResponses</a></span>()</code>&nbsp;</td>
  213. </tr>
  214. <tr id="i20" class="altColor">
  215. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  216. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getTestResponses--">getTestResponses</a></span>()</code>&nbsp;</td>
  217. </tr>
  218. <tr id="i21" class="rowColor">
  219. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  220. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getTestSampleIdx--">getTestSampleIdx</a></span>()</code>&nbsp;</td>
  221. </tr>
  222. <tr id="i22" class="altColor">
  223. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  224. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getTestSampleWeights--">getTestSampleWeights</a></span>()</code>&nbsp;</td>
  225. </tr>
  226. <tr id="i23" class="rowColor">
  227. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  228. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getTrainNormCatResponses--">getTrainNormCatResponses</a></span>()</code>&nbsp;</td>
  229. </tr>
  230. <tr id="i24" class="altColor">
  231. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  232. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getTrainResponses--">getTrainResponses</a></span>()</code>&nbsp;</td>
  233. </tr>
  234. <tr id="i25" class="rowColor">
  235. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  236. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getTrainSampleIdx--">getTrainSampleIdx</a></span>()</code>&nbsp;</td>
  237. </tr>
  238. <tr id="i26" class="altColor">
  239. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  240. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getTrainSamples--">getTrainSamples</a></span>()</code>&nbsp;</td>
  241. </tr>
  242. <tr id="i27" class="rowColor">
  243. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  244. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getTrainSamples-int-boolean-boolean-">getTrainSamples</a></span>(int&nbsp;layout,
  245. boolean&nbsp;compressSamples,
  246. boolean&nbsp;compressVars)</code>&nbsp;</td>
  247. </tr>
  248. <tr id="i28" class="altColor">
  249. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  250. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getTrainSampleWeights--">getTrainSampleWeights</a></span>()</code>&nbsp;</td>
  251. </tr>
  252. <tr id="i29" class="rowColor">
  253. <td class="colFirst"><code>void</code></td>
  254. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getValues-int-org.opencv.core.Mat-float-">getValues</a></span>(int&nbsp;vi,
  255. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;sidx,
  256. float&nbsp;values)</code>&nbsp;</td>
  257. </tr>
  258. <tr id="i30" class="altColor">
  259. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  260. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getVarIdx--">getVarIdx</a></span>()</code>&nbsp;</td>
  261. </tr>
  262. <tr id="i31" class="rowColor">
  263. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  264. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#getVarType--">getVarType</a></span>()</code>&nbsp;</td>
  265. </tr>
  266. <tr id="i32" class="altColor">
  267. <td class="colFirst"><code>void</code></td>
  268. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#setTrainTestSplit-int-">setTrainTestSplit</a></span>(int&nbsp;count)</code>&nbsp;</td>
  269. </tr>
  270. <tr id="i33" class="rowColor">
  271. <td class="colFirst"><code>void</code></td>
  272. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#setTrainTestSplit-int-boolean-">setTrainTestSplit</a></span>(int&nbsp;count,
  273. boolean&nbsp;shuffle)</code>&nbsp;</td>
  274. </tr>
  275. <tr id="i34" class="altColor">
  276. <td class="colFirst"><code>void</code></td>
  277. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#setTrainTestSplitRatio-double-">setTrainTestSplitRatio</a></span>(double&nbsp;ratio)</code>&nbsp;</td>
  278. </tr>
  279. <tr id="i35" class="rowColor">
  280. <td class="colFirst"><code>void</code></td>
  281. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#setTrainTestSplitRatio-double-boolean-">setTrainTestSplitRatio</a></span>(double&nbsp;ratio,
  282. boolean&nbsp;shuffle)</code>&nbsp;</td>
  283. </tr>
  284. <tr id="i36" class="altColor">
  285. <td class="colFirst"><code>void</code></td>
  286. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/TrainData.html#shuffleTrainTest--">shuffleTrainTest</a></span>()</code>&nbsp;</td>
  287. </tr>
  288. </table>
  289. <ul class="blockList">
  290. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  291. <!-- -->
  292. </a>
  293. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  294. <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  295. </ul>
  296. </li>
  297. </ul>
  298. </li>
  299. </ul>
  300. </div>
  301. <div class="details">
  302. <ul class="blockList">
  303. <li class="blockList">
  304. <!-- ============ METHOD DETAIL ========== -->
  305. <ul class="blockList">
  306. <li class="blockList"><a name="method.detail">
  307. <!-- -->
  308. </a>
  309. <h3>Method Detail</h3>
  310. <a name="getCatCount-int-">
  311. <!-- -->
  312. </a>
  313. <ul class="blockList">
  314. <li class="blockList">
  315. <h4>getCatCount</h4>
  316. <pre>public&nbsp;int&nbsp;getCatCount(int&nbsp;vi)</pre>
  317. </li>
  318. </ul>
  319. <a name="getCatMap--">
  320. <!-- -->
  321. </a>
  322. <ul class="blockList">
  323. <li class="blockList">
  324. <h4>getCatMap</h4>
  325. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getCatMap()</pre>
  326. </li>
  327. </ul>
  328. <a name="getCatOfs--">
  329. <!-- -->
  330. </a>
  331. <ul class="blockList">
  332. <li class="blockList">
  333. <h4>getCatOfs</h4>
  334. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getCatOfs()</pre>
  335. </li>
  336. </ul>
  337. <a name="getClassLabels--">
  338. <!-- -->
  339. </a>
  340. <ul class="blockList">
  341. <li class="blockList">
  342. <h4>getClassLabels</h4>
  343. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getClassLabels()</pre>
  344. </li>
  345. </ul>
  346. <a name="getDefaultSubstValues--">
  347. <!-- -->
  348. </a>
  349. <ul class="blockList">
  350. <li class="blockList">
  351. <h4>getDefaultSubstValues</h4>
  352. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getDefaultSubstValues()</pre>
  353. </li>
  354. </ul>
  355. <a name="getLayout--">
  356. <!-- -->
  357. </a>
  358. <ul class="blockList">
  359. <li class="blockList">
  360. <h4>getLayout</h4>
  361. <pre>public&nbsp;int&nbsp;getLayout()</pre>
  362. </li>
  363. </ul>
  364. <a name="getMissing--">
  365. <!-- -->
  366. </a>
  367. <ul class="blockList">
  368. <li class="blockList">
  369. <h4>getMissing</h4>
  370. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getMissing()</pre>
  371. </li>
  372. </ul>
  373. <a name="getNAllVars--">
  374. <!-- -->
  375. </a>
  376. <ul class="blockList">
  377. <li class="blockList">
  378. <h4>getNAllVars</h4>
  379. <pre>public&nbsp;int&nbsp;getNAllVars()</pre>
  380. </li>
  381. </ul>
  382. <a name="getNormCatResponses--">
  383. <!-- -->
  384. </a>
  385. <ul class="blockList">
  386. <li class="blockList">
  387. <h4>getNormCatResponses</h4>
  388. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getNormCatResponses()</pre>
  389. </li>
  390. </ul>
  391. <a name="getNSamples--">
  392. <!-- -->
  393. </a>
  394. <ul class="blockList">
  395. <li class="blockList">
  396. <h4>getNSamples</h4>
  397. <pre>public&nbsp;int&nbsp;getNSamples()</pre>
  398. </li>
  399. </ul>
  400. <a name="getNTestSamples--">
  401. <!-- -->
  402. </a>
  403. <ul class="blockList">
  404. <li class="blockList">
  405. <h4>getNTestSamples</h4>
  406. <pre>public&nbsp;int&nbsp;getNTestSamples()</pre>
  407. </li>
  408. </ul>
  409. <a name="getNTrainSamples--">
  410. <!-- -->
  411. </a>
  412. <ul class="blockList">
  413. <li class="blockList">
  414. <h4>getNTrainSamples</h4>
  415. <pre>public&nbsp;int&nbsp;getNTrainSamples()</pre>
  416. </li>
  417. </ul>
  418. <a name="getNVars--">
  419. <!-- -->
  420. </a>
  421. <ul class="blockList">
  422. <li class="blockList">
  423. <h4>getNVars</h4>
  424. <pre>public&nbsp;int&nbsp;getNVars()</pre>
  425. </li>
  426. </ul>
  427. <a name="getResponses--">
  428. <!-- -->
  429. </a>
  430. <ul class="blockList">
  431. <li class="blockList">
  432. <h4>getResponses</h4>
  433. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getResponses()</pre>
  434. </li>
  435. </ul>
  436. <a name="getResponseType--">
  437. <!-- -->
  438. </a>
  439. <ul class="blockList">
  440. <li class="blockList">
  441. <h4>getResponseType</h4>
  442. <pre>public&nbsp;int&nbsp;getResponseType()</pre>
  443. </li>
  444. </ul>
  445. <a name="getSample-org.opencv.core.Mat-int-float-">
  446. <!-- -->
  447. </a>
  448. <ul class="blockList">
  449. <li class="blockList">
  450. <h4>getSample</h4>
  451. <pre>public&nbsp;void&nbsp;getSample(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;varIdx,
  452. int&nbsp;sidx,
  453. float&nbsp;buf)</pre>
  454. </li>
  455. </ul>
  456. <a name="getSamples--">
  457. <!-- -->
  458. </a>
  459. <ul class="blockList">
  460. <li class="blockList">
  461. <h4>getSamples</h4>
  462. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getSamples()</pre>
  463. </li>
  464. </ul>
  465. <a name="getSampleWeights--">
  466. <!-- -->
  467. </a>
  468. <ul class="blockList">
  469. <li class="blockList">
  470. <h4>getSampleWeights</h4>
  471. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getSampleWeights()</pre>
  472. </li>
  473. </ul>
  474. <a name="getSubVector-org.opencv.core.Mat-org.opencv.core.Mat-">
  475. <!-- -->
  476. </a>
  477. <ul class="blockList">
  478. <li class="blockList">
  479. <h4>getSubVector</h4>
  480. <pre>public static&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getSubVector(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;vec,
  481. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;idx)</pre>
  482. </li>
  483. </ul>
  484. <a name="getTestNormCatResponses--">
  485. <!-- -->
  486. </a>
  487. <ul class="blockList">
  488. <li class="blockList">
  489. <h4>getTestNormCatResponses</h4>
  490. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getTestNormCatResponses()</pre>
  491. </li>
  492. </ul>
  493. <a name="getTestResponses--">
  494. <!-- -->
  495. </a>
  496. <ul class="blockList">
  497. <li class="blockList">
  498. <h4>getTestResponses</h4>
  499. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getTestResponses()</pre>
  500. </li>
  501. </ul>
  502. <a name="getTestSampleIdx--">
  503. <!-- -->
  504. </a>
  505. <ul class="blockList">
  506. <li class="blockList">
  507. <h4>getTestSampleIdx</h4>
  508. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getTestSampleIdx()</pre>
  509. </li>
  510. </ul>
  511. <a name="getTestSampleWeights--">
  512. <!-- -->
  513. </a>
  514. <ul class="blockList">
  515. <li class="blockList">
  516. <h4>getTestSampleWeights</h4>
  517. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getTestSampleWeights()</pre>
  518. </li>
  519. </ul>
  520. <a name="getTrainNormCatResponses--">
  521. <!-- -->
  522. </a>
  523. <ul class="blockList">
  524. <li class="blockList">
  525. <h4>getTrainNormCatResponses</h4>
  526. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getTrainNormCatResponses()</pre>
  527. </li>
  528. </ul>
  529. <a name="getTrainResponses--">
  530. <!-- -->
  531. </a>
  532. <ul class="blockList">
  533. <li class="blockList">
  534. <h4>getTrainResponses</h4>
  535. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getTrainResponses()</pre>
  536. </li>
  537. </ul>
  538. <a name="getTrainSampleIdx--">
  539. <!-- -->
  540. </a>
  541. <ul class="blockList">
  542. <li class="blockList">
  543. <h4>getTrainSampleIdx</h4>
  544. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getTrainSampleIdx()</pre>
  545. </li>
  546. </ul>
  547. <a name="getTrainSamples--">
  548. <!-- -->
  549. </a>
  550. <ul class="blockList">
  551. <li class="blockList">
  552. <h4>getTrainSamples</h4>
  553. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getTrainSamples()</pre>
  554. </li>
  555. </ul>
  556. <a name="getTrainSamples-int-boolean-boolean-">
  557. <!-- -->
  558. </a>
  559. <ul class="blockList">
  560. <li class="blockList">
  561. <h4>getTrainSamples</h4>
  562. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getTrainSamples(int&nbsp;layout,
  563. boolean&nbsp;compressSamples,
  564. boolean&nbsp;compressVars)</pre>
  565. </li>
  566. </ul>
  567. <a name="getTrainSampleWeights--">
  568. <!-- -->
  569. </a>
  570. <ul class="blockList">
  571. <li class="blockList">
  572. <h4>getTrainSampleWeights</h4>
  573. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getTrainSampleWeights()</pre>
  574. </li>
  575. </ul>
  576. <a name="getValues-int-org.opencv.core.Mat-float-">
  577. <!-- -->
  578. </a>
  579. <ul class="blockList">
  580. <li class="blockList">
  581. <h4>getValues</h4>
  582. <pre>public&nbsp;void&nbsp;getValues(int&nbsp;vi,
  583. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;sidx,
  584. float&nbsp;values)</pre>
  585. </li>
  586. </ul>
  587. <a name="getVarIdx--">
  588. <!-- -->
  589. </a>
  590. <ul class="blockList">
  591. <li class="blockList">
  592. <h4>getVarIdx</h4>
  593. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getVarIdx()</pre>
  594. </li>
  595. </ul>
  596. <a name="getVarType--">
  597. <!-- -->
  598. </a>
  599. <ul class="blockList">
  600. <li class="blockList">
  601. <h4>getVarType</h4>
  602. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;getVarType()</pre>
  603. </li>
  604. </ul>
  605. <a name="setTrainTestSplit-int-">
  606. <!-- -->
  607. </a>
  608. <ul class="blockList">
  609. <li class="blockList">
  610. <h4>setTrainTestSplit</h4>
  611. <pre>public&nbsp;void&nbsp;setTrainTestSplit(int&nbsp;count)</pre>
  612. </li>
  613. </ul>
  614. <a name="setTrainTestSplit-int-boolean-">
  615. <!-- -->
  616. </a>
  617. <ul class="blockList">
  618. <li class="blockList">
  619. <h4>setTrainTestSplit</h4>
  620. <pre>public&nbsp;void&nbsp;setTrainTestSplit(int&nbsp;count,
  621. boolean&nbsp;shuffle)</pre>
  622. </li>
  623. </ul>
  624. <a name="setTrainTestSplitRatio-double-">
  625. <!-- -->
  626. </a>
  627. <ul class="blockList">
  628. <li class="blockList">
  629. <h4>setTrainTestSplitRatio</h4>
  630. <pre>public&nbsp;void&nbsp;setTrainTestSplitRatio(double&nbsp;ratio)</pre>
  631. </li>
  632. </ul>
  633. <a name="setTrainTestSplitRatio-double-boolean-">
  634. <!-- -->
  635. </a>
  636. <ul class="blockList">
  637. <li class="blockList">
  638. <h4>setTrainTestSplitRatio</h4>
  639. <pre>public&nbsp;void&nbsp;setTrainTestSplitRatio(double&nbsp;ratio,
  640. boolean&nbsp;shuffle)</pre>
  641. </li>
  642. </ul>
  643. <a name="shuffleTrainTest--">
  644. <!-- -->
  645. </a>
  646. <ul class="blockListLast">
  647. <li class="blockList">
  648. <h4>shuffleTrainTest</h4>
  649. <pre>public&nbsp;void&nbsp;shuffleTrainTest()</pre>
  650. </li>
  651. </ul>
  652. </li>
  653. </ul>
  654. </li>
  655. </ul>
  656. </div>
  657. </div>
  658. <!-- ========= END OF CLASS DATA ========= -->
  659. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  660. <div class="bottomNav"><a name="navbar.bottom">
  661. <!-- -->
  662. </a>
  663. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  664. <a name="navbar.bottom.firstrow">
  665. <!-- -->
  666. </a>
  667. <ul class="navList" title="Navigation">
  668. <li><a href="../../../overview-summary.html">Overview</a></li>
  669. <li><a href="package-summary.html">Package</a></li>
  670. <li class="navBarCell1Rev">Class</li>
  671. <li><a href="package-tree.html">Tree</a></li>
  672. <li><a href="../../../index-all.html">Index</a></li>
  673. <li><a href="../../../help-doc.html">Help</a></li>
  674. </ul>
  675. <div class="aboutLanguage"><a href="http://docs.opencv.org">OpenCV 3.1.0 Documentation</a></div>
  676. </div>
  677. <div class="subNav">
  678. <ul class="navList">
  679. <li><a href="../../../org/opencv/ml/SVM.html" title="class in org.opencv.ml"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  680. <li>Next&nbsp;Class</li>
  681. </ul>
  682. <ul class="navList">
  683. <li><a href="../../../index.html?org/opencv/ml/TrainData.html" target="_top">Frames</a></li>
  684. <li><a href="TrainData.html" target="_top">No&nbsp;Frames</a></li>
  685. </ul>
  686. <ul class="navList" id="allclasses_navbar_bottom">
  687. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  688. </ul>
  689. <div>
  690. <script type="text/javascript"><!--
  691. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  692. if(window==top) {
  693. allClassesLink.style.display = "block";
  694. }
  695. else {
  696. allClassesLink.style.display = "none";
  697. }
  698. //-->
  699. </script>
  700. </div>
  701. <div>
  702. <ul class="subNavList">
  703. <li>Summary:&nbsp;</li>
  704. <li>Nested&nbsp;|&nbsp;</li>
  705. <li>Field&nbsp;|&nbsp;</li>
  706. <li>Constr&nbsp;|&nbsp;</li>
  707. <li><a href="#method.summary">Method</a></li>
  708. </ul>
  709. <ul class="subNavList">
  710. <li>Detail:&nbsp;</li>
  711. <li>Field&nbsp;|&nbsp;</li>
  712. <li>Constr&nbsp;|&nbsp;</li>
  713. <li><a href="#method.detail">Method</a></li>
  714. </ul>
  715. </div>
  716. <a name="skip.navbar.bottom">
  717. <!-- -->
  718. </a></div>
  719. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  720. </body>
  721. </html>