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

linear_model_training_online.h
1 /* file: linear_model_training_online.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 linear regression model-based training
21 // in the online processing mode
22 //--
23 */
24 
25 #ifndef __LINEAR_MODEL_TRAINING_ONLINE_H__
26 #define __LINEAR_MODEL_TRAINING_ONLINE_H__
27 
28 #include "algorithms/linear_model/linear_model_training_types.h"
29 #include "algorithms/regression/regression_training_online.h"
30 
31 namespace daal
32 {
33 namespace algorithms
34 {
35 namespace linear_model
36 {
37 namespace training
38 {
39 
40 namespace interface1
41 {
56 class DAAL_EXPORT Online : public regression::training::Online
57 {
58 public:
59  typedef algorithms::linear_model::training::Input InputType;
60  typedef algorithms::linear_model::Parameter ParameterType;
61  typedef algorithms::linear_model::training::Result ResultType;
62  typedef algorithms::linear_model::training::PartialResult PartialResultType;
63 
68  PartialResultPtr getPartialResult() { return PartialResultType::cast(_partialResult); }
69 
74  ResultPtr getResult() { return ResultType::cast(_result); }
75 }; // class : public Online
77 } // namespace interface1
78 using interface1::Online;
79 
80 }
81 }
82 }
83 }
84 #endif
daal::algorithms::linear_model::training::interface1::Online::getResult
ResultPtr getResult()
Definition: linear_model_training_online.h:74
daal::algorithms::linear_model::training::interface1::Online
Provides methods for the linear model-based training in the online processing mode.
Definition: linear_model_training_online.h:56
daal::algorithms::linear_model::training::interface1::Online::getPartialResult
PartialResultPtr getPartialResult()
Definition: linear_model_training_online.h:68

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