| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <link rel="canonical" href="https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html" /> |
| <!-- Generated by javadoc (1.8.0_261) on Wed Dec 09 14:33:11 MSK 2020 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>CompoundNaiveBayesTrainer (Ignite 2.9.1)</title> |
| <meta name="date" content="2020-12-09"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../script.js"></script> |
| <link rel='shortcut icon' href='https://ignite.apache.org/favicon.ico'/> |
| |
| <script> |
| (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
| (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
| m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); |
| |
| ga('create', 'UA-61232409-1', 'auto'); |
| ga('send', 'pageview'); |
| |
| </script></head> |
| |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="CompoundNaiveBayesTrainer (Ignite 2.9.1)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/CompoundNaiveBayesTrainer.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesModel.html" title="class in org.apache.ignite.ml.naivebayes.compound"><span class="typeNameLink">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html" target="_top">Frames</a></li> |
| <li><a href="CompoundNaiveBayesTrainer.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.classes.inherited.from.class.org.apache.ignite.ml.trainers.DatasetTrainer">Nested</a> | </li> |
| <li><a href="#fields.inherited.from.class.org.apache.ignite.ml.trainers.DatasetTrainer">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.ignite.ml.naivebayes.compound</div> |
| <h2 title="Class CompoundNaiveBayesTrainer" class="title">Class CompoundNaiveBayesTrainer</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html" title="class in org.apache.ignite.ml.trainers">org.apache.ignite.ml.trainers.DatasetTrainer</a><span class='angle_bracket'><</span>M,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a><span class='angle_bracket'>></span></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../../org/apache/ignite/ml/trainers/SingleLabelDatasetTrainer.html" title="class in org.apache.ignite.ml.trainers">org.apache.ignite.ml.trainers.SingleLabelDatasetTrainer</a><span class='angle_bracket'><</span><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesModel.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesModel</a><span class='angle_bracket'>></span></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.ignite.ml.naivebayes.compound.CompoundNaiveBayesTrainer</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">CompoundNaiveBayesTrainer</span> |
| extends <a href="../../../../../../org/apache/ignite/ml/trainers/SingleLabelDatasetTrainer.html" title="class in org.apache.ignite.ml.trainers">SingleLabelDatasetTrainer</a><span class='angle_bracket'><</span><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesModel.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesModel</a><span class='angle_bracket'>></span></pre> |
| <div class="block">Trainer for the compound Naive Bayes classifier model. It uses a model composition of <code>GaussianNaiveBayesTrainer</code> and <code>DiscreteNaiveBayesTrainer</code>. To distinguish which features with which trainer |
| should be used, each trainer should have a collection of feature ids which should be skipped. It can be set by <code>#setFeatureIdsToSkip()</code> method.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.ignite.ml.trainers.DatasetTrainer"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from class org.apache.ignite.ml.trainers.<a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html" title="class in org.apache.ignite.ml.trainers">DatasetTrainer</a></h3> |
| <code><a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.EmptyDatasetException.html" title="class in org.apache.ignite.ml.trainers">DatasetTrainer.EmptyDatasetException</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.ignite.ml.trainers.DatasetTrainer"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.apache.ignite.ml.trainers.<a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html" title="class in org.apache.ignite.ml.trainers">DatasetTrainer</a></h3> |
| <code><a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html#envBuilder">envBuilder</a>, <a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html#environment">environment</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html#CompoundNaiveBayesTrainer--">CompoundNaiveBayesTrainer</a></span>()</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesModel.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesModel</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html#fitWithInitializedDeployingContext-org.apache.ignite.ml.dataset.DatasetBuilder-org.apache.ignite.ml.preprocessing.Preprocessor-">fitWithInitializedDeployingContext</a></span>(<a href="../../../../../../org/apache/ignite/ml/dataset/DatasetBuilder.html" title="interface in org.apache.ignite.ml.dataset">DatasetBuilder</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> datasetBuilder, |
| <a href="../../../../../../org/apache/ignite/ml/preprocessing/Preprocessor.html" title="interface in org.apache.ignite.ml.preprocessing">Preprocessor</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> extractor)</code> |
| <div class="block">Trains model based on the specified data.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html#isUpdateable-org.apache.ignite.ml.naivebayes.compound.CompoundNaiveBayesModel-">isUpdateable</a></span>(<a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesModel.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesModel</a> mdl)</code></td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>protected <span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesModel.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesModel</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html#updateModel-org.apache.ignite.ml.naivebayes.compound.CompoundNaiveBayesModel-org.apache.ignite.ml.dataset.DatasetBuilder-org.apache.ignite.ml.preprocessing.Preprocessor-">updateModel</a></span>(<a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesModel.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesModel</a> mdl, |
| <a href="../../../../../../org/apache/ignite/ml/dataset/DatasetBuilder.html" title="interface in org.apache.ignite.ml.dataset">DatasetBuilder</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> datasetBuilder, |
| <a href="../../../../../../org/apache/ignite/ml/preprocessing/Preprocessor.html" title="interface in org.apache.ignite.ml.preprocessing">Preprocessor</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> extractor)</code> |
| <div class="block">Gets state of model in arguments, update in according to new data and return new model.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesTrainer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html#withDiscreteFeatureIdsToSkip-java.util.Collection-">withDiscreteFeatureIdsToSkip</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a><span class='angle_bracket'>></span> discreteFeatureIdsToSkip)</code> |
| <div class="block">Sets feature ids to skip in discrete Bayes.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesTrainer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html#withDiscreteNaiveBayesTrainer-org.apache.ignite.ml.naivebayes.discrete.DiscreteNaiveBayesTrainer-">withDiscreteNaiveBayesTrainer</a></span>(<a href="../../../../../../org/apache/ignite/ml/naivebayes/discrete/DiscreteNaiveBayesTrainer.html" title="class in org.apache.ignite.ml.naivebayes.discrete">DiscreteNaiveBayesTrainer</a> discreteNaiveBayesTrainer)</code> |
| <div class="block">Sets a discrete trainer.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesTrainer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html#withEnvironmentBuilder-org.apache.ignite.ml.environment.LearningEnvironmentBuilder-">withEnvironmentBuilder</a></span>(<a href="../../../../../../org/apache/ignite/ml/environment/LearningEnvironmentBuilder.html" title="interface in org.apache.ignite.ml.environment">LearningEnvironmentBuilder</a> envBuilder)</code> |
| <div class="block">Changes learning Environment.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesTrainer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html#withGaussianFeatureIdsToSkip-java.util.Collection-">withGaussianFeatureIdsToSkip</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a><span class='angle_bracket'>></span> gaussianFeatureIdsToSkip)</code> |
| <div class="block">Sets feature ids to skip in Gaussian Bayes.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesTrainer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html#withGaussianNaiveBayesTrainer-org.apache.ignite.ml.naivebayes.gaussian.GaussianNaiveBayesTrainer-">withGaussianNaiveBayesTrainer</a></span>(<a href="../../../../../../org/apache/ignite/ml/naivebayes/gaussian/GaussianNaiveBayesTrainer.html" title="class in org.apache.ignite.ml.naivebayes.gaussian">GaussianNaiveBayesTrainer</a> gaussianNaiveBayesTrainer)</code> |
| <div class="block">Sets a gaussian trainer.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesTrainer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html#withPriorProbabilities-double:A-">withPriorProbabilities</a></span>(double[] priorProbabilities)</code> |
| <div class="block">Sets prior probabilities.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.ignite.ml.trainers.DatasetTrainer"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.ignite.ml.trainers.<a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html" title="class in org.apache.ignite.ml.trainers">DatasetTrainer</a></h3> |
| <code><a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html#fit-org.apache.ignite.ml.dataset.DatasetBuilder-org.apache.ignite.ml.preprocessing.Preprocessor-">fit</a>, <a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html#fit-org.apache.ignite.ml.dataset.DatasetBuilder-org.apache.ignite.ml.preprocessing.Preprocessor-org.apache.ignite.ml.environment.LearningEnvironment-">fit</a>, <a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html#fit-org.apache.ignite.Ignite-org.apache.ignite.IgniteCache-org.apache.ignite.lang.IgniteBiPredicate-org.apache.ignite.ml.preprocessing.Preprocessor-">fit</a>, <a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html#fit-org.apache.ignite.Ignite-org.apache.ignite.IgniteCache-org.apache.ignite.ml.preprocessing.Preprocessor-">fit</a>, <a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html#fit-java.util.Map-org.apache.ignite.lang.IgniteBiPredicate-int-org.apache.ignite.ml.preprocessing.Preprocessor-">fit</a>, <a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html#fit-java.util.Map-int-org.apache.ignite.ml.preprocessing.Preprocessor-">fit</a>, <a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html#getLastTrainedModelOrThrowEmptyDatasetException-M-">getLastTrainedModelOrThrowEmptyDatasetException</a>, <a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html#identityTrainer--">identityTrainer</a>, <a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html#learningEnvironment--">learningEnvironment</a>, <a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html#update-M-org.apache.ignite.ml.dataset.DatasetBuilder-org.apache.ignite.ml.preprocessing.Preprocessor-">update</a>, <a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html#update-M-org.apache.ignite.Ignite-org.apache.ignite.IgniteCache-org.apache.ignite.lang.IgniteBiPredicate-org.apache.ignite.ml.preprocessing.Preprocessor-">update</a>, <a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html#update-M-org.apache.ignite.Ignite-org.apache.ignite.IgniteCache-org.apache.ignite.ml.preprocessing.Preprocessor-">update</a>, <a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html#update-M-java.util.Map-org.apache.ignite.lang.IgniteBiPredicate-int-org.apache.ignite.ml.preprocessing.Preprocessor-">update</a>, <a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html#update-M-java.util.Map-int-org.apache.ignite.ml.preprocessing.Preprocessor-">update</a>, <a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html#withConvertedLabels-org.apache.ignite.ml.math.functions.IgniteFunction-">withConvertedLabels</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="CompoundNaiveBayesTrainer--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>CompoundNaiveBayesTrainer</h4> |
| <pre>public CompoundNaiveBayesTrainer()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="fitWithInitializedDeployingContext-org.apache.ignite.ml.dataset.DatasetBuilder-org.apache.ignite.ml.preprocessing.Preprocessor-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fitWithInitializedDeployingContext</h4> |
| <pre>public <span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesModel.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesModel</a> fitWithInitializedDeployingContext(<a href="../../../../../../org/apache/ignite/ml/dataset/DatasetBuilder.html" title="interface in org.apache.ignite.ml.dataset">DatasetBuilder</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> datasetBuilder, |
| <a href="../../../../../../org/apache/ignite/ml/preprocessing/Preprocessor.html" title="interface in org.apache.ignite.ml.preprocessing">Preprocessor</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> extractor)</pre> |
| <div class="block">Trains model based on the specified data.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html#fitWithInitializedDeployingContext-org.apache.ignite.ml.dataset.DatasetBuilder-org.apache.ignite.ml.preprocessing.Preprocessor-">fitWithInitializedDeployingContext</a></code> in class <code><a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html" title="class in org.apache.ignite.ml.trainers">DatasetTrainer</a><span class='angle_bracket'><</span><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesModel.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesModel</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a><span class='angle_bracket'>></span></code></dd> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>K</code> - Type of a key in <code>upstream</code> data.</dd> |
| <dd><code>V</code> - Type of a value in <code>upstream</code> data.</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>datasetBuilder</code> - Dataset builder.</dd> |
| <dd><code>extractor</code> - Extractor of <a href="../../../../../../org/apache/ignite/ml/dataset/UpstreamEntry.html" title="class in org.apache.ignite.ml.dataset"><code>UpstreamEntry</code></a> into <a href="../../../../../../org/apache/ignite/ml/structures/LabeledVector.html" title="class in org.apache.ignite.ml.structures"><code>LabeledVector</code></a>.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Model.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isUpdateable-org.apache.ignite.ml.naivebayes.compound.CompoundNaiveBayesModel-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isUpdateable</h4> |
| <pre>public boolean isUpdateable(<a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesModel.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesModel</a> mdl)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html#isUpdateable-M-">isUpdateable</a></code> in class <code><a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html" title="class in org.apache.ignite.ml.trainers">DatasetTrainer</a><span class='angle_bracket'><</span><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesModel.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesModel</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a><span class='angle_bracket'>></span></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>mdl</code> - Model.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>True if current critical for training parameters correspond to parameters from last training.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="withEnvironmentBuilder-org.apache.ignite.ml.environment.LearningEnvironmentBuilder-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withEnvironmentBuilder</h4> |
| <pre>public <a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesTrainer</a> withEnvironmentBuilder(<a href="../../../../../../org/apache/ignite/ml/environment/LearningEnvironmentBuilder.html" title="interface in org.apache.ignite.ml.environment">LearningEnvironmentBuilder</a> envBuilder)</pre> |
| <div class="block">Changes learning Environment.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html#withEnvironmentBuilder-org.apache.ignite.ml.environment.LearningEnvironmentBuilder-">withEnvironmentBuilder</a></code> in class <code><a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html" title="class in org.apache.ignite.ml.trainers">DatasetTrainer</a><span class='angle_bracket'><</span><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesModel.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesModel</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a><span class='angle_bracket'>></span></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>envBuilder</code> - Learning environment builder.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="updateModel-org.apache.ignite.ml.naivebayes.compound.CompoundNaiveBayesModel-org.apache.ignite.ml.dataset.DatasetBuilder-org.apache.ignite.ml.preprocessing.Preprocessor-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updateModel</h4> |
| <pre>protected <span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> <a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesModel.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesModel</a> updateModel(<a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesModel.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesModel</a> mdl, |
| <a href="../../../../../../org/apache/ignite/ml/dataset/DatasetBuilder.html" title="interface in org.apache.ignite.ml.dataset">DatasetBuilder</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> datasetBuilder, |
| <a href="../../../../../../org/apache/ignite/ml/preprocessing/Preprocessor.html" title="interface in org.apache.ignite.ml.preprocessing">Preprocessor</a><span class='angle_bracket'><</span>K,V<span class='angle_bracket'>></span> extractor)</pre> |
| <div class="block">Gets state of model in arguments, update in according to new data and return new model.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html#updateModel-M-org.apache.ignite.ml.dataset.DatasetBuilder-org.apache.ignite.ml.preprocessing.Preprocessor-">updateModel</a></code> in class <code><a href="../../../../../../org/apache/ignite/ml/trainers/DatasetTrainer.html" title="class in org.apache.ignite.ml.trainers">DatasetTrainer</a><span class='angle_bracket'><</span><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesModel.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesModel</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a><span class='angle_bracket'>></span></code></dd> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>K</code> - Type of a key in <code>upstream</code> data.</dd> |
| <dd><code>V</code> - Type of a value in <code>upstream</code> data.</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>mdl</code> - Learned model.</dd> |
| <dd><code>datasetBuilder</code> - Dataset builder.</dd> |
| <dd><code>extractor</code> - Extractor of <a href="../../../../../../org/apache/ignite/ml/dataset/UpstreamEntry.html" title="class in org.apache.ignite.ml.dataset"><code>UpstreamEntry</code></a> into <a href="../../../../../../org/apache/ignite/ml/structures/LabeledVector.html" title="class in org.apache.ignite.ml.structures"><code>LabeledVector</code></a>.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Updated model.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="withPriorProbabilities-double:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withPriorProbabilities</h4> |
| <pre>public <a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesTrainer</a> withPriorProbabilities(double[] priorProbabilities)</pre> |
| <div class="block">Sets prior probabilities.</div> |
| </li> |
| </ul> |
| <a name="withGaussianNaiveBayesTrainer-org.apache.ignite.ml.naivebayes.gaussian.GaussianNaiveBayesTrainer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withGaussianNaiveBayesTrainer</h4> |
| <pre>public <a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesTrainer</a> withGaussianNaiveBayesTrainer(<a href="../../../../../../org/apache/ignite/ml/naivebayes/gaussian/GaussianNaiveBayesTrainer.html" title="class in org.apache.ignite.ml.naivebayes.gaussian">GaussianNaiveBayesTrainer</a> gaussianNaiveBayesTrainer)</pre> |
| <div class="block">Sets a gaussian trainer.</div> |
| </li> |
| </ul> |
| <a name="withDiscreteNaiveBayesTrainer-org.apache.ignite.ml.naivebayes.discrete.DiscreteNaiveBayesTrainer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withDiscreteNaiveBayesTrainer</h4> |
| <pre>public <a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesTrainer</a> withDiscreteNaiveBayesTrainer(<a href="../../../../../../org/apache/ignite/ml/naivebayes/discrete/DiscreteNaiveBayesTrainer.html" title="class in org.apache.ignite.ml.naivebayes.discrete">DiscreteNaiveBayesTrainer</a> discreteNaiveBayesTrainer)</pre> |
| <div class="block">Sets a discrete trainer.</div> |
| </li> |
| </ul> |
| <a name="withGaussianFeatureIdsToSkip-java.util.Collection-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withGaussianFeatureIdsToSkip</h4> |
| <pre>public <a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesTrainer</a> withGaussianFeatureIdsToSkip(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a><span class='angle_bracket'>></span> gaussianFeatureIdsToSkip)</pre> |
| <div class="block">Sets feature ids to skip in Gaussian Bayes.</div> |
| </li> |
| </ul> |
| <a name="withDiscreteFeatureIdsToSkip-java.util.Collection-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>withDiscreteFeatureIdsToSkip</h4> |
| <pre>public <a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html" title="class in org.apache.ignite.ml.naivebayes.compound">CompoundNaiveBayesTrainer</a> withDiscreteFeatureIdsToSkip(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><span class='angle_bracket'><</span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a><span class='angle_bracket'>></span> discreteFeatureIdsToSkip)</pre> |
| <div class="block">Sets feature ids to skip in discrete Bayes.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/CompoundNaiveBayesTrainer.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../../org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesModel.html" title="class in org.apache.ignite.ml.naivebayes.compound"><span class="typeNameLink">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/ignite/ml/naivebayes/compound/CompoundNaiveBayesTrainer.html" target="_top">Frames</a></li> |
| <li><a href="CompoundNaiveBayesTrainer.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.classes.inherited.from.class.org.apache.ignite.ml.trainers.DatasetTrainer">Nested</a> | </li> |
| <li><a href="#fields.inherited.from.class.org.apache.ignite.ml.trainers.DatasetTrainer">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small><table width="100%" border="0" cellspacing=0 cellpadding=0 style="padding: 5px"> <tr> <td> <table style="padding-left: 0; margin: 0"> <tbody style="padding: 0; margin: 0"> <tr style="padding: 0; margin: 0"> <td> <a target=_blank href="https://ignite.apache.org"><nobr>2020 Copyright © Apache Software Foundation</nobr></a> </td> </tr> </tbody> </table> </td> <td width="100%" align="right" valign="center"> <a href="https://twitter.com/ApacheIgnite" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @ApacheIgnite</a> </td> </tr> <tr> <td colspan="2" valign="top" align="left"> <table style="padding-left: 0; margin: 0"> <tbody style="padding: 0; margin: 0"> <tr style="padding: 0; margin: 0"> <td> <b>Ignite Database and Caching Platform</b> </td> <td>: ver. <strong>2.9.1</strong> </td> </tr> <tr style="padding: 0; margin: 0"> <td> <b>Release Date</b> </td> <td>: December 9 2020 </td> </tr> </tbody> </table> </td> </tr> </table></small></p> |
| </body> |
| </html> |