Orange3如何重新应用预处理到新数据(Orange3 how to reapply preprocessing to new data)

编程入门 行业动态 更新时间:2024-10-22 02:39:30
Orange3如何重新应用预处理到新数据(Orange3 how to reapply preprocessing to new data)

有没有办法将训练数据集中的预处理重新应用到实验数据的新数据集,以便将转换后的数据提交给已经训练过的分类器?

Is there any way to reapply a preprocessment done in a training dataset to a new dataset of experimental data for submission of the transformed data to the already trained classifier?

最满意答案

预处理器修改训练数据集上的domain 。 如果你想对测试(实验)数据应用相同的转换,你显然必须将它转换到同一个域,就像Orange的内置预测器似乎那样:

train = preprocess(train) test = Table(train.domain, test)

The preprocessor modifies the domain on the training data set. If you want to apply the same transformations on the testing (experimental) data, you apparently have to cast it into the same domain, as the Orange's built-in predictors seem to do:

train = preprocess(train) test = Table(train.domain, test)

更多推荐

本文发布于:2023-07-31 00:55:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1340529.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:到新   数据   data   preprocessing   reapply

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!