Class LinearRegression


  • public class LinearRegression
    extends java.lang.Object
    Since:
    0.1
    Author:
    Arthur Zimek
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private double m  
      private double t  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getM()  
      double getT()  
      • Methods inherited from class java.lang.Object

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

      • t

        private double t
      • m

        private double m
    • Constructor Detail

      • LinearRegression

        public LinearRegression​(java.util.List<DoubleDoublePair> points)
        Parameters:
        points - Points to process
    • Method Detail

      • getM

        public double getM()
        Returns:
        m
      • getT

        public double getT()
        Returns:
        t