Skip to content

Error in abs(coefs) #35

@paulhendricks

Description

@paulhendricks

Code:

library(easyml)

# Load data
political_ideology <- read.csv("../../data/political_ideology.csv", 
                               stringsAsFactors = FALSE)

# Analyze data
easy_glmnet(political_ideology, "y", 
            family = "binomial", random_state = 1, n_core = 8)

Result:

Error in abs(coefs) : non-numeric argument to mathematical function
In addition: Warning message:
In matrix(unlist(output), ncol = ncol(X) + 1, byrow = TRUE) :
  data length [1000] is not a sub-multiple or multiple of the number of columns [7472]

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions