I want to Study and analyzing of algorithms and make predictions on key data for different sports.
There are 3 #'s.
1. the screens predicted number
2. our predicted number
3. the outcome number
Prediction works like, #2 predicts the right side of #1 with #3 at a rate of 57% or higher.
Does logistic regression work for this sort of scenario?
Train = pd.read_csv("Train_Data.csv")
x1=["screen_predict","our_predict"]
test=pd.read_csv("Test_Data.csv")
# fit a logistic regression model to the data
model = LogisticRegression()
model.fit(Train[x1], Train["outcome"])
print(model)
print model.predict_proba(test[x1])
Is this correct way to go? How can I fulfil the condition - #2 predicts the right side of #1 with #3 at a rate of 57% or higher.
There are 3 #'s.
1. the screens predicted number
2. our predicted number
3. the outcome number
Prediction works like, #2 predicts the right side of #1 with #3 at a rate of 57% or higher.
Does logistic regression work for this sort of scenario?
Train = pd.read_csv("Train_Data.csv")
x1=["screen_predict","our_predict"]
test=pd.read_csv("Test_Data.csv")
# fit a logistic regression model to the data
model = LogisticRegression()
model.fit(Train[x1], Train["outcome"])
print(model)
print model.predict_proba(test[x1])
Is this correct way to go? How can I fulfil the condition - #2 predicts the right side of #1 with #3 at a rate of 57% or higher.