Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revised benchmark model.

  • Loading branch information...
commit 36f8569ac4a3c936ba62f8762a7dbb75bfe4b4a1 1 parent dd6342f
@johnmyleswhite authored
Showing with 17 additions and 0 deletions.
  1. +17 −0 example_model_2.R
View
17 example_model_2.R
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.