Skip to content

Commit 0efeacf

Browse files
authored
Fix links in KMeans docstring (#254)
1 parent 1e4c545 commit 0efeacf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/sagemaker/amazon/kmeans.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def __init__(self, role, train_instance_count, train_instance_type, k, init_meth
5252
:class:`~sagemaker.amazon.record_pb2.Record` protobuf serialized data to be stored in S3.
5353
5454
To learn more about the Amazon protobuf Record class and how to prepare bulk data in this format, please
55-
consult AWS technical documentation: https://alpha-docs-aws.amazon.com/sagemaker/latest/dg/cdf-training.html
55+
consult AWS technical documentation: https://docs.aws.amazon.com/sagemaker/latest/dg/cdf-training.html.
5656
5757
After this Estimator is fit, model data is stored in S3. The model may be deployed to an Amazon SageMaker
5858
Endpoint by invoking :meth:`~sagemaker.amazon.estimator.EstimatorBase.deploy`. As well as deploying an Endpoint,
@@ -61,14 +61,13 @@ def __init__(self, role, train_instance_count, train_instance_type, k, init_meth
6161
6262
KMeans Estimators can be configured by setting hyperparameters. The available hyperparameters for KMeans
6363
are documented below. For further information on the AWS KMeans algorithm, please consult AWS technical
64-
documentation: https://alpha-docs-aws.amazon.com/sagemaker/latest/dg/k-means.html
64+
documentation: https://docs.aws.amazon.com/sagemaker/latest/dg/k-means.html.
6565
6666
Args:
6767
role (str): An AWS IAM role (either name or full ARN). The Amazon SageMaker training jobs and
6868
APIs that create Amazon SageMaker endpoints use this role to access
6969
training data and model artifacts. After the endpoint is created,
7070
the inference code might use the IAM role, if accessing AWS resource.
71-
For more information, see <link>???.
7271
train_instance_count (int): Number of Amazon EC2 instances to use for training.
7372
train_instance_type (str): Type of EC2 instance to use for training, for example, 'ml.c4.xlarge'.
7473
k (int): The number of clusters to produce.

0 commit comments

Comments
 (0)