From 8be19567a2115c2fa591b26944164ffa098f83c1 Mon Sep 17 00:00:00 2001 From: Bill Nunney Date: Thu, 9 Mar 2017 14:41:15 -0500 Subject: [PATCH] Update imputation example to use transform method (#57) --- .../machine-learning/preprocessing/imputation-missing-values.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/machine-learning/preprocessing/imputation-missing-values.md b/docs/machine-learning/preprocessing/imputation-missing-values.md index 5bbefec..48a5b3a 100644 --- a/docs/machine-learning/preprocessing/imputation-missing-values.md +++ b/docs/machine-learning/preprocessing/imputation-missing-values.md @@ -34,7 +34,7 @@ $data = [ ]; $imputer = new Imputer(null, new MeanStrategy(), Imputer::AXIS_COLUMN); -$imputer->preprocess($data); +$imputer->transform($data); /* $data = [