Documentation ¶
Index ¶
- type DataPoint
- type Describe
- type Regression
- func (r *Regression) AddDataPoint(d DataPoint)
- func (r *Regression) Dump(data bool) error
- func (r *Regression) GetObservedName() string
- func (r *Regression) GetRegCoeff(i int) float64
- func (r *Regression) GetVarName(i int) string
- func (r *Regression) RunLinearRegression() error
- func (r *Regression) SetObservedName(name string)
- func (r *Regression) SetVarName(i int, name string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Regression ¶
type Regression struct { Names Describe Data []DataPoint RegCoeff map[int]float64 Rsquared float64 VarianceObserved float64 VariancePredicted float64 Debug bool Initialised bool Formula string }
func (*Regression) AddDataPoint ¶
func (r *Regression) AddDataPoint(d DataPoint)
func (*Regression) Dump ¶
func (r *Regression) Dump(data bool) error
func (*Regression) GetObservedName ¶
func (r *Regression) GetObservedName() string
func (*Regression) GetRegCoeff ¶
func (r *Regression) GetRegCoeff(i int) float64
func (*Regression) GetVarName ¶
func (r *Regression) GetVarName(i int) string
func (*Regression) RunLinearRegression ¶
func (r *Regression) RunLinearRegression() error
func (*Regression) SetObservedName ¶
func (r *Regression) SetObservedName(name string)
func (*Regression) SetVarName ¶
func (r *Regression) SetVarName(i int, name string)
Click to show internal directories.
Click to hide internal directories.