Skip to content

probabilities are on the wrong scale; type should be "response" #2

@nickhir

Description

@nickhir

I just came across the package and thought it might be very useful. However, I think there might be a small mistake in line 39of the sex_inference_model.R script. I think the type should be set to "response", otherwise log-odds are returned which does not correspond to the intended probabilities.

probabilities <- lasso.model %>% predict(newx = x.test)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions