text_html_output_1.png
from sklearn.linear_model import LinearRegression

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)

df.predict([[5.1, 2.5, 1.1]])

df.predict([[7.5, 3.0, 1.8]])

df.predict([[4.6, 3.5, 0.2]])