Skip to content

Commit

Permalink
fix reference to _quoted in h2o module
Browse files Browse the repository at this point in the history
  • Loading branch information
spennihana committed Oct 29, 2015
1 parent a21ebce commit f55dc31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion h2o-py/h2o/estimators/estimator_base.py
Expand Up @@ -132,7 +132,7 @@ def _model_build(self, x, y, tframe, vframe, kwargs):
folds = kwargs["fold_column"]
weights= kwargs["weights_column"]
ignored_columns = list(set(tframe.names) - set(x + [y,offset,folds,weights]))
kwargs["ignored_columns"] = None if ignored_columns==[] else [h2o._quoted(col) for col in ignored_columns]
kwargs["ignored_columns"] = None if ignored_columns==[] else [h2o.h2o._quoted(col) for col in ignored_columns]
kwargs = dict([(k, (kwargs[k]).frame_id if isinstance(kwargs[k], H2OFrame) else kwargs[k]) for k in kwargs if kwargs[k] is not None]) # gruesome one-liner
algo = self._compute_algo()

Expand Down

0 comments on commit f55dc31

Please sign in to comment.