LogisticRegression

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Aliases

parameters
alias parameters = AliasSeq!(weights)
Undocumented in source.

Functions

fit
void fit(Tuple!(T[], T[])[] train, Tuple!(T[], T[])[] test, LogisticFitOptions options)
Undocumented in source. Be warned that the author may not have intended to support it.
load
void load(string modelDirPath)
Undocumented in source. Be warned that the author may not have intended to support it.
predict
T[] predict(T[] input)
Undocumented in source.
predict
T[][] predict(T[][] inputs)
Undocumented in source.
save
void save(string modelDirPath)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

weights
Linear!(T, InputDim, OutputDim, useGrad) weights;
Undocumented in source.

Meta