Skip to content
#

glm

Here are 235 public repositories matching this topic...

pseudotensor
pseudotensor commented Oct 8, 2017

The basic idea is to have a metrics package, we can start with ROC/AUC (first on GPU, then if necessary on CPU). It should mimic the SKLearn API and results:

http://scikit-learn.org/stable/modules/generated/sklearn.metrics.roc_auc_score.html

Requirements:

  1. GPU implementation. It can use Thrust and other libraries as first step.
  2. Bindings for other languages (currently CTypes but soo
vincentarelbundock
vincentarelbundock commented Feb 18, 2019

Please specify whether your issue is about:

  • a possible bug
  • a question about package functionality
  • a suggested code or documentation change, improvement to the code, or feature request

What is the proper way to specify factor values in the at list?

library(margins)
dat <- mtcars
dat$cyl <- as.factor(dat$cyl)
mod <- lm(mpg ~ cyl + hp, dat)
margins(mod, at 
davidruegamer
davidruegamer commented Apr 26, 2019
library(mboost)

myiris <- as.list(iris)
myiris$class <- factor(levels(iris$Species)[-nlevels(iris$Species)])

## Now fit the linear array model
mlm <- mboost(Species ~ bols(Sepal.Length, df = 2) %O%
                bols(class, df = 2, contrasts.arg = "contr.dummy"),
              data = myiris,
              family = Multinomial())

# works
predict(mlm)
# gives weird error messa

Improve this page

Add a description, image, and links to the glm topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the glm topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.