Commit a47782f5 authored by Nikita Titov's avatar Nikita Titov Committed by Guolin Ke
Browse files

added estimator's tags (#2150)

parent cfcc020e
......@@ -290,6 +290,10 @@ class LGBMModel(_LGBMModelBase):
self._n_classes = None
self.set_params(**kwargs)
def _more_tags(self):
return {'allow_nan': True,
'X_types': ['2darray', 'sparse', '1dlabels']}
def get_params(self, deep=True):
"""Get parameters for this estimator.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment