Class NNTrainedModel

    • Constructor Summary

      Constructors 
      Constructor Description
      NNTrainedModel​(int nInput, int nHidden, int nOutput, float[] nn_params)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double predict​(double[] unseen)  
      float predict​(float[] unseen)
      The given input vector of unseen is m=(256 + 1) * n= 1 this returns a prediction probability
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NNTrainedModel

        public NNTrainedModel​(int nInput,
                              int nHidden,
                              int nOutput,
                              float[] nn_params)
    • Method Detail

      • predict

        public double predict​(double[] unseen)
        Specified by:
        predict in class TrainedModel
      • predict

        public float predict​(float[] unseen)
        The given input vector of unseen is m=(256 + 1) * n= 1 this returns a prediction probability
        Specified by:
        predict in class TrainedModel