ztlearn.ml.classification package

Submodules

ztlearn.ml.classification.knn module

class ztlearn.ml.classification.knn.KNN[source]

Bases: object

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