ztlearn.ml.classification package

Submodules

ztlearn.ml.classification.perceptron module

class ztlearn.ml.classification.perceptron.Perceptron(epochs, activation='sigmoid', loss='categorical_crossentropy', init_method='he_normal', optimizer={}, penalty='lasso', penalty_weight=0, l1_ratio=0.5)[source]

Bases: object

fit[source]
model_weights
predict(inputs)[source]

Module contents