Remove use of "unsure" from TrainingData type
The "unsure" key isn't used anywhere else
@@ -31,15 +31,11 @@ LookupResults = Iterable[Tuple[RecordID, Tuple[Tuple[RecordID, float], ...]]]
JoinConstraint = Literal['one-to-one', 'many-to-one', 'many-to-many']
-class _TrainingData(TypedDict):
+class TrainingData(TypedDict):
match: List[TrainingExample]
distinct: List[TrainingExample]
-class TrainingData(_TrainingData, total=False):
- uncertain: List[TrainingExample] # optional key
-
-
class Classifier(Protocol):
def fit(self, X: object, y: object) -> None:
...
