org.encog.plugin.system
Class SystemMethodsPlugin
- java.lang.Object
-
- org.encog.plugin.system.SystemMethodsPlugin
-
- All Implemented Interfaces:
- EncogPluginBase, EncogPluginService1
public class SystemMethodsPlugin extends java.lang.Object implements EncogPluginService1
The system machine learning methods plugin. This provides all of the built in machine learning methods for Encog.
-
-
Field Summary
-
Fields inherited from interface org.encog.plugin.EncogPluginBase
TYPE_LOGGING, TYPE_SERVICE
-
-
Constructor Summary
Constructors Constructor and Description SystemMethodsPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ActivationFunctioncreateActivationFunction(java.lang.String name)Create an activation function.MLMethodcreateMethod(java.lang.String methodType, java.lang.String architecture, int input, int output)Create a new machine learning method.MLTraincreateTraining(MLMethod method, MLDataSet training, java.lang.String type, java.lang.String args)Create a trainer.java.lang.StringgetPluginDescription()java.lang.StringgetPluginName()intgetPluginServiceType()intgetPluginType()
-
-
-
Method Detail
-
getPluginDescription
public final java.lang.String getPluginDescription()
- Specified by:
getPluginDescriptionin interfaceEncogPluginBase- Returns:
- The plugin description.
-
getPluginName
public final java.lang.String getPluginName()
- Specified by:
getPluginNamein interfaceEncogPluginBase- Returns:
- The name of the plugin.
-
getPluginType
public final int getPluginType()
- Specified by:
getPluginTypein interfaceEncogPluginBase- Returns:
- This is a type-1 plugin.
-
createActivationFunction
public ActivationFunction createActivationFunction(java.lang.String name)
Create an activation function.- Specified by:
createActivationFunctionin interfaceEncogPluginService1- Parameters:
name- The name of the activation function.- Returns:
- The newly created activation function.
-
createMethod
public MLMethod createMethod(java.lang.String methodType, java.lang.String architecture, int input, int output)
Create a new machine learning method.- Specified by:
createMethodin interfaceEncogPluginService1- Parameters:
methodType- The method to create.architecture- The architecture string.input- The input count.output- The output count.- Returns:
- The newly created machine learning method.
-
createTraining
public MLTrain createTraining(MLMethod method, MLDataSet training, java.lang.String type, java.lang.String args)
Create a trainer.- Specified by:
createTrainingin interfaceEncogPluginService1- Parameters:
method- The method to train.training- The training data.type- Type type of trainer.args- The training args.- Returns:
- The new training method.
-
getPluginServiceType
public int getPluginServiceType()
- Specified by:
getPluginServiceTypein interfaceEncogPluginBase- Returns:
- The service type provided by this plugin.
-
-
DMelt 3.0 © DataMelt by jWork.ORG