Package com.logicaldoc.ai.neural
Class NeuralNetwork
java.lang.Object
com.logicaldoc.core.PersistentObject
- All Implemented Interfaces:
Serializable
An AI model based on a Neural Network.
- Since:
- 9.2
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
-
Field Summary
Fields inherited from class com.logicaldoc.ai.AIModel
AIQUERY, AIQUERY_HYPHEN
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG, id
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
getBatch()
Gets the ordered list of feature namesgetLoss()
long
getSeed()
int
hashCode()
void
setActivation
(ActivationFunction activation) void
setBatch
(int batch) void
setCategories
(String categories) void
setCategoriesList
(List<String> categories) void
setEvaluation
(Evaluation evaluation) void
setFeatures
(String features) void
setFeaturesList
(List<String> features) void
setLayers
(List<NeuralNetworkLayer> layers) void
setLayersArray
(List<NeuralNetworkLayer> layersArray) void
setLoss
(LossFunction loss) void
setSeed
(long seed) void
setWeightInit
(WeightInitScheme weightInit) Methods inherited from class com.logicaldoc.ai.AIModel
getDescription, getLabel, getName, getTraining, newModel, query, setDescription, setLabel, setName, setTraining, toString, types
Methods inherited from class com.logicaldoc.core.PersistentObject
getCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, setCreation, setDeleted, setId, setLastModified, setRecordVersion, setTenantId
-
Constructor Details
-
NeuralNetwork
public NeuralNetwork() -
NeuralNetwork
-
NeuralNetwork
-
-
Method Details
-
getFeatures
-
getFeaturesList
Description copied from class:AIModel
Gets the ordered list of feature names- Specified by:
getFeaturesList
in classAIModel<Float,
String> - Returns:
- list of feature names
-
setFeatures
-
setFeaturesList
-
getCategories
-
getCategoriesList
-
setCategories
-
setCategoriesList
-
getLayers
-
setLayers
-
getBatch
public int getBatch() -
setBatch
public void setBatch(int batch) -
getSeed
public long getSeed() -
setSeed
public void setSeed(long seed) -
getActivation
-
setActivation
-
getWeightInit
-
setWeightInit
-
getLoss
-
setLoss
-
getEvaluation
-
setEvaluation
-
getLayersArray
-
setLayersArray
-
hashCode
public int hashCode() -
equals
-