简体   繁体   中英

sagemaker - factorization machines - deserialize model

I estimated a factorization machine model in sagemaker and it saved a file model.tar.gz into an s3 folder.

Is there a way I can load this file in Python and access the parameter of the model, ie the factors, directly?

Thanks

As of April 2019: yes. An official AWS blog post was created to show how to open the SageMaker Factorization Machines artifact and extract its parameters: https://aws.amazon.com/blogs/machine-learning/extending-amazon-sagemaker-factorization-machines-algorithm-to-predict-top-x-recommendations/

That being said, be aware that Amazon SageMaker built-in algorithm are primarily built for deployment on AWS, and only SageMaker XGBoost and SageMaker BlazingText are designed to produce artifacts interoperable with their open-source equivalent.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM