Remove y=None argument in the transform() method
parent
b5cbdc9276
commit
143ef4b1db
|
@ -911,7 +911,7 @@
|
|||
" self.add_bedrooms_per_room = add_bedrooms_per_room\n",
|
||||
" def fit(self, X, y=None):\n",
|
||||
" return self # nothing else to do\n",
|
||||
" def transform(self, X, y=None):\n",
|
||||
" def transform(self, X):\n",
|
||||
" rooms_per_household = X[:, rooms_ix] / X[:, households_ix]\n",
|
||||
" population_per_household = X[:, population_ix] / X[:, households_ix]\n",
|
||||
" if self.add_bedrooms_per_room:\n",
|
||||
|
|
Loading…
Reference in New Issue