INNER CODE UNIT · Python

EnvVars

GoogleCloudPlatform/vertex-ai-samples · community-content/tf_agents_bandits_movie_recommendation_with_kfp_and_vertex_sdk/mlops_pipeline_tf_agents_bandits_movie_recommendation/src/logger/main.py:31

class EnvVars:
  """A class containing environment variables and their values.

  Attributes:
    project_id: A string of the GCP project ID.
    raw_data_path: A string of the path to MovieLens 100K's "u.data" file.
    batch_size: A integer of the batch size of environment generated quantities.
    rank_k: An integer of the rank for matrix factorization in the MovieLens
      environment; also the observation dimension.
    num_actions: A integer of the number of actions (movie items) to choose
      from.
    bigquery_tmp_file: Path to a JSON file containing the training dataset.
    bigquery_dataset_id: A string of the BigQuery dataset ID as
      `project_id.dataset_id`.
    bigquery_location: A string of the BigQuery dataset region.
    bigquery_table_id: A string of the BigQuery table ID as
      `project_id.dataset_id.table_id`.
  """

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…