Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个回归模型,并想使用 Predicion 更新一些数据。更新用于机器学习目的的 api。
更新类“setOutput function”的java api doc对我来说不是很清楚。它将输出值表示为“回归或类标签”。这是否意味着对于回归模型,我应该调用 setOutPut("regression")?。
另外,如何验证我的更新是否成功?谢谢。
它应该是您的训练实例的输出值。
例如,如果您有一个电影评级实例,例如:
Rating Genre Title 10 Crime Godfather
输出应该是 10,其余的应该放在 csvInstance 中。
prediction.trainedmodels.get,查看modelInfo/numberInstances,是数字加1吗?