LogisticRegression.html 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582
  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>LogisticRegression</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="LogisticRegression";
  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,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":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/KNearest.html" title="class in org.opencv.ml"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  52. <li><a href="../../../org/opencv/ml/Ml.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/LogisticRegression.html" target="_top">Frames</a></li>
  56. <li><a href="LogisticRegression.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="#field.summary">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><a href="#field.detail">Field</a>&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 LogisticRegression" class="title">Class LogisticRegression</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>org.opencv.ml.LogisticRegression</li>
  109. </ul>
  110. </li>
  111. </ul>
  112. </li>
  113. </ul>
  114. </li>
  115. </ul>
  116. <div class="description">
  117. <ul class="blockList">
  118. <li class="blockList">
  119. <hr>
  120. <br>
  121. <pre>public class <span class="typeNameLabel">LogisticRegression</span>
  122. extends <a href="../../../org/opencv/ml/StatModel.html" title="class in org.opencv.ml">StatModel</a></pre>
  123. </li>
  124. </ul>
  125. </div>
  126. <div class="summary">
  127. <ul class="blockList">
  128. <li class="blockList">
  129. <!-- =========== FIELD SUMMARY =========== -->
  130. <ul class="blockList">
  131. <li class="blockList"><a name="field.summary">
  132. <!-- -->
  133. </a>
  134. <h3>Field Summary</h3>
  135. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  136. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  137. <tr>
  138. <th class="colFirst" scope="col">Modifier and Type</th>
  139. <th class="colLast" scope="col">Field and Description</th>
  140. </tr>
  141. <tr class="altColor">
  142. <td class="colFirst"><code>static int</code></td>
  143. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/LogisticRegression.html#BATCH">BATCH</a></span></code>&nbsp;</td>
  144. </tr>
  145. <tr class="rowColor">
  146. <td class="colFirst"><code>static int</code></td>
  147. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/LogisticRegression.html#MINI_BATCH">MINI_BATCH</a></span></code>&nbsp;</td>
  148. </tr>
  149. <tr class="altColor">
  150. <td class="colFirst"><code>static int</code></td>
  151. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/LogisticRegression.html#REG_DISABLE">REG_DISABLE</a></span></code>&nbsp;</td>
  152. </tr>
  153. <tr class="rowColor">
  154. <td class="colFirst"><code>static int</code></td>
  155. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/LogisticRegression.html#REG_L1">REG_L1</a></span></code>&nbsp;</td>
  156. </tr>
  157. <tr class="altColor">
  158. <td class="colFirst"><code>static int</code></td>
  159. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/LogisticRegression.html#REG_L2">REG_L2</a></span></code>&nbsp;</td>
  160. </tr>
  161. </table>
  162. <ul class="blockList">
  163. <li class="blockList"><a name="fields.inherited.from.class.org.opencv.ml.StatModel">
  164. <!-- -->
  165. </a>
  166. <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>
  167. <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>
  168. </ul>
  169. </li>
  170. </ul>
  171. <!-- ========== METHOD SUMMARY =========== -->
  172. <ul class="blockList">
  173. <li class="blockList"><a name="method.summary">
  174. <!-- -->
  175. </a>
  176. <h3>Method Summary</h3>
  177. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  178. <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>
  179. <tr>
  180. <th class="colFirst" scope="col">Modifier and Type</th>
  181. <th class="colLast" scope="col">Method and Description</th>
  182. </tr>
  183. <tr id="i0" class="altColor">
  184. <td class="colFirst"><code>static <a href="../../../org/opencv/ml/LogisticRegression.html" title="class in org.opencv.ml">LogisticRegression</a></code></td>
  185. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/LogisticRegression.html#create--">create</a></span>()</code>&nbsp;</td>
  186. </tr>
  187. <tr id="i1" class="rowColor">
  188. <td class="colFirst"><code><a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a></code></td>
  189. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/LogisticRegression.html#get_learnt_thetas--">get_learnt_thetas</a></span>()</code>&nbsp;</td>
  190. </tr>
  191. <tr id="i2" class="altColor">
  192. <td class="colFirst"><code>int</code></td>
  193. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/LogisticRegression.html#getIterations--">getIterations</a></span>()</code>&nbsp;</td>
  194. </tr>
  195. <tr id="i3" class="rowColor">
  196. <td class="colFirst"><code>double</code></td>
  197. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/LogisticRegression.html#getLearningRate--">getLearningRate</a></span>()</code>&nbsp;</td>
  198. </tr>
  199. <tr id="i4" class="altColor">
  200. <td class="colFirst"><code>int</code></td>
  201. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/LogisticRegression.html#getMiniBatchSize--">getMiniBatchSize</a></span>()</code>&nbsp;</td>
  202. </tr>
  203. <tr id="i5" class="rowColor">
  204. <td class="colFirst"><code>int</code></td>
  205. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/LogisticRegression.html#getRegularization--">getRegularization</a></span>()</code>&nbsp;</td>
  206. </tr>
  207. <tr id="i6" class="altColor">
  208. <td class="colFirst"><code><a href="../../../org/opencv/core/TermCriteria.html" title="class in org.opencv.core">TermCriteria</a></code></td>
  209. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/LogisticRegression.html#getTermCriteria--">getTermCriteria</a></span>()</code>&nbsp;</td>
  210. </tr>
  211. <tr id="i7" class="rowColor">
  212. <td class="colFirst"><code>int</code></td>
  213. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/LogisticRegression.html#getTrainMethod--">getTrainMethod</a></span>()</code>&nbsp;</td>
  214. </tr>
  215. <tr id="i8" class="altColor">
  216. <td class="colFirst"><code>float</code></td>
  217. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/LogisticRegression.html#predict-org.opencv.core.Mat-">predict</a></span>(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;samples)</code>&nbsp;</td>
  218. </tr>
  219. <tr id="i9" class="rowColor">
  220. <td class="colFirst"><code>float</code></td>
  221. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/LogisticRegression.html#predict-org.opencv.core.Mat-org.opencv.core.Mat-int-">predict</a></span>(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;samples,
  222. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;results,
  223. int&nbsp;flags)</code>&nbsp;</td>
  224. </tr>
  225. <tr id="i10" class="altColor">
  226. <td class="colFirst"><code>void</code></td>
  227. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/LogisticRegression.html#setIterations-int-">setIterations</a></span>(int&nbsp;val)</code>&nbsp;</td>
  228. </tr>
  229. <tr id="i11" class="rowColor">
  230. <td class="colFirst"><code>void</code></td>
  231. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/LogisticRegression.html#setLearningRate-double-">setLearningRate</a></span>(double&nbsp;val)</code>&nbsp;</td>
  232. </tr>
  233. <tr id="i12" class="altColor">
  234. <td class="colFirst"><code>void</code></td>
  235. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/LogisticRegression.html#setMiniBatchSize-int-">setMiniBatchSize</a></span>(int&nbsp;val)</code>&nbsp;</td>
  236. </tr>
  237. <tr id="i13" class="rowColor">
  238. <td class="colFirst"><code>void</code></td>
  239. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/LogisticRegression.html#setRegularization-int-">setRegularization</a></span>(int&nbsp;val)</code>&nbsp;</td>
  240. </tr>
  241. <tr id="i14" class="altColor">
  242. <td class="colFirst"><code>void</code></td>
  243. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/LogisticRegression.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>
  244. </tr>
  245. <tr id="i15" class="rowColor">
  246. <td class="colFirst"><code>void</code></td>
  247. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/LogisticRegression.html#setTrainMethod-int-">setTrainMethod</a></span>(int&nbsp;val)</code>&nbsp;</td>
  248. </tr>
  249. </table>
  250. <ul class="blockList">
  251. <li class="blockList"><a name="methods.inherited.from.class.org.opencv.ml.StatModel">
  252. <!-- -->
  253. </a>
  254. <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>
  255. <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#train-org.opencv.core.Mat-int-org.opencv.core.Mat-">train</a></code></li>
  256. </ul>
  257. <ul class="blockList">
  258. <li class="blockList"><a name="methods.inherited.from.class.org.opencv.core.Algorithm">
  259. <!-- -->
  260. </a>
  261. <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>
  262. <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>
  263. </ul>
  264. <ul class="blockList">
  265. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  266. <!-- -->
  267. </a>
  268. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  269. <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  270. </ul>
  271. </li>
  272. </ul>
  273. </li>
  274. </ul>
  275. </div>
  276. <div class="details">
  277. <ul class="blockList">
  278. <li class="blockList">
  279. <!-- ============ FIELD DETAIL =========== -->
  280. <ul class="blockList">
  281. <li class="blockList"><a name="field.detail">
  282. <!-- -->
  283. </a>
  284. <h3>Field Detail</h3>
  285. <a name="BATCH">
  286. <!-- -->
  287. </a>
  288. <ul class="blockList">
  289. <li class="blockList">
  290. <h4>BATCH</h4>
  291. <pre>public static final&nbsp;int BATCH</pre>
  292. <dl>
  293. <dt><span class="seeLabel">See Also:</span></dt>
  294. <dd><a href="../../../constant-values.html#org.opencv.ml.LogisticRegression.BATCH">Constant Field Values</a></dd>
  295. </dl>
  296. </li>
  297. </ul>
  298. <a name="MINI_BATCH">
  299. <!-- -->
  300. </a>
  301. <ul class="blockList">
  302. <li class="blockList">
  303. <h4>MINI_BATCH</h4>
  304. <pre>public static final&nbsp;int MINI_BATCH</pre>
  305. <dl>
  306. <dt><span class="seeLabel">See Also:</span></dt>
  307. <dd><a href="../../../constant-values.html#org.opencv.ml.LogisticRegression.MINI_BATCH">Constant Field Values</a></dd>
  308. </dl>
  309. </li>
  310. </ul>
  311. <a name="REG_DISABLE">
  312. <!-- -->
  313. </a>
  314. <ul class="blockList">
  315. <li class="blockList">
  316. <h4>REG_DISABLE</h4>
  317. <pre>public static final&nbsp;int REG_DISABLE</pre>
  318. <dl>
  319. <dt><span class="seeLabel">See Also:</span></dt>
  320. <dd><a href="../../../constant-values.html#org.opencv.ml.LogisticRegression.REG_DISABLE">Constant Field Values</a></dd>
  321. </dl>
  322. </li>
  323. </ul>
  324. <a name="REG_L1">
  325. <!-- -->
  326. </a>
  327. <ul class="blockList">
  328. <li class="blockList">
  329. <h4>REG_L1</h4>
  330. <pre>public static final&nbsp;int REG_L1</pre>
  331. <dl>
  332. <dt><span class="seeLabel">See Also:</span></dt>
  333. <dd><a href="../../../constant-values.html#org.opencv.ml.LogisticRegression.REG_L1">Constant Field Values</a></dd>
  334. </dl>
  335. </li>
  336. </ul>
  337. <a name="REG_L2">
  338. <!-- -->
  339. </a>
  340. <ul class="blockListLast">
  341. <li class="blockList">
  342. <h4>REG_L2</h4>
  343. <pre>public static final&nbsp;int REG_L2</pre>
  344. <dl>
  345. <dt><span class="seeLabel">See Also:</span></dt>
  346. <dd><a href="../../../constant-values.html#org.opencv.ml.LogisticRegression.REG_L2">Constant Field Values</a></dd>
  347. </dl>
  348. </li>
  349. </ul>
  350. </li>
  351. </ul>
  352. <!-- ============ METHOD DETAIL ========== -->
  353. <ul class="blockList">
  354. <li class="blockList"><a name="method.detail">
  355. <!-- -->
  356. </a>
  357. <h3>Method Detail</h3>
  358. <a name="create--">
  359. <!-- -->
  360. </a>
  361. <ul class="blockList">
  362. <li class="blockList">
  363. <h4>create</h4>
  364. <pre>public static&nbsp;<a href="../../../org/opencv/ml/LogisticRegression.html" title="class in org.opencv.ml">LogisticRegression</a>&nbsp;create()</pre>
  365. </li>
  366. </ul>
  367. <a name="get_learnt_thetas--">
  368. <!-- -->
  369. </a>
  370. <ul class="blockList">
  371. <li class="blockList">
  372. <h4>get_learnt_thetas</h4>
  373. <pre>public&nbsp;<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;get_learnt_thetas()</pre>
  374. </li>
  375. </ul>
  376. <a name="getIterations--">
  377. <!-- -->
  378. </a>
  379. <ul class="blockList">
  380. <li class="blockList">
  381. <h4>getIterations</h4>
  382. <pre>public&nbsp;int&nbsp;getIterations()</pre>
  383. </li>
  384. </ul>
  385. <a name="getLearningRate--">
  386. <!-- -->
  387. </a>
  388. <ul class="blockList">
  389. <li class="blockList">
  390. <h4>getLearningRate</h4>
  391. <pre>public&nbsp;double&nbsp;getLearningRate()</pre>
  392. </li>
  393. </ul>
  394. <a name="getMiniBatchSize--">
  395. <!-- -->
  396. </a>
  397. <ul class="blockList">
  398. <li class="blockList">
  399. <h4>getMiniBatchSize</h4>
  400. <pre>public&nbsp;int&nbsp;getMiniBatchSize()</pre>
  401. </li>
  402. </ul>
  403. <a name="getRegularization--">
  404. <!-- -->
  405. </a>
  406. <ul class="blockList">
  407. <li class="blockList">
  408. <h4>getRegularization</h4>
  409. <pre>public&nbsp;int&nbsp;getRegularization()</pre>
  410. </li>
  411. </ul>
  412. <a name="getTermCriteria--">
  413. <!-- -->
  414. </a>
  415. <ul class="blockList">
  416. <li class="blockList">
  417. <h4>getTermCriteria</h4>
  418. <pre>public&nbsp;<a href="../../../org/opencv/core/TermCriteria.html" title="class in org.opencv.core">TermCriteria</a>&nbsp;getTermCriteria()</pre>
  419. </li>
  420. </ul>
  421. <a name="getTrainMethod--">
  422. <!-- -->
  423. </a>
  424. <ul class="blockList">
  425. <li class="blockList">
  426. <h4>getTrainMethod</h4>
  427. <pre>public&nbsp;int&nbsp;getTrainMethod()</pre>
  428. </li>
  429. </ul>
  430. <a name="predict-org.opencv.core.Mat-">
  431. <!-- -->
  432. </a>
  433. <ul class="blockList">
  434. <li class="blockList">
  435. <h4>predict</h4>
  436. <pre>public&nbsp;float&nbsp;predict(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;samples)</pre>
  437. <dl>
  438. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  439. <dd><code><a href="../../../org/opencv/ml/StatModel.html#predict-org.opencv.core.Mat-">predict</a></code>&nbsp;in class&nbsp;<code><a href="../../../org/opencv/ml/StatModel.html" title="class in org.opencv.ml">StatModel</a></code></dd>
  440. </dl>
  441. </li>
  442. </ul>
  443. <a name="predict-org.opencv.core.Mat-org.opencv.core.Mat-int-">
  444. <!-- -->
  445. </a>
  446. <ul class="blockList">
  447. <li class="blockList">
  448. <h4>predict</h4>
  449. <pre>public&nbsp;float&nbsp;predict(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;samples,
  450. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;results,
  451. int&nbsp;flags)</pre>
  452. <dl>
  453. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  454. <dd><code><a href="../../../org/opencv/ml/StatModel.html#predict-org.opencv.core.Mat-org.opencv.core.Mat-int-">predict</a></code>&nbsp;in class&nbsp;<code><a href="../../../org/opencv/ml/StatModel.html" title="class in org.opencv.ml">StatModel</a></code></dd>
  455. </dl>
  456. </li>
  457. </ul>
  458. <a name="setIterations-int-">
  459. <!-- -->
  460. </a>
  461. <ul class="blockList">
  462. <li class="blockList">
  463. <h4>setIterations</h4>
  464. <pre>public&nbsp;void&nbsp;setIterations(int&nbsp;val)</pre>
  465. </li>
  466. </ul>
  467. <a name="setLearningRate-double-">
  468. <!-- -->
  469. </a>
  470. <ul class="blockList">
  471. <li class="blockList">
  472. <h4>setLearningRate</h4>
  473. <pre>public&nbsp;void&nbsp;setLearningRate(double&nbsp;val)</pre>
  474. </li>
  475. </ul>
  476. <a name="setMiniBatchSize-int-">
  477. <!-- -->
  478. </a>
  479. <ul class="blockList">
  480. <li class="blockList">
  481. <h4>setMiniBatchSize</h4>
  482. <pre>public&nbsp;void&nbsp;setMiniBatchSize(int&nbsp;val)</pre>
  483. </li>
  484. </ul>
  485. <a name="setRegularization-int-">
  486. <!-- -->
  487. </a>
  488. <ul class="blockList">
  489. <li class="blockList">
  490. <h4>setRegularization</h4>
  491. <pre>public&nbsp;void&nbsp;setRegularization(int&nbsp;val)</pre>
  492. </li>
  493. </ul>
  494. <a name="setTermCriteria-org.opencv.core.TermCriteria-">
  495. <!-- -->
  496. </a>
  497. <ul class="blockList">
  498. <li class="blockList">
  499. <h4>setTermCriteria</h4>
  500. <pre>public&nbsp;void&nbsp;setTermCriteria(<a href="../../../org/opencv/core/TermCriteria.html" title="class in org.opencv.core">TermCriteria</a>&nbsp;val)</pre>
  501. </li>
  502. </ul>
  503. <a name="setTrainMethod-int-">
  504. <!-- -->
  505. </a>
  506. <ul class="blockListLast">
  507. <li class="blockList">
  508. <h4>setTrainMethod</h4>
  509. <pre>public&nbsp;void&nbsp;setTrainMethod(int&nbsp;val)</pre>
  510. </li>
  511. </ul>
  512. </li>
  513. </ul>
  514. </li>
  515. </ul>
  516. </div>
  517. </div>
  518. <!-- ========= END OF CLASS DATA ========= -->
  519. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  520. <div class="bottomNav"><a name="navbar.bottom">
  521. <!-- -->
  522. </a>
  523. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  524. <a name="navbar.bottom.firstrow">
  525. <!-- -->
  526. </a>
  527. <ul class="navList" title="Navigation">
  528. <li><a href="../../../overview-summary.html">Overview</a></li>
  529. <li><a href="package-summary.html">Package</a></li>
  530. <li class="navBarCell1Rev">Class</li>
  531. <li><a href="package-tree.html">Tree</a></li>
  532. <li><a href="../../../index-all.html">Index</a></li>
  533. <li><a href="../../../help-doc.html">Help</a></li>
  534. </ul>
  535. <div class="aboutLanguage"><a href="http://docs.opencv.org">OpenCV 3.1.0 Documentation</a></div>
  536. </div>
  537. <div class="subNav">
  538. <ul class="navList">
  539. <li><a href="../../../org/opencv/ml/KNearest.html" title="class in org.opencv.ml"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  540. <li><a href="../../../org/opencv/ml/Ml.html" title="class in org.opencv.ml"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  541. </ul>
  542. <ul class="navList">
  543. <li><a href="../../../index.html?org/opencv/ml/LogisticRegression.html" target="_top">Frames</a></li>
  544. <li><a href="LogisticRegression.html" target="_top">No&nbsp;Frames</a></li>
  545. </ul>
  546. <ul class="navList" id="allclasses_navbar_bottom">
  547. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  548. </ul>
  549. <div>
  550. <script type="text/javascript"><!--
  551. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  552. if(window==top) {
  553. allClassesLink.style.display = "block";
  554. }
  555. else {
  556. allClassesLink.style.display = "none";
  557. }
  558. //-->
  559. </script>
  560. </div>
  561. <div>
  562. <ul class="subNavList">
  563. <li>Summary:&nbsp;</li>
  564. <li>Nested&nbsp;|&nbsp;</li>
  565. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  566. <li>Constr&nbsp;|&nbsp;</li>
  567. <li><a href="#method.summary">Method</a></li>
  568. </ul>
  569. <ul class="subNavList">
  570. <li>Detail:&nbsp;</li>
  571. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  572. <li>Constr&nbsp;|&nbsp;</li>
  573. <li><a href="#method.detail">Method</a></li>
  574. </ul>
  575. </div>
  576. <a name="skip.navbar.bottom">
  577. <!-- -->
  578. </a></div>
  579. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  580. </body>
  581. </html>