Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/sagemaker-deep-demand-forecast
/ functions
Functions
37 in github.com/awslabs/sagemaker-deep-demand-forecast
⨍
Functions
37
◇
Types & classes
2
↳
Endpoints
1
↓ 3 callers
Function
evaluate
( model: Predictor, test_data: ListDataset, num_samples: int )
src/deep_demand_forecast/utils.py:20
↓ 3 callers
Function
get_logger
(config_path)
src/deep_demand_forecast/utils.py:14
↓ 3 callers
Function
load_multivariate_datasets
(path: Path)
src/deep_demand_forecast/data.py:7
↓ 2 callers
Method
apply
(self)
src/preprocess/preprocess.py:32
↓ 2 callers
Function
multivar_df
(ds)
src/deep_demand_forecast/monitor.py:17
↓ 2 callers
Function
save
(model: Predictor, model_dir: str)
src/deep_demand_forecast/train.py:71
↓ 2 callers
Function
train
( dataset: TrainDatasets, output_dir: str, model_dir: str, context_length: int, prediction
src/deep_demand_forecast/train.py:24
↓ 1 callers
Method
_max_normalize
(data, scale: float = None)
src/preprocess/preprocess.py:25
↓ 1 callers
Function
_start_build
(session, project_name)
src/container_build/container_build.py:16
↓ 1 callers
Function
_wait_for_build
(build_id, session, poll_seconds=10)
src/container_build/container_build.py:24
↓ 1 callers
Function
create_multivariate_datasets
(data_dir: str)
src/deep_demand_forecast/tests/test_integration.py:20
↓ 1 callers
Function
delete_ecr_images
(repository_name)
cloudformation/solution-assistant/src/lambda_fn.py:80
↓ 1 callers
Function
delete_s3_bucket
(bucket_name)
cloudformation/solution-assistant/src/lambda_fn.py:71
↓ 1 callers
Function
delete_s3_objects
(bucket_name)
cloudformation/solution-assistant/src/lambda_fn.py:62
↓ 1 callers
Function
delete_sagemaker_endpoint
(endpoint_name)
cloudformation/solution-assistant/src/lambda_fn.py:20
↓ 1 callers
Function
delete_sagemaker_endpoint_config
(endpoint_config_name)
cloudformation/solution-assistant/src/lambda_fn.py:32
↓ 1 callers
Function
delete_sagemaker_model
(model_name)
cloudformation/solution-assistant/src/lambda_fn.py:50
↓ 1 callers
Function
load_dataset
(dataset_name: str, path: Path)
src/preprocess/data_preprocessor.py:21
↓ 1 callers
Function
log_stream
A generator for log items in a single stream. This will yield all the items that are available at the current moment. Args: client (b
src/container_build/logs.py:26
↓ 1 callers
Function
logs_for_build
Display the logs for a given build, optionally tailing them until the build is complete. Args: build_id (str): The ID of the build to
src/container_build/logs.py:86
↓ 1 callers
Function
main
(framework, region, version, instance_type)
src/preprocess/get_base_image.py:4
↓ 1 callers
Function
model_fn
(model_dir: str)
src/deep_demand_forecast/inference.py:22
↓ 1 callers
Function
rse
(agg_metrics: Dict[str, float], dataset: ListDataset)
src/deep_demand_forecast/metrics.py:7
↓ 1 callers
Method
save_datasets
(self, path, overwrite=True)
src/preprocess/preprocess.py:48
↓ 1 callers
Function
set_kernel_spec
(notebook_filepath, display_name, kernel_name)
scripts/set_kernelspec.py:5
↓ 1 callers
Function
str2bool
bool: convert flag to boolean if it is string and return it else return its initial bool value
src/deep_demand_forecast/utils.py:33
↓ 1 callers
Function
transform_fn
(model: Predictor, request_body: Any, content_type: Any, accept_type: Any)
src/deep_demand_forecast/inference.py:28
Method
__init__
(self, datasets: TrainDatasets)
src/preprocess/preprocess.py:20
Function
build
(project_name, session=boto3.session.Session(), log=True)
src/container_build/container_build.py:7
Function
create_data_viz
(train_df, test_df, context_length, prediction_length, num_sample_ts)
src/deep_demand_forecast/monitor.py:45
Function
handler
(event, context)
cloudformation/solution-assistant/src/lambda_fn.py:132
Function
on_create
(_, __)
cloudformation/solution-assistant/src/lambda_fn.py:11
Function
on_delete
(event, __)
cloudformation/solution-assistant/src/lambda_fn.py:109
Function
on_update
(_, __)
cloudformation/solution-assistant/src/lambda_fn.py:16
Function
prepare_data
(path: str)
src/deep_demand_forecast/monitor.py:32
Function
test
(tmpdir)
src/deep_demand_forecast/tests/test_integration.py:26
Function
test_max_normalize
()
src/preprocess/test_preprocess.py:9