简体   繁体   English

导入pybrain示例中缺少数据的CSV

[英]import CSV with missing data in pybrain sample

Can we use missing data in the sample for pybrain and can we import it from csv ? 我们是否可以将样本中缺少的数据用于pybrain并可以从csv导入?

The C0m4's code is nice but for a full sample (link below). C0m4的代码不错,但是有完整的示例(下面的链接)。

How to load training data in PyBrain? 如何在PyBrain中加载训练数据?

Is it possible for missing data sample ? 是否有可能丢失数据样本? And how to do that ? 以及如何做到这一点? By what replace the missing values ? 用什么替换缺失值?

Regards 问候

You need to replace the missing values by others like eg means, or delete rows with missing data. 您需要用其他方式(例如均值)替换丢失的值,或删除包含丢失数据的行。

With mean you introduce bias and deleting you may reduce the sample... 意味着您会引入偏见,而删除则可能会减少样本...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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