Class LCNetExtrapolationMethod
- java.lang.Object
-
- ai.libs.jaicore.ml.functionprediction.learner.learningcurveextrapolation.lcnet.LCNetExtrapolationMethod
-
- All Implemented Interfaces:
LearningCurveExtrapolationMethod
public class LCNetExtrapolationMethod extends java.lang.Object implements LearningCurveExtrapolationMethod
This class represents a learning curve extrapolation using the LCNet from pybnn. It communicates with pybnn via the LCNetClient. If you use if do not forget to call setConfigurations before you call extrapolateLearningCurveFromAnchorPoints, because the LCNet requires the configurations of you classifier
-
-
Constructor Summary
Constructors Constructor Description LCNetExtrapolationMethod(java.lang.String identifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteNet()org.api4.java.ai.ml.core.evaluation.learningcurve.ILearningCurveextrapolateLearningCurveFromAnchorPoints(int[] xValues, double[] yValues, int dataSetSize)voidsetConfigurations(double[] configurations)voidtrainNet(int[] xValues, double[] yValues, int dataSetSize, double[][] configurations)
-
-
-
Method Detail
-
setConfigurations
public void setConfigurations(double[] configurations)
-
extrapolateLearningCurveFromAnchorPoints
public org.api4.java.ai.ml.core.evaluation.learningcurve.ILearningCurve extrapolateLearningCurveFromAnchorPoints(int[] xValues, double[] yValues, int dataSetSize) throws InvalidAnchorPointsException- Specified by:
extrapolateLearningCurveFromAnchorPointsin interfaceLearningCurveExtrapolationMethod- Throws:
InvalidAnchorPointsException
-
deleteNet
public void deleteNet() throws java.io.IOException- Throws:
java.io.IOException
-
trainNet
public void trainNet(int[] xValues, double[] yValues, int dataSetSize, double[][] configurations) throws org.api4.java.ai.ml.core.exception.TrainingException- Throws:
org.api4.java.ai.ml.core.exception.TrainingException
-
-