public interface SmoothParametrized<M extends Parametrized<M>> extends Parametrized<M>, IgniteModel<Matrix,Matrix>
Modifier and Type | Method and Description |
---|---|
Vector |
differentiateByParameters(IgniteFunction<Vector,IgniteDifferentiableVectorToDoubleFunction> loss,
Matrix inputsBatch,
Matrix truthBatch)
Compose function in the following way: feed output of this model as input to second argument to loss function.
|
Vector |
parameters()
Get parameters vector.
|
int |
parametersCount()
Get count of parameters of this model.
|
M |
setParameters(Vector vector)
Set parameters.
|
default M |
withParameters(Vector vector)
Return new model with given parameters vector.
|
Vector differentiateByParameters(IgniteFunction<Vector,IgniteDifferentiableVectorToDoubleFunction> loss, Matrix inputsBatch, Matrix truthBatch)
loss
- Loss function.inputsBatch
- Batch of inputs.truthBatch
- Batch of ground truths.Vector parameters()
M setParameters(Vector vector)
vector
- Parameters vector.default M withParameters(Vector vector)
vector
- Parameters vector.int parametersCount()
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024