public class DMSPEngine extends CSPEngine
Method: Uses strategy described in PhaseDiagramStatistics to calculate probabilities of each prototype appearing at a certain composition. Using the notation from the that documentation, the goal is to calculate:
DiagramStatistics, KnownCompounds, LastCompositionBin, LastNComponents, PerformanceStats
Constructor and Description |
---|
DMSPEngine() |
Modifier and Type | Method and Description |
---|---|
protected BaseClassifier |
makeClassifier(PhaseDiagramStatistics statistics,
PrototypeDataset trainData)
Given the dataset of training examples, make a classifier to predict the probability that a prototype
will form at a certain composition.
|
java.lang.String |
printUsage()
Print out required format for options.
|
void |
setOptions(java.util.List<java.lang.Object> Options)
Set any options for this object.
|
about, crossvalidate, fillPrototypeEntry, getComponent, getPossibleStructures, getPossibleStructures, getProbabilities, getTrainingSet, importKnownCompounds, makeSiteInfo, predictStructure, predictStructure, printCommand, printDescription, removeKnownCompoundsContainingElements, runCommand, setKnownCompounds
public void setOptions(java.util.List<java.lang.Object> Options) throws java.lang.Exception
Options
Options
- Array of options as Objects - can be null
java.lang.Exception
- if problem with inputspublic java.lang.String printUsage()
Options
protected BaseClassifier makeClassifier(PhaseDiagramStatistics statistics, PrototypeDataset trainData)
CSPEngine
makeClassifier
in class CSPEngine
statistics
- Statistics about all known phase diagrams (could be used predictively)trainData
- Training data, where each entry maps