Package rdkit :: Package ML :: Package NaiveBayes :: Module CrossValidate

[hide private]
[frames] | no frames]

# Module CrossValidate

source code

    handles doing cross validation with naive bayes models
    and evaluation of individual models

Functions | [hide private]

makeNBClassificationModel(trainExamples, attrs, nPossibleValues, nQuantBounds, mEstimateVal=-1.0, useSigs=False, ensemble=None, useCMIM=0, **kwargs) | source code

CrossValidate(NBmodel, testExamples, appendExamples=0) | source code

CrossValidationDriver(examples, attrs, nPossibleValues, nQuantBounds, mEstimateVal=0.0, holdOutFrac=0.3, modelBuilder=makeNBClassificationModel, silent=0, calcTotalError=0, **kwargs) | source code

Variables | [hide private]

| CMIM = `None` hash(x)

Imports: NaiveBayesClassifier, SplitData