Parameter for Cross-entropy loss objective function
More...
- Deprecated:
- This item will be removed in a future release.
def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
Constructs the parameter of Cross-entropy loss objective function
- Parameters
-
nClasses | The number of different values of dependent variable |
numberOfTerms | The number of terms in the function |
batchIndices | Numeric table of size 1 x m where m is batch size that represent a batch of indices used to compute the function results, e.g., value of the sum of the functions. If no indices are provided, all terms will be used in the computations. |
resultsToCompute | 64 bit integer flag that indicates the results to compute |
- Variant 2
Constructs an Parameter by copying input objects and parameters of another Parameter
- Parameters
-
other | An object to be used as the source to initialize object |
Checks the correctness of the parameter
- Returns
- Status of computations
Whether the intercept needs to be computed. Default is true
L1 regularization coefficient. Default is 0 (not applied)
L2 regularization coefficient. Default is 0 (not applied)
The documentation for this class was generated from the following file: