Stock Price Prediction, Linear Regression.
Label Encoding # Convert categorical features to continuous features with Label Encoding from sklearn.preprocessing import LabelEncoder lencoders = {} for col in X.select_dtypes(include=['object']).columns: lencoders[col] = LabelEncoder() X[col] = lencoders[col].fit_transform(X[col]) 5- Handling