Package-level declarations

Types

Link copied to clipboard
class DataSeriesMapper : Mapper<Map<Measurement<Float>, Map<Float, Float>>, List<DataSeries>>
Link copied to clipboard
Link copied to clipboard
data class NetworkTrainingUiState(val epochsTrained: Int, val networkState: NeuralNetworkUiState, val statistics: StatisticsUiState)

Represents the state of a single network during training.

Link copied to clipboard
data class StatisticsUiState(val epochCount: Int, val floor: Float, val ceiling: Float, val data: List<DataSeries>)

Represents the statistics collected during training.

Link copied to clipboard
Link copied to clipboard
data class TrainingUiState(val isTraining: Boolean, val epochsRemaining: Int, val epochsElapsed: Int, val networks: List<NetworkTrainingUiState>)

Represents the state for all networks currently being trained.

Link copied to clipboard
Link copied to clipboard

This view model maintains the ui state for training a neural network.

Functions

Link copied to clipboard
fun Tensor.toListMatrix(): List<List<Float>>
Link copied to clipboard
fun Tensor.toListVector(): List<Float>