TriplePredictions

class TriplePredictions(df: DataFrame, factory: CoreTriplesFactory | None)[source]

Bases: Predictions

Triples with their predicted scores.

Attributes Summary

df

the dataframe; has to have a column named "score"

factory

an optional factory to use for labeling

Attributes Documentation

Parameters:
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