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.

Pruner example code is missing training data

See original GitHub issue

When run, all pruner examples give: NameError: name 'X_train' is not defined Current documentation with faulty examples: https://optuna.readthedocs.io/en/stable/reference/pruners.html

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
barneyhillcommented, Mar 24, 2020

Thank you @toshihikoyanase for your quick feedback. I’'ll attempt to add the training data to all relavant code examples by the end of today.

0reactions
hvycommented, May 22, 2020

Latest PR is ongoing at #1221.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PROMISSING: Pruning Missing Values in Neural Networks
In this study, we propose a simple and intuitive yet effective method for pruning missing values (PROMISSING) during learning and inference ...
Read more >
PROMISSING: Pruning Missing Values in Neural Networks
In this study, we propose a simple and intuitive yet effective method for pruning missing values (PROMISSING) during learning and inference steps in...
Read more >
Pruning in Keras example | TensorFlow Model Optimization
In this example, you start the model with 50% sparsity (50% zeros in weights) and end with 80% sparsity.
Read more >
A Method of Pruning and Random Replacing of Known ... - MDPI
This paper describes a research work on missing data imputation. Among the most common methods, the method that best imputes values to the...
Read more >
Decision Tree: build, prune and visualize it using Python
sample of the data. Missing values. We have some missing values for 'age'. To fix it, we could run some predictive analysis and...
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