Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问通过平台训练完的模型是如何保存的? #113

Open
rudyMcgee opened this issue Nov 22, 2019 · 2 comments
Open

请问通过平台训练完的模型是如何保存的? #113

rudyMcgee opened this issue Nov 22, 2019 · 2 comments

Comments

@rudyMcgee
Copy link

No description provided.

@sinllychen
Copy link
Contributor

@rudyMcgee 以文件形式进行存储

@rudyMcgee
Copy link
Author

@rudyMcgee 以文件形式进行存储

谢谢你的回复,我还是想咨询一下

我用spark多个特征处理算子对原始数据进行处理,最后通过决策树训练分类,请问怎么导出最终模型?

环境:scala 2.11.11,spark2.4,pmml

步骤描述:最近看了你们的这个项目,想仿照写一个小的例子,然后我定义了多个object class,每个class完成一种数据处理功能,然后输出一个新的文件提供给下一个class作为输入,从而完成一连串的数据转换及特征提取工作,最后输出文件用于决策树分类训练,从而得到训练模型。

问题:请问我该如何导出最终训练完的模型的pmml文件?如果只在决策树class中导出pmml模型,那么此pmml模型是不是不包含前面的一串数据处理方法?如果我部署此pmml模型,那么调用的时候是不是不能直接传入源数据?

本人机器学习小白,谢谢帮助

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants