Search code examples
pythoncsvimportpybrain

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 ?

The C0m4's code is nice but for a full sample (link below).

How to load training data in PyBrain?

Is it possible for missing data sample ? And how to do that ? By what replace the missing values ?

Regards


Solution

  • You need to replace the missing values by others like e.g. means, or delete rows with missing data.

    With mean you introduce bias and deleting you may reduce the sample...