org.encog.ml
Interface MLProperties
-
- All Superinterfaces:
- MLMethod
- All Known Implementing Classes:
- AbstractPNN, ART, ART1, BAM, BasicML, BasicNetwork, BasicPNN, BasicPopulation, BasicUniverse, BayesianNetwork, BoltzmannMachine, CPN, FreeformNetwork, HiddenMarkovModel, HopfieldNetwork, NEATPopulation, PrgPopulation, RBFNetwork, SOM, SVM, ThermalNetwork
public interface MLProperties extends MLMethod
Defines a Machine Learning Method that holds properties.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.util.Map<java.lang.String,java.lang.String>getProperties()doublegetPropertyDouble(java.lang.String name)Get the specified property as a double.longgetPropertyLong(java.lang.String name)Get the specified property as a long.java.lang.StringgetPropertyString(java.lang.String name)Get the specified property as a string.voidsetProperty(java.lang.String name, double d)Set a property as a double.voidsetProperty(java.lang.String name, long l)Set a property as a long.voidsetProperty(java.lang.String name, java.lang.String value)Set a property as a double.voidupdateProperties()Update any objeccts when a property changes.
-
-
-
Method Detail
-
getProperties
java.util.Map<java.lang.String,java.lang.String> getProperties()
- Returns:
- A map of all properties.
-
getPropertyDouble
double getPropertyDouble(java.lang.String name)
Get the specified property as a double.- Parameters:
name- The name of the property.- Returns:
- The property as a double.
-
getPropertyLong
long getPropertyLong(java.lang.String name)
Get the specified property as a long.- Parameters:
name- The name of the specified property.- Returns:
- The value of the specified property.
-
getPropertyString
java.lang.String getPropertyString(java.lang.String name)
Get the specified property as a string.- Parameters:
name- The name of the property.- Returns:
- The value of the property.
-
setProperty
void setProperty(java.lang.String name, double d)Set a property as a double.- Parameters:
name- The name of the property.d- The value of the property.
-
setProperty
void setProperty(java.lang.String name, long l)Set a property as a long.- Parameters:
name- The name of the property.l- The value of the property.
-
setProperty
void setProperty(java.lang.String name, java.lang.String value)Set a property as a double.- Parameters:
name- The name of the property.value- The value of the property.
-
updateProperties
void updateProperties()
Update any objeccts when a property changes.
-
-
DMelt 3.0 © DataMelt by jWork.ORG