text_html_output_1.png
from sklearn.linear_model import LinearRegression

from sklearn.metrics import mean_squared_error, mean_absolute_error

import pandas as pd

import pandas as pd
from pathlib import Path
df = pd.read_csv('/kaggle/input/iris/Iris.csv')

from sklearn.linear_model import LinearRegression
df = LinearRegression()
df.fit(X_train, y_train)
predictions = df.predict(X_test)

from sklearn.metrics import mean_squared_error, mean_absolute_error
print('mean_squared_error : ', mean_squared_error(y_test, predictions))
print('mean_absolute_error : ', mean_absolute_error(y_test, predictions))