All Questions
1 question
1
vote
1
answer
139
views
How to Predict Polynomial Regression Python with Nominal Data type
import pandas as pd
from sklearn.model_selection import train_test_split
from sklearn.metrics import r2_score
from sklearn.preprocessing import PolynomialFeatures
df = pd.read_csv("diamonds.csv&...