Provides methods to access a partial result obtained with the compute() method of linear regression model-based training in the online or distributed processing mode.
More...
def allocate_{Float64|Float32} |
( |
|
self, |
|
|
|
input, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Allocates memory to store a partial result of linear regression model-based training
- Parameters
-
input | Input object for the algorithm |
method | Method of linear regression model-based training |
parameter | Parameter of linear regression model-based training |
- Returns
- Status of computations
- Full Names
allocate_Float64
is for float64
allocate_Float32
is for float32
- Variant 1
Checks a partial result of the linear regression algorithm
- Parameters
-
input | Input object for the algorithm |
par | Parameter of the algorithm |
method | Computation method |
- Returns
- Status of computations
- Variant 2
Checks a partial result of the linear regression algorithm
- Parameters
-
par | Parameter of the algorithm |
method | Computation method |
- Returns
- Status of computations
Returns a partial result of linear regression model-based training
- Parameters
-
id | Identifier of the partial result |
- Returns
- Partial result that corresponds to the given identifier
def getNumberOfDependentVariables |
( |
|
self | ) |
|
Returns the number of dependent variables
- Returns
- Number of dependent variables
def getNumberOfFeatures |
( |
|
self | ) |
|
Returns the number of columns in the input data set
- Returns
- Number of columns in the input data set
def getSerializationTag |
( |
|
self | ) |
|
getSerializationTag(PartialResult self) -> int
def initialize_{Float64|Float32} |
( |
|
self, |
|
|
|
input, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Initializes memory to store a partial result of linear regression model-based training
- Parameters
-
input | Input object for the algorithm |
method | Method of linear regression model-based training |
parameter | Parameter of linear regression model-based training |
- Returns
- Status of initialization
- Full Names
initialize_Float64
is for float64
initialize_Float32
is for float32
def set |
( |
|
self, |
|
|
|
id, |
|
|
|
value |
|
) |
| |
Sets an argument of the partial result
- Parameters
-
id | Identifier of the argument |
value | Pointer to the argument |
The documentation for this class was generated from the following file:
- linear_regression/training.py