Crate vikos [] [src]

A machine learning library for supervised regression trainings

This library wants to enable its user to write teachers independent of the model trained or the cost function tried to minimize. Consequently its two main traits are currently Model, Cost and Teacher.

Modules

cost

Implementations of Cost trait

linear_algebra

Defines linear algebra traits used for some model parameters

model

Implementations of Model trait

teacher

Implementatios of Teacher trait

training

Implementations of Training trait

Traits

Cost

Cost functions those value is supposed be minimized by the training algorithm

Model

A Model is defines how to predict a target from an input

Teacher

Teachers are used to train Models, based on events and a Cost function

Training

Teaches event to a Model

Functions

inert_gradient_descent_step

Changes all coefficents of model based on their derivation of the cost function at features

inert_stochastic_gradient_descent

SGD tranining with constant learning rate and velocity

teach_history

Teaches model all events in history