class documentation

class PredictModelSource(BatchDataSource): (source)

View In Hierarchy

Undocumented

Class Method multi_source_features_for Undocumented
Method all_between_dates Undocumented
Method all_data Undocumented
Method depends_on Undocumented
Method features_for Undocumented
Method job_group_key A key defining which sources can be grouped together in one request.
Method location_id Undocumented
Async Method schema Returns the schema for the data source
Class Variable cache_source Undocumented
Class Variable store Undocumented
Class Variable type_name Undocumented
Property model Undocumented

Inherited from BatchDataSource:

Method __hash__ Undocumented
Method all Undocumented
Method all_columns Undocumented
Async Method feature_view_code Setup the code needed to represent the data source as a feature view
Method filter Undocumented
Async Method freshness .table("my_table") .freshness()
Method source_id An id that identifies a source from others.
Method tags Undocumented
Method transform_with_polars Undocumented
Method with_loaded_at Undocumented
Method with_view Undocumented
@classmethod
def multi_source_features_for(cls, facts: RetrivalJob, requests: list[tuple[PredictModelSource, RetrivalRequest]]) -> RetrivalJob: (source)
def all_between_dates(self, request: RetrivalRequest, start_date: datetime, end_date: datetime) -> RetrivalJob: (source)
def all_data(self, request: RetrivalRequest, limit: int | None = None) -> RetrivalJob: (source)
def depends_on(self) -> set[FeatureLocation]: (source)
def features_for(self, facts: RetrivalJob, request: RetrivalRequest) -> RetrivalJob: (source)
def job_group_key(self) -> str: (source)

A key defining which sources can be grouped together in one request.

def location_id(self) -> set[FeatureLocation]: (source)
async def schema(self) -> dict[str, FeatureType]: (source)

Returns the schema for the data source

`python source = FileSource.parquet_at('test_data/titanic.parquet') schema = await source.schema() >>> {'passenger_id': FeatureType(name='int64'), ...} `

Returns:
dict[str, FeatureType]: A dictionary containing the column name and the feature type

Undocumented

type_name: str = (source)

Undocumented

@property
model: Model = (source)

Undocumented