CreateNBModel

Skip to end of metadata
Go to start of metadata
Author Lily Dong
Creation date 06/01/2011
Firing policy all
Package org.seasr.meandre.components.prediction.naivebayes

DESCRIPTION

Overview: Generates a NaiveBayesModel from the given BinTree. The Naive Bayes Model performs all necessary calculations.Detailed Description: Given a BinTree object that contains counts for each discrete item in the training data set, this module creates a Naive Bayesian learning model. This method is based on Bayes's rule for conditional probability. It "naively" assumes independence of the input features.Data Type Restrictions: This model can only use nominal data as the inputs and can only classify one nominal output. The binning procedure will discretize any scalar inputs in the training data, but the output data is not binned and should be nominal. If the output data is binned, visualizations and prediction generated by the created model might be wrong and/or too corrupted to be displayed.Data Handling: The input data is neither modified nor destroyed.Missing Values Handling: Output data should be clean of missing values.Scalability: The module utilizes the counts in the BinTree, and as such does not perform any significant computations.

INPUTS

Name Description Example
binTree
Read org.seasr.meandre.support.components.transform.binning.BinTree which contains counts.
 
exampleTable
Read org.seasr.datatypes.datamining.table.ExampleTable with the data in it.
 

OUTPUTS

Name Description Example
error
This port is used to output any unhandled errors encountered during the execution of this component
 
nbModel
Outuput a Naive Bayes model module. It is type of org.seasr.meandre.support.components.prediction.naivebayes.NaiveBayesModel
 

PROPERTIES

Name Description Default value
_debug_level
Controls the verbosity of debug messages printed by the component during execution.
Possible values are: off, severe, warning, info, config, fine, finer, finest, all
Append ',mirror' to any of the values above to mirror that output to the server logs.
info
_ignore_errors
Set to 'true' to ignore all unhandled exceptions and prevent the flow from being terminated. Setting this property to 'false' will result in the flow being terminated in the event an unhandled exception is thrown during the execution of this component
false
Labels:
prediction prediction Delete
naive naive Delete
bayes bayes Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.