GitHub user p4nna opened a pull request:
https://github.com/apache/flink/pull/3620
[FLINK-5785] Add an Imputer for preparing data
Provides an imputer method which adds missing values to a sparse DataSet of
vectors. Those can be filled with the mean, the median or the most frequent
value of each row or optionally column. Like that incomplete data don't have to
be thrown away, but rather can be used to train a machine learning algorithm
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/p4nna/flink ml-Imputer-edits
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/3620.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3620
----
commit f2875ac5890564213d5f055d710976d1fede3962
Author: p4nna <[email protected]>
Date: 2017-03-27T09:47:39Z
Add files via upload
commit 8e6909b52dad34d6c4cd6c84618616ac50cd83d1
Author: p4nna <[email protected]>
Date: 2017-03-27T09:49:59Z
Test for Imputer class
Two testclasses which test the functions implemented in the new imputer
class. One for the rowwise imputing over all vectors and one for the vectorwise
imputing
commit 0c420a84c136b330135ce180db04d899b5a6f54c
Author: p4nna <[email protected]>
Date: 2017-03-27T09:56:51Z
removed unused imports and methods
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---