HOG2
Public Member Functions | Public Attributes | List of all members
updateData Class Reference

#include <LinearRegression.h>

Public Member Functions

 updateData ()
 
void reset ()
 

Public Attributes

double mean
 
double S
 
double totErr
 
int n
 

Detailed Description

Definition at line 17 of file LinearRegression.h.

Constructor & Destructor Documentation

◆ updateData()

updateData::updateData ( )
inline

Definition at line 19 of file LinearRegression.h.

Member Function Documentation

◆ reset()

void updateData::reset ( )
inline

Definition at line 20 of file LinearRegression.h.

References mean, n, S, and totErr.

Member Data Documentation

◆ mean

double updateData::mean

Definition at line 21 of file LinearRegression.h.

Referenced by reset(), LogisticRegression::train(), and LinearRegression::train().

◆ n

int updateData::n

◆ S

double updateData::S

◆ totErr

double updateData::totErr

The documentation for this class was generated from the following file: