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.

Instantiate estimator from best parameters

See original GitHub issue

Hello!

First off, I absolutely love the interface and easy integration/documentation you provide!! And hats off for @jakubczakon whom provided with great tutorials! However I stumbled on a problem when retrieving the best results. I saved artifacts but I’m not successful in retrieving them.

>>> exp = project.get_experiments('BAY-59')[0]
>>> artifacts = exp.download_artifacts()
>>> print(artifacts)
None

And if i try by retrieving the best results by project.get_leaderboard(‘BAY-59’) the results is a string.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
aniezurawskicommented, Jan 7, 2020

Hi @hugwi

  1. download_artifacts() does not return any value. It downloads artifact files to your disk. See https://docs.neptune.ml/neptune-client/docs/experiment.html?highlight=download_artifact

  2. get_leaderboard returns pandas.core.frame.DataFrame. Maybe try to use get_experiments instead. It return list of Experiment objects.

1reaction
kamil-kaczmarekcommented, Jan 7, 2020

Hey @hugwi,

Thanks for your kind words 😃

Just a quick note: download_artifact() - downloads your data to your disk (docs).

None is returned as a result of that method. Check destination_dir (see docs for help) - your data is there.

Best, Kamil

Read more comments on GitHub >

github_iconTop Results From Across the Web

3.2. Tuning the hyper-parameters of an estimator - Scikit-learn
Hyper-parameters are parameters that are not directly learnt within estimators. In scikit-learn they are passed as arguments to the constructor of the estimator...
Read more >
How to pass elegantly Sklearn's GridseachCV's best ...
I just want to point out that using the grid.best_parameters and pass ... method which will use these best parameters for you by...
Read more >
RandomizedSearchCV to find Optimal Parameters in Python
Know how to find optimal parameters using randomizedsearchcv with ... Results from Random Search The best estimator across ALL searched ...
Read more >
Set and get hyperparameters in scikit-learn - GitHub Pages
These internal parameters are called hyperparameters and are specific for each family of models. In addition, a specific set of hyperparameters are optimal...
Read more >
How to find the best model parameters in scikit-learn - YouTube
In this video, you'll learn how to efficiently search for the optimal tuning parameters (or "hyperparameters") for your machine learning ...
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