Note: This task assumes the use of
scikit-learn version 1.2.2. Use the Iris dataset from the scikit-learn library. Create a GaussianNB model and specify the prior probabilities of the classes as [0.2, 0.1, 0.7]. Train the model and make predictions on the test dataset. Obtain the classification report and find the lowest precision among all classes. Use this as the answer.
Start your pipeline using the code provided below.
from sklearn.datasets import load_iris
from sklearn.model_selection import train_test_split
from sklearn.naive_bayes import GaussianNB
X, y = load_iris(return_X_y = True)
X_train, X_test, y_train, y_test = train_test_split(X, y, random_state=2)