Annex v0.1.0 Annex.Learner behaviour View Source
Link to this section Summary
Link to this section Types
Link to this type
learner()
View Source
learner()
View Source
learner() :: struct()
learner() :: struct()
Link to this type
options()
View Source
options()
View Source
options() :: Keyword.t()
options() :: Keyword.t()
Link to this section Functions
Link to this function
init(learner, options) View Source
Link to this function
predict(learner, data) View Source
Link to this function
train(learner, all_inputs, all_labels, opts \\ [])
View Source
train(learner, all_inputs, all_labels, opts \\ [])
View Source
train(struct(), Annex.Data.dataset(), Annex.Data.dataset(), Keyword.t()) ::
{:ok, [float()], struct()} | {:error, any()}
train(struct(), Annex.Data.dataset(), Annex.Data.dataset(), Keyword.t()) :: {:ok, [float()], struct()} | {:error, any()}
Link to this section Callbacks
Link to this callback
init_learner(learner, options) View Source
Link to this callback
predict(learner, arg2)
View Source
predict(learner, arg2)
View Source
predict(learner(), Annex.Data.t()) :: Annex.Data.t()
predict(learner(), Annex.Data.t()) :: Annex.Data.t()
Link to this callback
train(any, arg2, arg3, options)
View Source
train(any, arg2, arg3, options)
View Source
train(any(), Annex.Data.t(), Annex.Data.t(), options()) :: {any(), learner()}
train(any(), Annex.Data.t(), Annex.Data.t(), options()) :: {any(), learner()}
Link to this callback