Skip to content

documentation: fix documentation for input types in estimator.fit #2685

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Oct 24, 2021
7 changes: 4 additions & 3 deletions src/sagemaker/estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,8 +650,9 @@ def fit(self, inputs=None, wait=True, logs="All", job_name=None, experiment_conf
model using the Amazon SageMaker hosting services.

Args:
inputs (str or dict or sagemaker.inputs.TrainingInput): Information
about the training data. This can be one of three types:
inputs (str or dict or sagemaker.inputs.TrainingInput or
sagemaker.inputs.FileSystemInput): Information about the training data.
This can be one of four types:

* (str) the S3 location where training data is saved, or a file:// path in
local mode.
Expand All @@ -662,7 +663,7 @@ def fit(self, inputs=None, wait=True, logs="All", job_name=None, experiment_conf
that can provide additional information as well as the path to the training
dataset.
See :func:`sagemaker.inputs.TrainingInput` for full details.
* (sagemaker.session.FileSystemInput) - channel configuration for
* (sagemaker.inputs.FileSystemInput) - channel configuration for
a file system data source that can provide additional information as well as
the path to the training dataset.

Expand Down