Vuong Ngo (Viktor)
Vuong Ngo (Viktor)
Some places need to use `iloc` to slice instead of default accessors. ```python def _best_split(self, X, y, feat_idxs): best_gain = -1 split_idx, split_threshold = None, None for feat_idx in feat_idxs:...
https://github.com/khanhnamle1994/MetaRec/blob/master/Autoencoders-Experiments/CDAE-PyTorch/DataUtils.py at line 55, 56 ```python num_items_by_user = data.groupby('user', as_index=False).size() num_users_by_item = data.groupby('item', as_index=False).size() ``` Does the as_index should be set to True because the later convert to pandas dataframe...