Package org.apache.tika.detect
Class NNTrainedModel
- java.lang.Object
- 
- org.apache.tika.detect.TrainedModel
- 
- org.apache.tika.detect.NNTrainedModel
 
 
- 
 public class NNTrainedModel extends TrainedModel 
- 
- 
Constructor SummaryConstructors Constructor Description NNTrainedModel(int nInput, int nHidden, int nOutput, float[] nn_params)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description doublepredict(double[] unseen)floatpredict(float[] unseen)The given input vector of unseen is m=(256 + 1) * n= 1 this returns a prediction probability
 
- 
- 
- 
Method Detail- 
predictpublic double predict(double[] unseen) - Specified by:
- predictin class- TrainedModel
 
 - 
predictpublic float predict(float[] unseen) The given input vector of unseen is m=(256 + 1) * n= 1 this returns a prediction probability- Specified by:
- predictin class- TrainedModel
 
 
- 
 
-