Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 617 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 617 Bytes

SEFR: A Fast Linear-Time Classifier for Ultra-Low Power Devices

A Python package for the paper SEFR: A Fast Linear-Time Classifier for Ultra-Low Power Devices by Hamidreza Keshavarz, Mohammad Saniee Abadeh, Reza Rawassizadeh

Copied from original implementation

How to install

pip install sefr

How to use

from sefr import SEFR
from sklearn.datasets import load_iris


iris = load_iris()
X, y = iris.data, iris.target
X = X[y < 2]
y = y[y < 2]
clf = SEFR()
clf.fit(X, y)
print(clf.predict(X) == y)