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

implicit_als_training_distributed.h
1 /* file: implicit_als_training_distributed.h */
2 /*******************************************************************************
3 * Copyright 2014-2018 Intel Corporation
4 * All Rights Reserved.
5 *
6 * If this software was obtained under the Intel Simplified Software License,
7 * the following terms apply:
8 *
9 * The source code, information and material ("Material") contained herein is
10 * owned by Intel Corporation or its suppliers or licensors, and title to such
11 * Material remains with Intel Corporation or its suppliers or licensors. The
12 * Material contains proprietary information of Intel or its suppliers and
13 * licensors. The Material is protected by worldwide copyright laws and treaty
14 * provisions. No part of the Material may be used, copied, reproduced,
15 * modified, published, uploaded, posted, transmitted, distributed or disclosed
16 * in any way without Intel's prior express written permission. No license under
17 * any patent, copyright or other intellectual property rights in the Material
18 * is granted to or conferred upon you, either expressly, by implication,
19 * inducement, estoppel or otherwise. Any license under such intellectual
20 * property rights must be express and approved by Intel in writing.
21 *
22 * Unless otherwise agreed by Intel in writing, you may not remove or alter this
23 * notice or any other notice embedded in Materials by Intel or Intel's
24 * suppliers or licensors in any way.
25 *
26 *
27 * If this software was obtained under the Apache License, Version 2.0 (the
28 * "License"), the following terms apply:
29 *
30 * You may not use this file except in compliance with the License. You may
31 * obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
32 *
33 *
34 * Unless required by applicable law or agreed to in writing, software
35 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
36 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
37 *
38 * See the License for the specific language governing permissions and
39 * limitations under the License.
40 *******************************************************************************/
41 
42 /*
43 //++
44 // Implementation of the interface for implicit ALS model-based training in the
45 // distributed processing mode
46 //--
47 */
48 
49 #ifndef __IMPLICIT_ALS_TRAINING_DISTRIBUTED_H__
50 #define __IMPLICIT_ALS_TRAINING_DISTRIBUTED_H__
51 
52 #include "algorithms/algorithm.h"
53 #include "algorithms/implicit_als/implicit_als_training_types.h"
54 
55 namespace daal
56 {
57 namespace algorithms
58 {
59 namespace implicit_als
60 {
61 namespace training
62 {
63 
64 namespace interface1
65 {
76 template<ComputeStep step, typename algorithmFPType, Method method, CpuType cpu>
77 class DAAL_EXPORT DistributedContainer
78 {};
79 
84 template<typename algorithmFPType, Method method, CpuType cpu>
85 class DAAL_EXPORT DistributedContainer<step1Local, algorithmFPType, method, cpu> : public
86  TrainingContainerIface<distributed>
87 {
88 public:
94  DistributedContainer(daal::services::Environment::env *daalEnv);
96  ~DistributedContainer();
97 
102  services::Status compute() DAAL_C11_OVERRIDE;
107  services::Status finalizeCompute() DAAL_C11_OVERRIDE;
108 };
109 
114 template<typename algorithmFPType, Method method, CpuType cpu>
115 class DAAL_EXPORT DistributedContainer<step2Master, algorithmFPType, method, cpu> : public
116  TrainingContainerIface<distributed>
117 {
118 public:
124  DistributedContainer(daal::services::Environment::env *daalEnv);
126  ~DistributedContainer();
127 
132  services::Status compute() DAAL_C11_OVERRIDE;
137  services::Status finalizeCompute() DAAL_C11_OVERRIDE;
138 };
139 
144 template<typename algorithmFPType, Method method, CpuType cpu>
145 class DAAL_EXPORT DistributedContainer<step3Local, algorithmFPType, method, cpu> : public
146  TrainingContainerIface<distributed>
147 {
148 public:
154  DistributedContainer(daal::services::Environment::env *daalEnv);
156  ~DistributedContainer();
157 
162  services::Status compute() DAAL_C11_OVERRIDE;
167  services::Status finalizeCompute() DAAL_C11_OVERRIDE;
168 };
169 
174 template<typename algorithmFPType, Method method, CpuType cpu>
175 class DAAL_EXPORT DistributedContainer<step4Local, algorithmFPType, method, cpu> : public
176  TrainingContainerIface<distributed>
177 {
178 public:
184  DistributedContainer(daal::services::Environment::env *daalEnv);
186  ~DistributedContainer();
187 
192  services::Status compute() DAAL_C11_OVERRIDE;
197  services::Status finalizeCompute() DAAL_C11_OVERRIDE;
198 };
199 
212 template<ComputeStep step, typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = fastCSR>
213 class DAAL_EXPORT Distributed : public Training<distributed> {};
214 
230 template<typename algorithmFPType, Method method>
231 class DAAL_EXPORT Distributed<step1Local, algorithmFPType, method> : public Training<distributed>
232 {
233 public:
234  typedef algorithms::implicit_als::training::DistributedInput<step1Local> InputType;
235  typedef algorithms::implicit_als::Parameter ParameterType;
236  typedef algorithms::implicit_als::training::Result ResultType;
237  typedef algorithms::implicit_als::training::DistributedPartialResultStep1 PartialResultType;
238 
239  DistributedInput<step1Local> input;
240  ParameterType parameter;
243  Distributed()
244  {
245  initialize();
246  }
247 
254  Distributed(const Distributed<step1Local, algorithmFPType, method> &other) : input(other.input), parameter(other.parameter)
255  {
256  initialize();
257  }
258 
263  virtual int getMethod() const DAAL_C11_OVERRIDE { return(int)method; }
264 
271  services::Status setPartialResult(const DistributedPartialResultStep1Ptr& partialResult)
272  {
273  DAAL_CHECK(partialResult, services::ErrorNullPartialResult);
274  _partialResult = partialResult;
275  _pres = _partialResult.get();
276  return services::Status();
277  }
278 
285  DistributedPartialResultStep1Ptr getPartialResult() { return _partialResult; }
286 
292  services::SharedPtr<Distributed<step1Local, algorithmFPType, method> > clone() const
293  {
294  return services::SharedPtr<Distributed<step1Local, algorithmFPType, method> >(cloneImpl());
295  }
296 
297 protected:
298  DistributedPartialResultStep1Ptr _partialResult;
299 
300  virtual Distributed<step1Local, algorithmFPType, method> * cloneImpl() const DAAL_C11_OVERRIDE
301  {
302  return new Distributed<step1Local, algorithmFPType, method>(*this);
303  }
304 
305  services::Status allocateResult() DAAL_C11_OVERRIDE
306  {
307  return services::Status();
308  }
309 
310  services::Status allocatePartialResult() DAAL_C11_OVERRIDE
311  {
312  services::Status s = _partialResult->allocate<algorithmFPType>(&input, &parameter, method);
313  _pres = _partialResult.get();
314  return s;
315  }
316 
317  services::Status initializePartialResult() DAAL_C11_OVERRIDE
318  {
319  return services::Status();
320  }
321 
322  void initialize()
323  {
324  _ac = new __DAAL_ALGORITHM_CONTAINER(distributed, DistributedContainer, step1Local, algorithmFPType, method)(&_env);
325  _in = &input;
326  _par = &parameter;
327  _partialResult.reset(new PartialResultType());
328  }
329 };
330 
346 template<typename algorithmFPType, Method method>
347 class DAAL_EXPORT Distributed<step2Master, algorithmFPType, method> : public Training<distributed>
348 {
349 public:
350  typedef algorithms::implicit_als::training::DistributedInput<step2Master> InputType;
351  typedef algorithms::implicit_als::Parameter ParameterType;
352  typedef algorithms::implicit_als::training::Result ResultType;
353  typedef algorithms::implicit_als::training::DistributedPartialResultStep2 PartialResultType;
354 
355  DistributedInput<step2Master> input;
356  ParameterType parameter;
359  Distributed()
360  {
361  initialize();
362  }
363 
370  Distributed(const Distributed<step2Master, algorithmFPType, method> &other) : input(other.input), parameter(other.parameter)
371  {
372  initialize();
373  }
374 
379  virtual int getMethod() const DAAL_C11_OVERRIDE { return(int)method; }
380 
387  services::Status setPartialResult(const DistributedPartialResultStep2Ptr& partialResult)
388  {
389  DAAL_CHECK(partialResult, services::ErrorNullPartialResult);
390  _partialResult = partialResult;
391  _pres = _partialResult.get();
392  return services::Status();
393  }
394 
401  DistributedPartialResultStep2Ptr getPartialResult() { return _partialResult; }
402 
408  services::SharedPtr<Distributed<step2Master, algorithmFPType, method> > clone() const
409  {
410  return services::SharedPtr<Distributed<step2Master, algorithmFPType, method> >(cloneImpl());
411  }
412 
413 protected:
414  DistributedPartialResultStep2Ptr _partialResult;
415 
416  virtual Distributed<step2Master, algorithmFPType, method> * cloneImpl() const DAAL_C11_OVERRIDE
417  {
418  return new Distributed<step2Master, algorithmFPType, method>(*this);
419  }
420 
421  services::Status allocateResult() DAAL_C11_OVERRIDE
422  {
423  return services::Status();
424  }
425 
426  services::Status allocatePartialResult() DAAL_C11_OVERRIDE
427  {
428  services::Status s = _partialResult->allocate<algorithmFPType>(&input, &parameter, method);
429  _pres = _partialResult.get();
430  return s;
431  }
432 
433  services::Status initializePartialResult() DAAL_C11_OVERRIDE
434  {
435  return services::Status();
436  }
437 
438  void initialize()
439  {
440  _ac = new __DAAL_ALGORITHM_CONTAINER(distributed, DistributedContainer, step2Master, algorithmFPType, method)(&_env);
441  _in = &input;
442  _par = &parameter;
443  _partialResult.reset(new PartialResultType());
444  }
445 };
446 
447 
463 template<typename algorithmFPType, Method method>
464 class DAAL_EXPORT Distributed<step3Local, algorithmFPType, method> : public Training<distributed>
465 {
466 public:
467  typedef algorithms::implicit_als::training::DistributedInput<step3Local> InputType;
468  typedef algorithms::implicit_als::Parameter ParameterType;
469  typedef algorithms::implicit_als::training::Result ResultType;
470  typedef algorithms::implicit_als::training::DistributedPartialResultStep3 PartialResultType;
471 
472  DistributedInput<step3Local> input;
473  ParameterType parameter;
476  Distributed()
477  {
478  initialize();
479  }
480 
487  Distributed(const Distributed<step3Local, algorithmFPType, method> &other) : input(other.input), parameter(other.parameter)
488  {
489  initialize();
490  }
491 
496  virtual int getMethod() const DAAL_C11_OVERRIDE { return(int)method; }
497 
504  services::Status setPartialResult(const DistributedPartialResultStep3Ptr& partialResult)
505  {
506  DAAL_CHECK(partialResult, services::ErrorNullPartialResult);
507  _partialResult = partialResult;
508  _pres = _partialResult.get();
509  return services::Status();
510  }
511 
518  DistributedPartialResultStep3Ptr getPartialResult() { return _partialResult; }
519 
525  services::SharedPtr<Distributed<step3Local, algorithmFPType, method> > clone() const
526  {
527  return services::SharedPtr<Distributed<step3Local, algorithmFPType, method> >(cloneImpl());
528  }
529 
530 protected:
531  DistributedPartialResultStep3Ptr _partialResult;
532 
533  virtual Distributed<step3Local, algorithmFPType, method> * cloneImpl() const DAAL_C11_OVERRIDE
534  {
535  return new Distributed<step3Local, algorithmFPType, method>(*this);
536  }
537 
538  services::Status allocateResult() DAAL_C11_OVERRIDE
539  {
540  return services::Status();
541  }
542 
543  services::Status allocatePartialResult() DAAL_C11_OVERRIDE
544  {
545  services::Status s = _partialResult->allocate<algorithmFPType>(&input, &parameter, method);
546  _pres = _partialResult.get();
547  return s;
548  }
549 
550  services::Status initializePartialResult() DAAL_C11_OVERRIDE
551  {
552  return services::Status();
553  }
554 
555  void initialize()
556  {
557  _ac = new __DAAL_ALGORITHM_CONTAINER(distributed, DistributedContainer, step3Local, algorithmFPType, method)(&_env);
558  _in = &input;
559  _par = &parameter;
560  _partialResult.reset(new PartialResultType());
561  }
562 };
563 
579 template<typename algorithmFPType, Method method>
580 class DAAL_EXPORT Distributed<step4Local, algorithmFPType, method> : public Training<distributed>
581 {
582 public:
583  typedef algorithms::implicit_als::training::DistributedInput<step4Local> InputType;
584  typedef algorithms::implicit_als::Parameter ParameterType;
585  typedef algorithms::implicit_als::training::Result ResultType;
586  typedef algorithms::implicit_als::training::DistributedPartialResultStep4 PartialResultType;
587 
588  DistributedInput<step4Local> input;
589  ParameterType parameter;
592  Distributed()
593  {
594  initialize();
595  }
596 
603  Distributed(const Distributed<step4Local, algorithmFPType, method> &other) : input(other.input), parameter(other.parameter)
604  {
605  initialize();
606  }
607 
612  virtual int getMethod() const DAAL_C11_OVERRIDE { return(int)method; }
613 
620  services::Status setPartialResult(const DistributedPartialResultStep4Ptr& partialResult)
621  {
622  DAAL_CHECK(partialResult, services::ErrorNullPartialResult);
623  _partialResult = partialResult;
624  _pres = _partialResult.get();
625  return services::Status();
626  }
627 
634  DistributedPartialResultStep4Ptr getPartialResult() { return _partialResult; }
635 
641  services::SharedPtr<Distributed<step4Local, algorithmFPType, method> > clone() const
642  {
643  return services::SharedPtr<Distributed<step4Local, algorithmFPType, method> >(cloneImpl());
644  }
645 
646 protected:
647  DistributedPartialResultStep4Ptr _partialResult;
648 
649  virtual Distributed<step4Local, algorithmFPType, method> * cloneImpl() const DAAL_C11_OVERRIDE
650  {
651  return new Distributed<step4Local, algorithmFPType, method>(*this);
652  }
653 
654  services::Status allocateResult() DAAL_C11_OVERRIDE
655  {
656  return services::Status();
657  }
658 
659  services::Status allocatePartialResult() DAAL_C11_OVERRIDE
660  {
661  services::Status s = _partialResult->allocate<algorithmFPType>(&input, &parameter, method);
662  _pres = _partialResult.get();
663  return s;
664  }
665 
666  services::Status initializePartialResult() DAAL_C11_OVERRIDE
667  {
668  return services::Status();
669  }
670 
671  void initialize()
672  {
673  _ac = new __DAAL_ALGORITHM_CONTAINER(distributed, DistributedContainer, step4Local, algorithmFPType, method)(&_env);
674  _in = &input;
675  _par = &parameter;
676  _partialResult.reset(new PartialResultType());
677  }
678 };
680 } // namespace interface1
681 using interface1::DistributedContainer;
682 using interface1::Distributed;
683 
684 }
685 }
686 }
687 }
688 
689 #endif
daal::algorithms::implicit_als::training::interface1::Distributed< step1Local, algorithmFPType, method >::setPartialResult
services::Status setPartialResult(const DistributedPartialResultStep1Ptr &partialResult)
Definition: implicit_als_training_distributed.h:271
daal::algorithms::implicit_als::training::interface1::DistributedInput< step1Local >
Input objects for the implicit ALS training algorithm in the first step of the distributed processing...
Definition: implicit_als_training_types.h:322
daal::algorithms::implicit_als::training::interface1::Distributed< step1Local, algorithmFPType, method >::input
DistributedInput< step1Local > input
Definition: implicit_als_training_distributed.h:239
daal::algorithms::implicit_als::training::interface1::Distributed< step4Local, algorithmFPType, method >::input
DistributedInput< step4Local > input
Definition: implicit_als_training_distributed.h:588
daal::services::interface1::Environment::_envStruct
The environment structure.
Definition: env_detect.h:95
daal::services::interface1::Status
Class that holds the results of API calls. In case of API routine failure it contains the list of err...
Definition: error_handling.h:491
daal::algorithms::implicit_als::training::interface1::Distributed< step2Master, algorithmFPType, method >::Distributed
Distributed()
Definition: implicit_als_training_distributed.h:359
daal
Definition: algorithm_base_common.h:57
daal::algorithms::implicit_als::training::interface1::Distributed< step3Local, algorithmFPType, method >::setPartialResult
services::Status setPartialResult(const DistributedPartialResultStep3Ptr &partialResult)
Definition: implicit_als_training_distributed.h:504
daal::algorithms::implicit_als::training::interface1::Distributed< step1Local, algorithmFPType, method >::getMethod
virtual int getMethod() const DAAL_C11_OVERRIDE
Definition: implicit_als_training_distributed.h:263
daal::algorithms::implicit_als::training::interface1::Distributed< step4Local, algorithmFPType, method >::Distributed
Distributed(const Distributed< step4Local, algorithmFPType, method > &other)
Definition: implicit_als_training_distributed.h:603
daal::algorithms::implicit_als::training::interface1::Distributed< step4Local, algorithmFPType, method >::Distributed
Distributed()
Definition: implicit_als_training_distributed.h:592
daal::algorithms::implicit_als::interface1::Parameter
Parameters for the compute() method of the implicit ALS algorithm.
Definition: implicit_als_model.h:82
daal::algorithms::implicit_als::training::interface1::DistributedPartialResultStep4
Provides methods to access partial results obtained with the compute() method of the implicit ALS alg...
Definition: implicit_als_training_types.h:739
daal::algorithms::implicit_als::training::interface1::DistributedInput< step2Master >
Input objects for the implicit ALS training algorithm in the second step of the distributed processin...
Definition: implicit_als_training_types.h:418
daal::algorithms::implicit_als::training::interface1::DistributedInput< step3Local >
Input objects for the implicit ALS training algorithm in the third step of the distributed processing...
Definition: implicit_als_training_types.h:522
daal::services::ErrorNullPartialResult
Definition: error_indexes.h:131
daal::algorithms::implicit_als::training::interface1::DistributedInput< step4Local >
Input objects for the implicit ALS training algorithm in the fourth step of the distributed processin...
Definition: implicit_als_training_types.h:676
daal::algorithms::implicit_als::training::interface1::Distributed< step3Local, algorithmFPType, method >::Distributed
Distributed()
Definition: implicit_als_training_distributed.h:476
daal::algorithms::implicit_als::training::interface1::Distributed< step2Master, algorithmFPType, method >::getMethod
virtual int getMethod() const DAAL_C11_OVERRIDE
Definition: implicit_als_training_distributed.h:379
daal::algorithms::implicit_als::training::interface1::Distributed< step3Local, algorithmFPType, method >::input
DistributedInput< step3Local > input
Definition: implicit_als_training_distributed.h:472
daal::algorithms::implicit_als::training::interface1::DistributedContainer
Class containing methods to compute the result of implicit ALS model-based training in the distribute...
Definition: implicit_als_training_distributed.h:77
daal::algorithms::implicit_als::training::interface1::Distributed< step4Local, algorithmFPType, method >::setPartialResult
services::Status setPartialResult(const DistributedPartialResultStep4Ptr &partialResult)
Definition: implicit_als_training_distributed.h:620
daal::algorithms::implicit_als::training::interface1::Distributed< step2Master, algorithmFPType, method >::input
DistributedInput< step2Master > input
Definition: implicit_als_training_distributed.h:355
daal::algorithms::implicit_als::training::interface1::DistributedInput
Input objects for the implicit ALS training algorithm in the distributed processing mode ...
Definition: implicit_als_training_types.h:313
daal::algorithms::implicit_als::training::interface1::Distributed< step3Local, algorithmFPType, method >::Distributed
Distributed(const Distributed< step3Local, algorithmFPType, method > &other)
Definition: implicit_als_training_distributed.h:487
daal::algorithms::implicit_als::training::interface1::Distributed< step2Master, algorithmFPType, method >::clone
services::SharedPtr< Distributed< step2Master, algorithmFPType, method > > clone() const
Definition: implicit_als_training_distributed.h:408
daal::algorithms::kmeans::init::interface1::Distributed
class DAAL_EXPORT Distributed
Computes initial clusters for the K-Means algorithm in the distributed processing mode...
Definition: kmeans_init_distributed.h:281
daal::algorithms::implicit_als::training::interface1::DistributedPartialResultStep1
Provides methods to access partial results obtained with the compute() method of the implicit ALS alg...
Definition: implicit_als_training_types.h:361
daal::distributed
Definition: daal_defines.h:133
daal::algorithms::implicit_als::training::interface1::Distributed< step1Local, algorithmFPType, method >
Trains the implicit ALS model in the first step of the distributed processing mode.
Definition: implicit_als_training_distributed.h:231
daal::algorithms::implicit_als::training::interface1::Distributed< step3Local, algorithmFPType, method >::getMethod
virtual int getMethod() const DAAL_C11_OVERRIDE
Definition: implicit_als_training_distributed.h:496
daal::services::interface1::SharedPtr
Shared pointer that retains shared ownership of an object through a pointer. Several SharedPtr object...
Definition: daal_shared_ptr.h:187
daal::algorithms::implicit_als::training::interface1::Distributed< step1Local, algorithmFPType, method >::Distributed
Distributed()
Definition: implicit_als_training_distributed.h:243
daal::algorithms::implicit_als::training::interface1::Distributed
Trains the implicit ALS model in the distributed processing mode.
Definition: implicit_als_training_distributed.h:213
daal::services::interface1::SharedPtr::get
T * get() const
Definition: daal_shared_ptr.h:332
daal::services::interface1::SharedPtr::reset
void reset()
Definition: daal_shared_ptr.h:265
daal::algorithms::implicit_als::training::interface1::Distributed< step1Local, algorithmFPType, method >::getPartialResult
DistributedPartialResultStep1Ptr getPartialResult()
Definition: implicit_als_training_distributed.h:285
daal::algorithms::implicit_als::training::interface1::Distributed< step4Local, algorithmFPType, method >
Trains the implicit ALS model in the fourth step of the distributed processing mode.
Definition: implicit_als_training_distributed.h:580
daal::algorithms::implicit_als::training::interface1::Distributed< step2Master, algorithmFPType, method >::Distributed
Distributed(const Distributed< step2Master, algorithmFPType, method > &other)
Definition: implicit_als_training_distributed.h:370
daal::algorithms::implicit_als::training::interface1::Distributed< step1Local, algorithmFPType, method >::clone
services::SharedPtr< Distributed< step1Local, algorithmFPType, method > > clone() const
Definition: implicit_als_training_distributed.h:292
daal::algorithms::implicit_als::training::interface1::Distributed< step2Master, algorithmFPType, method >
Trains the implicit ALS model in the second step of the distributed processing mode.
Definition: implicit_als_training_distributed.h:347
daal::step4Local
Definition: daal_defines.h:146
daal::algorithms::implicit_als::training::interface1::Distributed< step2Master, algorithmFPType, method >::parameter
ParameterType parameter
Definition: implicit_als_training_distributed.h:356
daal::algorithms::implicit_als::training::interface1::Distributed< step3Local, algorithmFPType, method >
Trains the implicit ALS model in the third step of the distributed processing mode.
Definition: implicit_als_training_distributed.h:464
daal::algorithms::implicit_als::training::interface1::DistributedPartialResultStep3
Provides methods to access partial results obtained with the compute() method of the implicit ALS alg...
Definition: implicit_als_training_types.h:608
daal::algorithms::implicit_als::training::interface1::Distributed< step3Local, algorithmFPType, method >::clone
services::SharedPtr< Distributed< step3Local, algorithmFPType, method > > clone() const
Definition: implicit_als_training_distributed.h:525
daal::algorithms::kmeans::interface1::DistributedContainer
class DAAL_EXPORT DistributedContainer
Provides methods to run implementations of the K-Means algorithm. This class is associated with the d...
Definition: kmeans_distributed.h:81
daal::algorithms::implicit_als::training::interface1::Distributed< step3Local, algorithmFPType, method >::getPartialResult
DistributedPartialResultStep3Ptr getPartialResult()
Definition: implicit_als_training_distributed.h:518
daal::step1Local
Definition: daal_defines.h:143
daal::algorithms::implicit_als::training::interface1::Distributed< step4Local, algorithmFPType, method >::getPartialResult
DistributedPartialResultStep4Ptr getPartialResult()
Definition: implicit_als_training_distributed.h:634
daal::step2Master
Definition: daal_defines.h:144
daal::algorithms::implicit_als::training::interface1::Distributed< step1Local, algorithmFPType, method >::parameter
ParameterType parameter
Definition: implicit_als_training_distributed.h:240
daal::algorithms::implicit_als::training::interface1::Distributed< step1Local, algorithmFPType, method >::Distributed
Distributed(const Distributed< step1Local, algorithmFPType, method > &other)
Definition: implicit_als_training_distributed.h:254
daal::algorithms::implicit_als::training::interface1::DistributedPartialResultStep2
Provides methods to access partial results obtained with the compute() method of the implicit ALS alg...
Definition: implicit_als_training_types.h:465
daal::algorithms::implicit_als::training::interface1::Distributed< step3Local, algorithmFPType, method >::parameter
ParameterType parameter
Definition: implicit_als_training_distributed.h:473
daal::step3Local
Definition: daal_defines.h:145
daal::algorithms::implicit_als::training::interface1::Distributed< step2Master, algorithmFPType, method >::getPartialResult
DistributedPartialResultStep2Ptr getPartialResult()
Definition: implicit_als_training_distributed.h:401
daal::algorithms::implicit_als::training::interface1::Distributed< step2Master, algorithmFPType, method >::setPartialResult
services::Status setPartialResult(const DistributedPartialResultStep2Ptr &partialResult)
Definition: implicit_als_training_distributed.h:387
daal::algorithms::implicit_als::training::interface1::Result
Provides methods to access the results obtained with the compute() method of the implicit ALS trainin...
Definition: implicit_als_training_types.h:795
daal::algorithms::TrainingContainerIface
Abstract interface class that provides virtual methods to access and run implementations of the model...
Definition: training.h:76
daal::algorithms::Training
Provides methods to train models that depend on the data provided. For example, these methods enable ...
Definition: training.h:86
daal::algorithms::implicit_als::training::interface1::Distributed< step4Local, algorithmFPType, method >::getMethod
virtual int getMethod() const DAAL_C11_OVERRIDE
Definition: implicit_als_training_distributed.h:612
daal::algorithms::implicit_als::training::interface1::Distributed< step4Local, algorithmFPType, method >::clone
services::SharedPtr< Distributed< step4Local, algorithmFPType, method > > clone() const
Definition: implicit_als_training_distributed.h:641
daal::algorithms::implicit_als::training::interface1::Distributed< step4Local, algorithmFPType, method >::parameter
ParameterType parameter
Definition: implicit_als_training_distributed.h:589

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