PDAP
/

maxachis's picture
Set up html processing logic
0caea66
raw
history blame contribute delete
269 Bytes
from typing import Protocol, TypeVar
X = TypeVar("X")
Y = TypeVar("Y")
class FitPredictor(Protocol[X, Y]):
def fit(self, x: X, y: Y) -> "FitPredictor":
...
def predict(self, x: X) -> Y:
...
def predict_proba(self, x: X) -> Y:
...