NVIDIA Morpheus (24.10.01)
(Latest Version)

morpheus_dfp.utils.cached_user_window.CachedUserWindow

class CachedUserWindow(user_id: str, cache_location: str, timestamp_column: str = 'timestamp', total_count: int = 0, count: int = 0, min_epoch: datetime.datetime = datetime.datetime(1970, 1, 1, 0, 0, tzinfo=datetime.timezone.utc), max_epoch: datetime.datetime = datetime.datetime(1970, 1, 1, 0, 0, tzinfo=datetime.timezone.utc), batch_count: int = 0, pending_batch_count: int = 0, last_train_count: int = 0, last_train_epoch: datetime.datetime = None, last_train_batch: int = 0)[source]

Bases: <a href="https://docs.python.org/3/library/functions.html#object">object</a>

Attributes
last_train_epoch

Methods

append_dataframe
flush
get_spanning_df
get_train_df
load
save
trim_dataframe
Previous morpheus_dfp.utils.cached_user_window
Next morpheus_dfp.utils.config_generator
© Copyright 2024, NVIDIA. Last updated on Dec 3, 2024.