我正在尝试使用Random-Forest在Sagemaker上运行一些训练,它给了我这个验证错误。我不确定是否需要调整超参数。我试过了,但仍然是一个错误。以下是该错误的全文。
“失败原因ClientError:无法初始化算法。无法验证输入数据配置。(由ValidationError引起)原因:u‘’FullyReplicated‘不是u'ShardedByS3Key’之一,无法验证架构‘’properties‘u’‘properties’中的u‘’enum‘:u’‘enum’:u'ShardedByS3Key',u‘’type‘:u’‘string’} On instanceu‘’train‘:u’‘FullyReplicated’”
我尝试了不同的参数-但我仍然得到了相同的结果。
发布于 2019-06-02 19:55:43
您的输入规范似乎不正确。请参阅Python SDK https://github.com/awslabs/amazon-sagemaker-examples/blob/master/introduction_to_amazon_algorithms/random_cut_forest/random_cut_forest.ipynb的SageMaker RCF输入文档,这里有https://docs.aws.amazon.com/sagemaker/latest/dg/randomcutforest.html#rcf-input_output和随机采伐森林实例化的示例。另外,请注意SageMaker没有内置的随机森林。SageMaker随机采伐森林不同于随机森林,它进行无监督的异常检测。
https://stackoverflow.com/questions/56399173
复制相似问题