Trains model of the logistic regression algorithms in the batch processing mode.
More...
template<typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
class daal::algorithms::logistic_regression::training::interface2::Batch< algorithmFPType, method >
- Template Parameters
-
- Enumerations
-
- References
-
Batch |
( |
size_t |
nClasses, |
|
|
const SolverPtr & |
solver = SolverPtr() |
|
) |
| |
Constructs the logistic regression training algorithm
- Parameters
-
[in] | nClasses | Number of classes |
[in] | solver | Optimization solver |
Batch |
( |
const Batch< algorithmFPType, method > & |
other | ) |
|
Constructs a logistic regression training algorithm by copying input objects and parameters of another logistic regression training algorithm
- Parameters
-
[in] | other | An algorithm to be used as the source to initialize the input objects and parameters of the algorithm |
Destructor
Reimplemented from Batch.
services::SharedPtr<Batch<algorithmFPType, method> > clone |
( |
| ) |
const |
|
inline |
Returns a pointer to the newly allocated logistic regression training algorithm with a copy of input objects and parameters of this logistic regression training algorithm
- Returns
- Pointer to the newly allocated algorithm
Get input objects for the logistic regression training algorithm
- Returns
- Input objects for the logistic regression training algorithm
Implements Batch.
virtual int getMethod |
( |
| ) |
const |
|
inlinevirtual |
Returns the method of the algorithm
- Returns
- Method of the algorithm
Returns the structure that contains results of logistic regression training
- Returns
- Structure that contains results of logistic regression training
Gets parameter of the algorithm
- Returns
- parameter of the algorithm
Gets parameter of the algorithm
- Returns
- parameter of the algorithm
services::Status resetResult |
( |
| ) |
|
|
inlinevirtual |
Resets the training results of the algorithm
Implements Batch.
The documentation for this class was generated from the following file: