Interface IStateful<TState>

For learners that support serializable state.

Namespace: MOSAIC.Components.MachineLearning.Interfaces
Assembly: MOSAIC.dll
Syntax
public interface IStateful<TState> where TState : class
Type Parameters
Name Description
TState

The type representing the learner's internal state.

Methods

GetState()

Gets a copy of the current internal state.

Declaration
TState GetState()
Returns
Type Description
TState

SetState(TState)

Restores the learner from a previously saved state.

Declaration
void SetState(TState state)
Parameters
Type Name Description
TState state

Search documentation

Start typing to search the documentation.