Permalink
Browse files

Revised benchmark model.

  • Loading branch information...
1 parent dd6342f commit 36f8569ac4a3c936ba62f8762a7dbb75bfe4b4a1 @johnmyleswhite committed Oct 16, 2010
Showing with 17 additions and 0 deletions.
  1. +17 −0 example_model_2.R
View
@@ -0,0 +1,17 @@
+#!/usr/bin/Rscript
+
+library('ProjectTemplate')
+try(load.project())
+
+logit.fit <- glm(Installed ~ LogDependencyCount +
+ LogSuggestionCount +
+ LogImportCount +
+ LogViewsIncluding +
+ LogPackagesMaintaining +
+ CorePackage +
+ RecommendedPackage +
+ factor(User),
+ data = training.data,
+ family = binomial(link = 'logit'))
+
+summary(logit.fit)

0 comments on commit 36f8569

Please sign in to comment.