[scikit-learn] error code linear models

2024-02-03 Thread carlos gonzalez
Se encuentra nuevo error en guia de models linear: from sklearn.compose import make_column_transformer from sklearn.preprocessing import OneHotEncoder categorical_columns = ["RACE", "OCCUPATION", "SECTOR", "MARR", "UNION", "SEX", "SOUTH"] numerical_columns = ["EDUCATION", "EXPERIENCE", "AGE"] pr

[scikit-learn] error code linear models

2024-02-03 Thread carlos gonzalez
Dear friends, this is a friend from Latin America reporting the error in one of his guides, the one on linear problems, which in the following paragraph represents a variable through (sns): train_dataset = X_train.copy() train_dataset.insert(0, "WAGE", y_train) _ = sns.pairplot(train_dataset, kind