Which types of data model we can test

like which format don't know i have some model i want to check the accuracy using logistic regression for the accuracy

I download some models

where my task to predict feathers for the same model using Secure KNN algorithm

Looks at the below codes

like which format don't know i have some model i want to check the accuracy using logistic regression for the accuracy

I download some models

where my task to predict feathers for the same model using Secure KNN algorithm

Looks at the below codes

# read in the iris data from sklearn.datasets import load_iris iris = load_iris() # create X (features) and y (response) X = iris.data y = iris.target # import the class from sklearn.linear_model import LogisticRegression # instantiate the model (using the default parameters) logreg = LogisticRegression() # fit the model with data logreg.fit(X, y) # predict the response values for the observations in X logreg.predict(X) # store the predicted response values y_pred = logreg.predict(X) # check how many predictions were generated len(y_pred)