Category "categorical-data"

Error: cannot allocate vector of size X Gb Rstudio

Never had this problem before but now it's constantly there for any piece of code I write. > sessionInfo() R version 4.0.2 (2020-06-22) Platform: x86_64-w64-

Feature-Engine RareLabelEncoder: ValueError: could not convert string to float: 'Rare'

from sklearn.compose import make_column_transformer from sklearn.preprocessing import StandardScaler from feature_engine.encoding import RareLabelEncoder from f

Getting ValueError: y contains new labels when using scikit learn's LabelEncoder

I have a series like: df['ID'] = ['ABC123', 'IDF345', ...] I'm using scikit's LabelEncoder to convert it to numerical values to be fed into the RandomForestC