Relative Content

Tag Archive for normalizationone-hot-encoding

ML model deployment, error in MinMaxScaler

This script is used to predict the risk of heart disease for a user based on the user’s input data. Extra Tree classifier with get-dumies encoder for categorical features and MinMaxScaler for numeric features. import pandas as pd pd.set_option(‘display.max_columns’, None) import numpy as np import joblib from sklearn.preprocessing import MinMaxScaler import get_patient_data as gpd try: […]