setSagemakerBinary: Create setting for sagemaker model

Description Usage Arguments Examples

View source: R/SageMakerBinary.R

Description

Create setting for sagemaker model

Usage

1
2
3
4
5
6
7
8
setSagemakerBinary(
  classifier = "xgboost",
  bucket,
  prefix = "data",
  roleArn,
  otherparams = NULL,
  seed = NULL
)

Arguments

classifier

The name of the sagemaker binary classifier to use (pick from: knn, xgboost or linear-learner)

bucket

The s3 bucker string to save data for model training

prefix

The s3 subdirectory for the data

roleArn

The amazon roleArn

otherparams

Other parameters for training (currently not working)

seed

The seed for the training

Examples

1
2
3
4
## Not run: 
model.sm <- setSagemakerBinary(classifier='gxboost',  bucket='ohdsi3')

## End(Not run)                           

OHDSI/PatientLevelPrediction documentation built on Aug. 30, 2020, 9:33 a.m.