Skip to content

Update the SDM type with a trained flag #513

@tpoisot

Description

@tpoisot

Can be done without breaking backwards compat

  1. add a trained::Bool = false field
  2. train! sets trained to true
  3. hyperparameters! sets trained to false
  4. predict throws an UntrainedModelError when called on a model with !trained
  5. the show method started with [UNTRAINED]

Metadata

Metadata

Assignees

Labels

🏖️ low effortIssue that can be tackled without too much problem🧑‍🏫 educationIssue related to workshops/classes🧠 SDeMoChanges primarily affecting or taking place in SDeMo

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions