I want to fit a logistic regression model that predicts Y using X1 and X2. What I know is that we use the following method:
x_train, x_test, y_train, y_test = train_test_split(X,Y,test_size)
and then
model = LogisticRegression()
model.fit(x_train,y_train)
To predict Y using X, I don't know how to train the data using more than one predictor. Any help, please?