question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to handle incremental addition of new models?

See original GitHub issue

Hi, I’d like to incrementally add more models / architectures to my study like this:

list_of_models = ["LinReg", "some_new_model"]
model_type = trial.suggest_categorical("model_type", list_of_models)

However, when I try to append more models I get this error: ValueError: CategoricalDistribution does not support dynamic value space.

Is there a good way to solve this issue?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
nzw0301commented, Jan 28, 2021

How about using suggest_int with a dynamic range instead of using suggest_categorical?

0reactions
github-actions[bot]commented, Jun 1, 2021

This issue was closed automatically because it had not seen any recent activity. If you want to discuss it, you can reopen it freely.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Incremental models - dbt Developer Hub
Using an incremental model limits the amount of data that needs to be transformed, vastly reducing the runtime of your transformations. This ...
Read more >
Keep improving your models with incremental learning
This can be achieved by re-training the models with the old and the new data. While the training dataset grows, the training time...
Read more >
Incremental Models (Faisal El Shami) - YouTube
This recording is from the virtual Berlin dbt Meetup that took place on November 18th, 2021. (Co-hosted by TIER Mobility and dbt Labs)Title: ......
Read more >
About Incremental Loading - ZAP Data Hub
Quick incremental loading may be useful for data models that require, say, hourly addition of new transactions, but where changes to existing transactions ......
Read more >
The What, Why, When, and How of Incremental Loads
What is an incremental data load and why is it important? In this post, we review the merits of using incremental loads in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found