mirror of
https://github.com/webclinic017/drift.git
synced 2026-07-28 03:08:01 +00:00
7 lines
228 B
Python
7 lines
228 B
Python
from typing import Protocol
|
|
|
|
class SKLearnModel(Protocol):
|
|
def fit(self, X, y, sample_weight=None): ...
|
|
def predict(self, X): ...
|
|
def score(self, X, y, sample_weight=None): ...
|
|
def set_params(self, **params): ... |