-
Notifications
You must be signed in to change notification settings - Fork 141
Closed
Labels
Description
Hi,
Thanks for sharing this awesome work. I wanted to inform about some issues with the HTFA tutorial:
- The small pieman_dataset2.zip is no longer available on the website indicated in the notebook. Downloading the full dataset or any other dataset from the recommended ones takes very long because the bandwidth seems to be limited and the files are huge (multi-gigabyte)
- Even after downloading some sample data, the TFA function is no longer working. This is the error I obtained after trying to execute it:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/IPython/core/formatters.py in __call__(self, obj, include, exclude)
968 d['include'] = include
969 d['exclude'] = exclude
--> 970 return method(**d)
971 return None
972 else:
8 frames
/usr/local/lib/python3.7/dist-packages/sklearn/base.py in _repr_mimebundle_(self, **kwargs)
607 def _repr_mimebundle_(self, **kwargs):
608 """Mime bundle used by jupyter kernels to display estimator"""
--> 609 output = {"text/plain": repr(self)}
610 if get_config()["display"] == "diagram":
611 output["text/html"] = estimator_html_repr(self)
/usr/local/lib/python3.7/dist-packages/sklearn/base.py in __repr__(self, N_CHAR_MAX)
272 )
273
--> 274 repr_ = pp.pformat(self)
275
276 # Use bruteforce ellipsis when there are a lot of non-blank characters
/usr/lib/python3.7/pprint.py in pformat(self, object)
142 def pformat(self, object):
143 sio = _StringIO()
--> 144 self._format(object, sio, 0, 0, {}, 0)
145 return sio.getvalue()
146
/usr/lib/python3.7/pprint.py in _format(self, object, stream, indent, allowance, context, level)
159 self._readable = False
160 return
--> 161 rep = self._repr(object, context, level)
162 max_width = self._width - indent - allowance
163 if len(rep) > max_width:
/usr/lib/python3.7/pprint.py in _repr(self, object, context, level)
391 def _repr(self, object, context, level):
392 repr, readable, recursive = self.format(object, context.copy(),
--> 393 self._depth, level)
394 if not readable:
395 self._readable = False
/usr/local/lib/python3.7/dist-packages/sklearn/utils/_pprint.py in format(self, object, context, maxlevels, level)
188 def format(self, object, context, maxlevels, level):
189 return _safe_repr(
--> 190 object, context, maxlevels, level, changed_only=self._changed_only
191 )
192
/usr/local/lib/python3.7/dist-packages/sklearn/utils/_pprint.py in _safe_repr(object, context, maxlevels, level, changed_only)
438 recursive = False
439 if changed_only:
--> 440 params = _changed_params(object)
441 else:
442 params = object.get_params(deep=False)
/usr/local/lib/python3.7/dist-packages/sklearn/utils/_pprint.py in _changed_params(estimator)
91 estimator with non-default values."""
92
---> 93 params = estimator.get_params(deep=False)
94 init_func = getattr(estimator.__init__, "deprecated_original", estimator.__init__)
95 init_params = inspect.signature(init_func).parameters
/usr/local/lib/python3.7/dist-packages/sklearn/base.py in get_params(self, deep)
203 out = dict()
204 for key in self._get_param_names():
--> 205 value = getattr(self, key)
206 if deep and hasattr(value, "get_params"):
207 deep_items = value.get_params().items()
AttributeError: 'TFA' object has no attribute 'max_iter'I will appreciate if you could please look into this. Thank you.