Class LinearRegression


  • public class LinearRegression
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      double[] parameters  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double[] getParameters()  
      double predict​(Instance instance)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • parameters

        public double[] parameters
    • Constructor Detail

      • LinearRegression

        public LinearRegression​(Alphabet alphabet)
    • Method Detail

      • getParameters

        public double[] getParameters()
      • predict

        public double predict​(Instance instance)