public class PRDFRegression extends StructureKRRBasedRegression
Usage: <lambda> <sigma> <cutoff> <bins>
AttributeSelector, trained, TrainingStats, validated, ValidationStats
Constructor and Description |
---|
PRDFRegression() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
computeRepresentation(vassal.data.Cell strc)
Compute the pair distribution function
|
protected double |
computeSimiliarity(java.lang.Object strc1,
java.lang.Object strc2)
Compute similarity between two crystal structures.
|
java.util.List<org.apache.commons.lang3.tuple.Pair<java.lang.String,Citation>> |
getCitations()
Return a list of citations for this object and any underlying objects.
|
java.lang.String |
printUsage()
Print out required format for options.
|
void |
setCutoff(double cutoff)
Set the cutoff distance used when computing the PRDF
|
void |
setNBins(int nBins)
Set the number of bins used when computing the PRDF.
|
void |
setOptions(java.util.List<java.lang.Object> Options)
Set any options for this object.
|
void |
setSigma(double sigma)
Set the normalization parameter in the kernel function.
|
clone, findClosestEntries, getNFittingParameters, printModel_protected, run_protected, runCommand, setLambda, train_protected
doRobustRegression, getRobustRegressionQ, robustTraining, setRobustRegressionQ
about, crossValidate, crossValidate, crossValidate, done, externallyValidate, getAttributeSelector, getFilter, getTrainTime, getValidationMethod, handleSetCommand, isTrained, isValidated, loadState, printCommand, printDescription, printModel, printModelDescriptionDetails, resetModel, run, saveCommand, saveState, setAttributeSelector, setComponent, setFilter, train, train
public void setSigma(double sigma)
sigma
- Desired normalization parameter.public void setNBins(int nBins)
nBins
- Number of bins (>1)public void setCutoff(double cutoff)
cutoff
- Cutoff distance (>0 Angstrom)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 double computeSimiliarity(java.lang.Object strc1, java.lang.Object strc2)
StructureKRRBasedRegression
computeSimiliarity
in class StructureKRRBasedRegression
strc1
- Representation of structure #1strc2
- Representation of structure #2public java.lang.Object computeRepresentation(vassal.data.Cell strc)
computeRepresentation
in class StructureKRRBasedRegression
strc
- Structure to be evaluatedpublic java.util.List<org.apache.commons.lang3.tuple.Pair<java.lang.String,Citation>> getCitations()
Citable
getCitations
in interface Citable
getCitations
in class BaseModel