MCPcopy Create free account

hub / github.com/FlorianWilhelm/wald-stack-demo / functions

Functions15 in github.com/FlorianWilhelm/wald-stack-demo

↓ 2 callersFunctionget_dbt_credentials
Read the credentials from the dbt profiles, i.e. `~/.dbt/profiles.yaml`
notebooks/utils.py:10
↓ 1 callersFunctionload_model_from_stage
(p_session)
models/marts/ml/train_predict/predict_position.py:36
↓ 1 callersFunctionposition_index
(x)
models/marts/ml/prep/covariate_encoding.py:48
↓ 1 callersFunctionpredict_position
( p_df: T.PandasDataFrame[int, int, int, int, int, int, int, int, int] )
models/marts/ml/train_predict/predict_position.py:61
↓ 1 callersFunctionsave_file
(session, model, path, dest_filename)
models/marts/ml/train_predict/train_test_position.py:14
Functionget_snowflake_cursor_from_dbt
Generate a cursor using the dbt credentials following DRY
notebooks/utils.py:19
Functionget_snowflake_dbt_adapter
Generate a dbt adapter for direct querying Replicates to some degree what dbt does internally. Meant for debugging only as this is rather a h
notebooks/utils.py:35
Functionmodel
(dbt, session)
models/marts/aggregates/fastest_pit_stops_by_constructor.py:4
Functionmodel
(dbt, session)
models/marts/aggregates/lap_times_moving_avg.py:4
Functionmodel
(dbt, session)
models/marts/ml/train_predict/train_test_position.py:21
Functionmodel
(dbt, session)
models/marts/ml/train_predict/predict_position.py:45
Functionmodel
(dbt, session)
models/marts/ml/prep/covariate_encoding.py:5
Functionmodel
(dbt, session)
models/marts/ml/prep/train_test_dataset.py:4
Functionmodel
(dbt, session)
models/marts/ml/prep/ml_data_prep.py:4
Functionmodel
(dbt, session)
models/marts/ml/prep/hold_out_dataset_for_prediction.py:4