C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

linear_model_training_batch.h
1 /* file: linear_model_training_batch.h */
2 /*******************************************************************************
3 * Copyright 2014-2020 Intel Corporation
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *******************************************************************************/
17 
18 /*
19 //++
20 // Implementation of the interface for the regression model-based training
21 // in the batch processing mode
22 //--
23 */
24 
25 #ifndef __LINEAR_MODEL_TRAINING_BATCH_H__
26 #define __LINEAR_MODEL_TRAINING_BATCH_H__
27 
28 #include "algorithms/linear_model/linear_model_training_types.h"
29 #include "algorithms/regression/regression_training_batch.h"
30 
31 namespace daal
32 {
33 namespace algorithms
34 {
35 namespace linear_model
36 {
37 namespace training
38 {
39 namespace interface1
40 {
54 class DAAL_EXPORT Batch : public regression::training::Batch
55 {
56 public:
57  typedef algorithms::linear_model::training::Input InputType;
58  typedef algorithms::linear_model::Parameter ParameterType;
59  typedef algorithms::linear_model::training::Result ResultType;
60 
65  ResultPtr getResult() { return ResultType::cast(_result); }
66 };
68 }
69 using interface1::Batch;
70 }
71 }
72 }
73 }
74 #endif
daal::algorithms::linear_model::training::interface1::Batch
Provides methods for linear model model-based training in the batch processing mode.
Definition: linear_model_training_batch.h:54
daal::algorithms::linear_model::training::interface1::Batch::getResult
ResultPtr getResult()
Definition: linear_model_training_batch.h:65

For more complete information about compiler optimizations, see our Optimization Notice.