Skip to content

API to construct MLJ-proper model from standalone model #159

Description

@adienes
julia> enet = ElasticNetRegression()
GeneralizedLinearRegression{L2Loss, CompositePenalty}
  loss: L2Loss L2Loss()
  penalty: CompositePenalty
  fit_intercept: Bool true
  penalize_intercept: Bool false
  scale_penalty_with_samples: Bool true


julia> ElasticNetRegressor(enet)
ERROR: MethodError: no method matching ElasticNetRegressor(::GeneralizedLinearRegression{L2Loss, CompositePenalty})

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      priority low / straightforward

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions