ML model is failing to impute values
问题 I've tried creating an ML model to make some predictions, but I keep running into a stumbling block. Namely, the code seems to be ignoring the imputation instructions I give it, resulting in the following error: ValueError: Input contains NaN, infinity or a value too large for dtype('float64'). Here's my code: import pandas as pd import numpy as np from sklearn.ensemble import AdaBoostRegressor from category_encoders import CatBoostEncoder from sklearn.compose import make_column_transformer