TriplePredictions
- class TriplePredictions(df: DataFrame, factory: CoreTriplesFactory | None)[source]
Bases:
PredictionsTriples with their predicted scores.
Attributes Summary
the dataframe; has to have a column named "score"
an optional factory to use for labeling
Attributes Documentation
- Parameters:
df (DataFrame)
factory (CoreTriplesFactory | None)
- df: DataFrame = <dataclasses._MISSING_TYPE object>
the dataframe; has to have a column named “score”
- factory: CoreTriplesFactory | None = <dataclasses._MISSING_TYPE object>
an optional factory to use for labeling