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_HYPHENFields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG, id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetBatch()Gets the ordered list of feature namesgetLoss()longgetSeed()inthashCode()voidsetActivation(ActivationFunction activation) voidsetBatch(int batch) voidsetCategories(String categories) voidsetCategoriesList(List<String> categories) voidsetEvaluation(Evaluation evaluation) voidsetFeatures(String features) voidsetFeaturesList(List<String> features) voidsetLayers(List<NeuralNetworkLayer> layers) voidsetLayersArray(List<NeuralNetworkLayer> layersArray) voidsetLoss(LossFunction loss) voidsetSeed(long seed) voidsetUpdater(Updater updater) voidsetWeightInit(WeightInitScheme weightInit) Methods inherited from class com.logicaldoc.ai.AIModel
getDescription, getLabel, getName, getTraining, newModel, query, setDescription, setLabel, setName, setTraining, toString, typesMethods 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:AIModelGets the ordered list of feature names- Specified by:
getFeaturesListin 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
-
getUpdater
-
setUpdater
-
getParameters
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-