home.social

#scipy — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #scipy, aggregated by home.social.

  1. Scipy: "Fundamental algorithms for scientific computing in Python".
    scipy.org

    I do not know how to use it but who has will.

    (It is open source)

    #scipy #opensource #usefulweb #algorithm #python #py #programming #tool

  2. Scipy: "Fundamental algorithms for scientific computing in Python".
    scipy.org

    I do not know how to use it but who has will.

    (It is open source)

    #scipy #opensource #usefulweb #algorithm #python #py #programming #tool

  3. Scipy: "Fundamental algorithms for scientific computing in Python".
    scipy.org

    I do not know how to use it but who has will.

    (It is open source)

    #scipy #opensource #usefulweb #algorithm #python #py #programming #tool

  4. Scipy: "Fundamental algorithms for scientific computing in Python".
    scipy.org

    I do not know how to use it but who has will.

    (It is open source)

    #scipy #opensource #usefulweb #algorithm #python #py #programming #tool

  5. Ускоряем и оптимизируем numpy, pandas, scipy и sklearn

    С момента публикации статьи на Хабре « Импортозамещаем numpy, pandas, scipy и sklearn » прошло почти три года. В течение этого времени я приостановил работу над проектом из-за нехватки времени, ресурсов и сил. К тому же, меня расстроило, что не смог выполнить просьбу пользователя @N-Cube , который активно интересовался моей библиотекой и хотел ускорить работу своего Jupyter Notebook. В самый критический момент на помощь пришел волшебный AI, который, хоть и иногда проявлял недостаток гибкости, с готовностью исполнял все пожелания своего хозяина. Благодаря этому проект начал продвигаться вперед. За это время в библиотеки были добавлены поддержка CUDA, множество ручных SIMD-оптимизаций с динамическим выбором SIMD, несколько реализаций линейной регрессии и многое другое. Давайте рассмотрим, что на сегодняшний день позволяет сделать моя библиотека. Я представлю несколько тестовых примеров в двух вариантах: с использованием AVX-2 на процессоре Intel® Core™ i7-4790K и AVX-512 на Intel® Xeon. Также покажу результаты замеров для каждого из них. Все тесты проводились без использования GPU, исключительно на процессоре. Это позволяет сравнивать производительность Python и моей библиотеки на равных условиях. Операционная система – Ubuntu 24.04, компилятор – GNU 13.3.0.

    habr.com/ru/articles/1039866/

    #C++ #numpy #pandas #scipy #sklearn #opensource #datascience #data_analysis

  6. Ускоряем и оптимизируем numpy, pandas, scipy и sklearn

    С момента публикации статьи на Хабре « Импортозамещаем numpy, pandas, scipy и sklearn » прошло почти три года. В течение этого времени я приостановил работу над проектом из-за нехватки времени, ресурсов и сил. К тому же, меня расстроило, что не смог выполнить просьбу пользователя @N-Cube , который активно интересовался моей библиотекой и хотел ускорить работу своего Jupyter Notebook. В самый критический момент на помощь пришел волшебный AI, который, хоть и иногда проявлял недостаток гибкости, с готовностью исполнял все пожелания своего хозяина. Благодаря этому проект начал продвигаться вперед. За это время в библиотеки были добавлены поддержка CUDA, множество ручных SIMD-оптимизаций с динамическим выбором SIMD, несколько реализаций линейной регрессии и многое другое. Давайте рассмотрим, что на сегодняшний день позволяет сделать моя библиотека. Я представлю несколько тестовых примеров в двух вариантах: с использованием AVX-2 на процессоре Intel® Core™ i7-4790K и AVX-512 на Intel® Xeon. Также покажу результаты замеров для каждого из них. Все тесты проводились без использования GPU, исключительно на процессоре. Это позволяет сравнивать производительность Python и моей библиотеки на равных условиях. Операционная система – Ubuntu 24.04, компилятор – GNU 13.3.0.

    habr.com/ru/articles/1039866/

    #C++ #numpy #pandas #scipy #sklearn #opensource #datascience #data_analysis

  7. Ускоряем и оптимизируем numpy, pandas, scipy и sklearn

    С момента публикации статьи на Хабре « Импортозамещаем numpy, pandas, scipy и sklearn » прошло почти три года. В течение этого времени я приостановил работу над проектом из-за нехватки времени, ресурсов и сил. К тому же, меня расстроило, что не смог выполнить просьбу пользователя @N-Cube , который активно интересовался моей библиотекой и хотел ускорить работу своего Jupyter Notebook. В самый критический момент на помощь пришел волшебный AI, который, хоть и иногда проявлял недостаток гибкости, с готовностью исполнял все пожелания своего хозяина. Благодаря этому проект начал продвигаться вперед. За это время в библиотеки были добавлены поддержка CUDA, множество ручных SIMD-оптимизаций с динамическим выбором SIMD, несколько реализаций линейной регрессии и многое другое. Давайте рассмотрим, что на сегодняшний день позволяет сделать моя библиотека. Я представлю несколько тестовых примеров в двух вариантах: с использованием AVX-2 на процессоре Intel® Core™ i7-4790K и AVX-512 на Intel® Xeon. Также покажу результаты замеров для каждого из них. Все тесты проводились без использования GPU, исключительно на процессоре. Это позволяет сравнивать производительность Python и моей библиотеки на равных условиях. Операционная система – Ubuntu 24.04, компилятор – GNU 13.3.0.

    habr.com/ru/articles/1039866/

    #C++ #numpy #pandas #scipy #sklearn #opensource #datascience #data_analysis

  8. - statistical distributions in are great too. I even used a scaled-shifted beta-prime distribution a few weeks ago! (???) (Still :julia: Distributions.jl is my fave)
    - works exactly as expected (which is great) but the post-processing of mcmc draws is a bit more cumbersome in Python than in R in my opinion (arviz in Python vs posterior in R) although this might again be matplotlib vs ggplot (did I mention I am not a matplotlib fan?)

    4/n

  9. - statistical distributions in #scipy are great too. I even used a scaled-shifted beta-prime distribution a few weeks ago! (???) (Still #julialang :julia: Distributions.jl is my fave)
    - #cmdstanpy works exactly as expected (which is great) but the post-processing of mcmc draws is a bit more cumbersome in Python than in R in my opinion (arviz in Python vs posterior in R) although this might again be matplotlib vs ggplot (did I mention I am not a matplotlib fan?)

    4/n

  10. - statistical distributions in #scipy are great too. I even used a scaled-shifted beta-prime distribution a few weeks ago! (???) (Still #julialang :julia: Distributions.jl is my fave)
    - #cmdstanpy works exactly as expected (which is great) but the post-processing of mcmc draws is a bit more cumbersome in Python than in R in my opinion (arviz in Python vs posterior in R) although this might again be matplotlib vs ggplot (did I mention I am not a matplotlib fan?)

    4/n

  11. - statistical distributions in #scipy are great too. I even used a scaled-shifted beta-prime distribution a few weeks ago! (???) (Still #julialang :julia: Distributions.jl is my fave)
    - #cmdstanpy works exactly as expected (which is great) but the post-processing of mcmc draws is a bit more cumbersome in Python than in R in my opinion (arviz in Python vs posterior in R) although this might again be matplotlib vs ggplot (did I mention I am not a matplotlib fan?)

    4/n

  12. - statistical distributions in #scipy are great too. I even used a scaled-shifted beta-prime distribution a few weeks ago! (???) (Still #julialang :julia: Distributions.jl is my fave)
    - #cmdstanpy works exactly as expected (which is great) but the post-processing of mcmc draws is a bit more cumbersome in Python than in R in my opinion (arviz in Python vs posterior in R) although this might again be matplotlib vs ggplot (did I mention I am not a matplotlib fan?)

    4/n

  13. That's a wrap, #PyConUS! I loved all the conversational talks, documentation writing, and PRS this week. Looking forward to following up with many of you and more collaborations in the future!

    If you missed the #python dashboarding tutorial using Shiny, I have all my materials here: chendaniely.github.io/pycon-20

    If you missed it, hopefully I'll catch you at #SciPy in July!

  14. That's a wrap, #PyConUS! I loved all the conversational talks, documentation writing, and PRS this week. Looking forward to following up with many of you and more collaborations in the future!

    If you missed the #python dashboarding tutorial using Shiny, I have all my materials here: chendaniely.github.io/pycon-20

    If you missed it, hopefully I'll catch you at #SciPy in July!

  15. That's a wrap, #PyConUS! I loved all the conversational talks, documentation writing, and PRS this week. Looking forward to following up with many of you and more collaborations in the future!

    If you missed the #python dashboarding tutorial using Shiny, I have all my materials here: chendaniely.github.io/pycon-20

    If you missed it, hopefully I'll catch you at #SciPy in July!

  16. That's a wrap, #PyConUS! I loved all the conversational talks, documentation writing, and PRS this week. Looking forward to following up with many of you and more collaborations in the future!

    If you missed the #python dashboarding tutorial using Shiny, I have all my materials here: chendaniely.github.io/pycon-20

    If you missed it, hopefully I'll catch you at #SciPy in July!

  17. That's a wrap, #PyConUS! I loved all the conversational talks, documentation writing, and PRS this week. Looking forward to following up with many of you and more collaborations in the future!

    If you missed the #python dashboarding tutorial using Shiny, I have all my materials here: chendaniely.github.io/pycon-20

    If you missed it, hopefully I'll catch you at #SciPy in July!

  18. @rzeta0 my friend, what do you think about the code using np.roll() (in the linked sketch)?

    I'm afraid it would be a bit hard to explain on a short class. So I'll use the simpler inefficient function...

    The next big step in efficiency would be using #scipy I think:

    def count_live_neighbors(status):
    """Counts the number of neighboring live cells"""
    kernel = np.array([
    [1, 1, 1],
    [1, 0, 1],
    [1, 1, 1]
    ])
    return scipy.signal.convolve2d(status, kernel, mode='same', boundary="wrap")
  19. @rzeta0 my friend, what do you think about the code using np.roll() (in the linked sketch)?

    I'm afraid it would be a bit hard to explain on a short class. So I'll use the simpler inefficient function...

    The next big step in efficiency would be using #scipy I think:

    def count_live_neighbors(status):
    """Counts the number of neighboring live cells"""
    kernel = np.array([
    [1, 1, 1],
    [1, 0, 1],
    [1, 1, 1]
    ])
    return scipy.signal.convolve2d(status, kernel, mode='same', boundary="wrap")
  20. @rzeta0 my friend, what do you think about the code using np.roll() (in the linked sketch)?

    I'm afraid it would be a bit hard to explain on a short class. So I'll use the simpler inefficient function...

    The next big step in efficiency would be using #scipy I think:

    def count_live_neighbors(status):
    """Counts the number of neighboring live cells"""
    kernel = np.array([
    [1, 1, 1],
    [1, 0, 1],
    [1, 1, 1]
    ])
    return scipy.signal.convolve2d(status, kernel, mode='same', boundary="wrap")
  21. @rzeta0 my friend, what do you think about the code using np.roll() (in the linked sketch)?

    I'm afraid it would be a bit hard to explain on a short class. So I'll use the simpler inefficient function...

    The next big step in efficiency would be using #scipy I think:

    def count_live_neighbors(status):
    """Counts the number of neighboring live cells"""
    kernel = np.array([
    [1, 1, 1],
    [1, 0, 1],
    [1, 1, 1]
    ])
    return scipy.signal.convolve2d(status, kernel, mode='same', boundary="wrap")
  22. @rzeta0 my friend, what do you think about the code using np.roll() (in the linked sketch)?

    I'm afraid it would be a bit hard to explain on a short class. So I'll use the simpler inefficient function...

    The next big step in efficiency would be using #scipy I think:

    def count_live_neighbors(status):
    """Counts the number of neighboring live cells"""
    kernel = np.array([
    [1, 1, 1],
    [1, 0, 1],
    [1, 1, 1]
    ])
    return scipy.signal.convolve2d(status, kernel, mode='same', boundary="wrap")
  23. Hi all,

    Hope you're fine and safe

    An important #announcement about #tyssue , a Python modeling library :

    github.com/DamCB/tyssue/blob/m

    Please 🔁 this message to reach the few and far apart people that might be impacted :pray:

    #openScience #scipy

  24. Hi all,

    Hope you're fine and safe

    An important #announcement about #tyssue , a Python modeling library :

    github.com/DamCB/tyssue/blob/m

    Please 🔁 this message to reach the few and far apart people that might be impacted :pray:

    #openScience #scipy

  25. Hi all,

    Hope you're fine and safe

    An important #announcement about #tyssue , a Python modeling library :

    github.com/DamCB/tyssue/blob/m

    Please 🔁 this message to reach the few and far apart people that might be impacted :pray:

    #openScience #scipy

  26. Hi all,

    Hope you're fine and safe

    An important #announcement about #tyssue , a Python modeling library :

    github.com/DamCB/tyssue/blob/m

    Please 🔁 this message to reach the few and far apart people that might be impacted :pray:

    #openScience #scipy

  27. Hi all,

    Hope you're fine and safe

    An important #announcement about #tyssue , a Python modeling library :

    github.com/DamCB/tyssue/blob/m

    Please 🔁 this message to reach the few and far apart people that might be impacted :pray:

    #openScience #scipy