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.

Discussion

Now I’m trying to introduce CMA-ES with Margin, and I’m thinking of putting scipy dependency into this repository. Specifically, I’d like to use chi2.ppf in the following. https://github.com/scipy/scipy/blob/v1.9.1/scipy/stats/_continuous_distns.py#L1343-L1407 It might be possible to implement chi2.ppf without scipy, but it seems to be a bit difficult (at least for me).

Optuna, which employs this repository for using CMA-ES, already requires scipy, so I think this doesn’t become a problem. https://github.com/optuna/optuna/blob/master/setup.py#L39

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
c-batacommented, Sep 1, 2022

I can work for removing scipy in the next month (if you hope so). When we’re implementing it from scratch, I think it is better to compare the accuracy and computational time with scipy.

Sounds great 👍 As you said, we should compare the accuracy though.

0reactions
c-batacommented, Nov 8, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation - SciPy
Pyzo: A free distribution based on Anaconda and the IEP interactive development environment; Supports Linux, Windows, and Mac. Installing with Pip. You can ......
Read more >
SciPy - PyPI
SciPy (pronounced “Sigh Pie”) is an open-source software for mathematics, science, and engineering. It includes modules for statistics, optimization, ...
Read more >
Installing SciPy with pip - python - Stack Overflow
In Ubuntu 10.04 (Lucid), I could successfully pip install scipy (within a virtualenv) after installing some of its dependencies, ...
Read more >
Python Dependencies - Everything You Need to Know
Dependency conflicts occur when different Python packages have the same dependency, but depend on different and incompatible versions of that ...
Read more >
Managing an R Package's Python Dependencies • reticulate
If you're writing an R package that uses reticulate as an interface to a Python session, you likely also need to install one...
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