NormalBayesClassifier.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  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>NormalBayesClassifier</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="NormalBayesClassifier";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":9,"i1":10,"i2":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/Ml.html" title="class in org.opencv.ml"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  52. <li><a href="../../../org/opencv/ml/RTrees.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/NormalBayesClassifier.html" target="_top">Frames</a></li>
  56. <li><a href="NormalBayesClassifier.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.StatModel">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 NormalBayesClassifier" class="title">Class NormalBayesClassifier</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.NormalBayesClassifier</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">NormalBayesClassifier</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. <ul class="blockList">
  136. <li class="blockList"><a name="fields.inherited.from.class.org.opencv.ml.StatModel">
  137. <!-- -->
  138. </a>
  139. <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>
  140. <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>
  141. </ul>
  142. </li>
  143. </ul>
  144. <!-- ========== METHOD SUMMARY =========== -->
  145. <ul class="blockList">
  146. <li class="blockList"><a name="method.summary">
  147. <!-- -->
  148. </a>
  149. <h3>Method Summary</h3>
  150. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  151. <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>
  152. <tr>
  153. <th class="colFirst" scope="col">Modifier and Type</th>
  154. <th class="colLast" scope="col">Method and Description</th>
  155. </tr>
  156. <tr id="i0" class="altColor">
  157. <td class="colFirst"><code>static <a href="../../../org/opencv/ml/NormalBayesClassifier.html" title="class in org.opencv.ml">NormalBayesClassifier</a></code></td>
  158. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/NormalBayesClassifier.html#create--">create</a></span>()</code>&nbsp;</td>
  159. </tr>
  160. <tr id="i1" class="rowColor">
  161. <td class="colFirst"><code>float</code></td>
  162. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/NormalBayesClassifier.html#predictProb-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-">predictProb</a></span>(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;inputs,
  163. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;outputs,
  164. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;outputProbs)</code>&nbsp;</td>
  165. </tr>
  166. <tr id="i2" class="altColor">
  167. <td class="colFirst"><code>float</code></td>
  168. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/ml/NormalBayesClassifier.html#predictProb-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-int-">predictProb</a></span>(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;inputs,
  169. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;outputs,
  170. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;outputProbs,
  171. int&nbsp;flags)</code>&nbsp;</td>
  172. </tr>
  173. </table>
  174. <ul class="blockList">
  175. <li class="blockList"><a name="methods.inherited.from.class.org.opencv.ml.StatModel">
  176. <!-- -->
  177. </a>
  178. <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>
  179. <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>
  180. </ul>
  181. <ul class="blockList">
  182. <li class="blockList"><a name="methods.inherited.from.class.org.opencv.core.Algorithm">
  183. <!-- -->
  184. </a>
  185. <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>
  186. <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>
  187. </ul>
  188. <ul class="blockList">
  189. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  190. <!-- -->
  191. </a>
  192. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  193. <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  194. </ul>
  195. </li>
  196. </ul>
  197. </li>
  198. </ul>
  199. </div>
  200. <div class="details">
  201. <ul class="blockList">
  202. <li class="blockList">
  203. <!-- ============ METHOD DETAIL ========== -->
  204. <ul class="blockList">
  205. <li class="blockList"><a name="method.detail">
  206. <!-- -->
  207. </a>
  208. <h3>Method Detail</h3>
  209. <a name="create--">
  210. <!-- -->
  211. </a>
  212. <ul class="blockList">
  213. <li class="blockList">
  214. <h4>create</h4>
  215. <pre>public static&nbsp;<a href="../../../org/opencv/ml/NormalBayesClassifier.html" title="class in org.opencv.ml">NormalBayesClassifier</a>&nbsp;create()</pre>
  216. </li>
  217. </ul>
  218. <a name="predictProb-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-">
  219. <!-- -->
  220. </a>
  221. <ul class="blockList">
  222. <li class="blockList">
  223. <h4>predictProb</h4>
  224. <pre>public&nbsp;float&nbsp;predictProb(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;inputs,
  225. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;outputs,
  226. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;outputProbs)</pre>
  227. </li>
  228. </ul>
  229. <a name="predictProb-org.opencv.core.Mat-org.opencv.core.Mat-org.opencv.core.Mat-int-">
  230. <!-- -->
  231. </a>
  232. <ul class="blockListLast">
  233. <li class="blockList">
  234. <h4>predictProb</h4>
  235. <pre>public&nbsp;float&nbsp;predictProb(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;inputs,
  236. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;outputs,
  237. <a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;outputProbs,
  238. int&nbsp;flags)</pre>
  239. </li>
  240. </ul>
  241. </li>
  242. </ul>
  243. </li>
  244. </ul>
  245. </div>
  246. </div>
  247. <!-- ========= END OF CLASS DATA ========= -->
  248. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  249. <div class="bottomNav"><a name="navbar.bottom">
  250. <!-- -->
  251. </a>
  252. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  253. <a name="navbar.bottom.firstrow">
  254. <!-- -->
  255. </a>
  256. <ul class="navList" title="Navigation">
  257. <li><a href="../../../overview-summary.html">Overview</a></li>
  258. <li><a href="package-summary.html">Package</a></li>
  259. <li class="navBarCell1Rev">Class</li>
  260. <li><a href="package-tree.html">Tree</a></li>
  261. <li><a href="../../../index-all.html">Index</a></li>
  262. <li><a href="../../../help-doc.html">Help</a></li>
  263. </ul>
  264. <div class="aboutLanguage"><a href="http://docs.opencv.org">OpenCV 3.1.0 Documentation</a></div>
  265. </div>
  266. <div class="subNav">
  267. <ul class="navList">
  268. <li><a href="../../../org/opencv/ml/Ml.html" title="class in org.opencv.ml"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  269. <li><a href="../../../org/opencv/ml/RTrees.html" title="class in org.opencv.ml"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  270. </ul>
  271. <ul class="navList">
  272. <li><a href="../../../index.html?org/opencv/ml/NormalBayesClassifier.html" target="_top">Frames</a></li>
  273. <li><a href="NormalBayesClassifier.html" target="_top">No&nbsp;Frames</a></li>
  274. </ul>
  275. <ul class="navList" id="allclasses_navbar_bottom">
  276. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  277. </ul>
  278. <div>
  279. <script type="text/javascript"><!--
  280. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  281. if(window==top) {
  282. allClassesLink.style.display = "block";
  283. }
  284. else {
  285. allClassesLink.style.display = "none";
  286. }
  287. //-->
  288. </script>
  289. </div>
  290. <div>
  291. <ul class="subNavList">
  292. <li>Summary:&nbsp;</li>
  293. <li>Nested&nbsp;|&nbsp;</li>
  294. <li><a href="#fields.inherited.from.class.org.opencv.ml.StatModel">Field</a>&nbsp;|&nbsp;</li>
  295. <li>Constr&nbsp;|&nbsp;</li>
  296. <li><a href="#method.summary">Method</a></li>
  297. </ul>
  298. <ul class="subNavList">
  299. <li>Detail:&nbsp;</li>
  300. <li>Field&nbsp;|&nbsp;</li>
  301. <li>Constr&nbsp;|&nbsp;</li>
  302. <li><a href="#method.detail">Method</a></li>
  303. </ul>
  304. </div>
  305. <a name="skip.navbar.bottom">
  306. <!-- -->
  307. </a></div>
  308. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  309. </body>
  310. </html>