André Fernandes
added predict method for a classic ML classifier model (wip)
48b647e
raw
history blame contribute delete
163 Bytes
from typing import List
from pydantic import BaseModel, conlist
class Iris(BaseModel):
data: List[conlist(float, min_length=4, max_length=4)] # type: ignore