我正在查看Amazon Sagemaker中两个估算器SKLearn和Tensorflow的定义:
class sagemaker.sklearn.estimator.SKLearn(entry_point, framework_version='0.20.0', source_dir=None, hyperparameters=None, py_version='py3', image_name=None, **kwargs)
class sagemaker.tensorflow.estimator.TensorFlow(training_steps=None, evaluation_steps=None, checkpoint_path=None, py_version='py2', framework_version=None, model_dir=None, requirements_file='', image_name=None, script_mode=False, distributions=None, **kwargs)
Tensorflow带有requirements_file参数,而SKLearn没有。有什么理由吗?如何将requirements.txt
添加到SKLearn估算器?