Python* API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

Public Member Functions | Static Public Attributes | List of all members
BaseParameter Class Reference

BaseParameter base class for the Stochastic gradient descent algorithm More...

Public Member Functions

def __init__
 
def check
 
- Public Member Functions inherited from Parameter
def __init__
 
def check
 
- Public Member Functions inherited from Parameter
def __init__
 
def check
 

Static Public Attributes

 batchIndices = ...
 
 learningRateSequence = ...
 
 seed = ...
 
- Static Public Attributes inherited from Parameter
 function = ...
 
 nIterations = ...
 
 accuracyThreshold = ...
 
 optionalResultRequired = ...
 

Detailed Description

Constructor & Destructor Documentation

def __init__ (   self,
  args 
)

Constructs the parameter base class of the Stochastic gradient descent algorithm

Parameters
functionObjective function represented as sum of functions
nIterationsMaximal number of iterations of the algorithm
accuracyThresholdAccuracy of the algorithm. The algorithm terminates when this accuracy is achieved
batchIndicesNumeric table that represents 32 bit integer indices of terms in the objective function. If no indices are provided, the implementation will generate random indices.
learningRateSequenceNumeric table that contains values of the learning rate sequence
batchSizeBatch size
seedSeed for random generation of 32 bit integer indices of terms in the objective function.
Deprecated:
This item will be removed in a future release. Use engine instead.

Member Function Documentation

def check (   self)

Checks the correctness of the parameter

Returns
Status of computations

Member Data Documentation

batchIndices = ...
static

Numeric table that represents 32 bit integer indices of terms

learningRateSequence = ...
static

Numeric table that contains values of the learning rate sequence

seed = ...
static

Seed for random generation of 32 bit integer indices of terms


The documentation for this class was generated from the following file:

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