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.

Optimization is very slow

See original GitHub issue

Hi,

I think there is something wrong with the way BO runs at my machine. The BO process is very slow and gets slower with every iteration. I understand that some slowdown can be expected but not this much - from 3 sec to 5 mins.

Bayesian Optimization
----------------------------------------------------------------
 Step |   Time |      Value |   colsample_bytree |   subsample | 
    5 | 00m05s |    0.79714 |             0.6500 |      0.9990 | 
    6 | 00m06s |    0.79917 |             0.6500 |      0.6500 | 
    7 | 00m03s |    0.79250 |             0.6500 |      0.8206 | 
    8 | 05m13s |    0.79464 |             0.9990 |      0.9990 |

I tried some profiling and see that most of the time i spent here:


   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
    96854  207.735    0.002  214.026    0.002 basic.py:227(solve_triangular)

The CPU i working a lot during this time.

I have all requirements up to date and installed from pip (linux 64 bit)

Is it normal behaviour? If not, any idea how to solve it?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
KOLANICHcommented, Aug 7, 2019

@KOLANICH what other optimizers have you used? any of them do Bayesian optimization?

Here is the list: https://gitlab.com/KOLANICH/UniOpt.py/tree/master/UniOpt/backends

1reaction
fmfncommented, Aug 7, 2019

I resisted intervening here since the optimizer could be made faster by the user. However I decided to bite the bullet and make the changes. See #176

Read more comments on GitHub >

github_iconTop Results From Across the Web

6 Reasons Why Your Website Is Slow and How to Fix It | Inc.com
Reason 1: Low-quality hosting services. ... Website speed optimization starts way before you have an actual website. Finding a high-quality ...
Read more >
Optimization speed is very very slow - WordPress.org
Hi, We are using your plugins but optimizations speed is very very slow. STATISTICS Space saved : 4 MB Total reduction : 46.81...
Read more >
21 Reasons Your Website is Slow and How to Speed it Up
First, make sure that you have taken steps to optimize your website so that it is not taking too much of the server's...
Read more >
How to Optimize Your Slow Windows Computer - Instructables
1. Malware, spyware, and adware can slow down your computer tremendously. Though there are many free utilities out there that can scan your...
Read more >
Optimization is really slow - HyperMesh - Altair Products
I'm having problems with the topology optimization of one brake pedal that I'm trying to optimize. It seems to be all ok with...
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