datapoint [[ ]poly_datapoint polynomial fit_transform(datapointpoly_linear_model linear_model linearregression(poly_linear_model fit(x_train_transformedy_trainprint("\nlinear regression:\ "reg_linear_mul predict(datapoint)print("\npolynomial regression:\ "poly_linear_model predict(poly_datapoint)output linear regression[ polynomial regression[ in the above codewe have used this small data if you want big dataset thenyou can use sklearn dataset to import bigger dataset , , ,, , ,, , , , , , , , ,, , , , ,, , ,, , ,, , , , , ,, , , , , ,, , ,, , ,, , ,, , , , , ,