Logistic Regression 10

Sign in to test your solution.
train <- (Year < 2005) glm.fit <- glm(Direction ~ Lag1 + Lag2, data = Smarket, family = binomial, subset = train) predict(...)
You can submit as many times as you like. Only your latest submission will be taken into account.
Sign in to test your solution.