C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 3

linear_model_training_online.h
1 /* file: linear_model_training_online.h */
2 /*******************************************************************************
3 * Copyright 2014-2018 Intel Corporation.
4 *
5 * This software and the related documents are Intel copyrighted materials, and
6 * your use of them is governed by the express license under which they were
7 * provided to you (License). Unless the License provides otherwise, you may not
8 * use, modify, copy, publish, distribute, disclose or transmit this software or
9 * the related documents without Intel's prior written permission.
10 *
11 * This software and the related documents are provided as is, with no express
12 * or implied warranties, other than those that are expressly stated in the
13 * License.
14 *******************************************************************************/
15 
16 /*
17 //++
18 // Implementation of the interface for linear regression model-based training
19 // in the online processing mode
20 //--
21 */
22 
23 #ifndef __LINEAR_MODEL_TRAINING_ONLINE_H__
24 #define __LINEAR_MODEL_TRAINING_ONLINE_H__
25 
26 #include "algorithms/linear_model/linear_model_training_types.h"
27 #include "algorithms/regression/regression_training_online.h"
28 
29 namespace daal
30 {
31 namespace algorithms
32 {
33 namespace linear_model
34 {
35 namespace training
36 {
37 
38 namespace interface1
39 {
54 class DAAL_EXPORT Online : public regression::training::Online
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  typedef algorithms::linear_model::training::PartialResult PartialResultType;
61 
66  PartialResultPtr getPartialResult() { return PartialResultType::cast(_partialResult); }
67 
72  ResultPtr getResult() { return ResultType::cast(_result); }
73 }; // class : public Online
75 } // namespace interface1
76 using interface1::Online;
77 
78 }
79 }
80 }
81 }
82 #endif
daal
Definition: algorithm_base_common.h:31
daal::algorithms::linear_model::training::interface1::Online::getPartialResult
PartialResultPtr getPartialResult()
Definition: linear_model_training_online.h:66
daal::algorithms::linear_model::training::interface1::Online::getResult
ResultPtr getResult()
Definition: linear_model_training_online.h:72
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:54

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