#scikit — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #scikit, aggregated by home.social.
-
Today’s learning 🗒️
Instead of spending an hour building a SAS Viya Decision Tree manually, I:
→ Built it with Python scikit-learn
→ Answered workbook questions before opening SAS
→ Verified, screenshot, export PDF
→ A full SASPy automation pipeline -
Today’s learning 🗒️
Instead of spending an hour building a SAS Viya Decision Tree manually, I:
→ Built it with Python scikit-learn
→ Answered workbook questions before opening SAS
→ Verified, screenshot, export PDF
→ A full SASPy automation pipeline -
Today’s learning 🗒️
Instead of spending an hour building a SAS Viya Decision Tree manually, I:
→ Built it with Python scikit-learn
→ Answered workbook questions before opening SAS
→ Verified, screenshot, export PDF
→ A full SASPy automation pipeline -
Today’s learning 🗒️
Instead of spending an hour building a SAS Viya Decision Tree manually, I:
→ Built it with Python scikit-learn
→ Answered workbook questions before opening SAS
→ Verified, screenshot, export PDF
→ A full SASPy automation pipeline -
Today’s learning 🗒️
Instead of spending an hour building a SAS Viya Decision Tree manually, I:
→ Built it with Python scikit-learn
→ Answered workbook questions before opening SAS
→ Verified, screenshot, export PDF
→ A full SASPy automation pipeline -
A sci-kit image experiment #skimage #scikit Code at: https://github.com/villares/sketch-a-day/tree/main/2024/sketch_2024_12_06
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
I really need your support to keep going, if you can, donate any amount at: https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724 #Processing #Python #py5 #CreativeCoding -
A sci-kit image experiment #skimage #scikit Code at: https://github.com/villares/sketch-a-day/tree/main/2024/sketch_2024_12_06
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
I really need your support to keep going, if you can, donate any amount at: https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724 #Processing #Python #py5 #CreativeCoding -
A sci-kit image experiment #skimage #scikit Code at: https://github.com/villares/sketch-a-day/tree/main/2024/sketch_2024_12_06
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
I really need your support to keep going, if you can, donate any amount at: https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724 #Processing #Python #py5 #CreativeCoding -
A sci-kit image experiment #skimage #scikit Code at: https://github.com/villares/sketch-a-day/tree/main/2024/sketch_2024_12_06
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
I really need your support to keep going, if you can, donate any amount at: https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724 #Processing #Python #py5 #CreativeCoding -
A sci-kit image experiment #skimage #scikit Code at: https://github.com/villares/sketch-a-day/tree/main/2024/sketch_2024_12_06
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
I really need your support to keep going, if you can, donate any amount at: https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724 #Processing #Python #py5 #CreativeCoding -
📝🐍 Шпаргалка з #Python з акцентом на #DataScience
Зокрема, наводяться приклади використання #JupyterNotebook, #NumPy, #SciPy, #Pandas, #Scikit, #Matplotlib, #Seaborn, #Bokeh.
-
📝🐍 Шпаргалка з #Python з акцентом на #DataScience
Зокрема, наводяться приклади використання #JupyterNotebook, #NumPy, #SciPy, #Pandas, #Scikit, #Matplotlib, #Seaborn, #Bokeh.
-
📝🐍 Шпаргалка з #Python з акцентом на #DataScience
Зокрема, наводяться приклади використання #JupyterNotebook, #NumPy, #SciPy, #Pandas, #Scikit, #Matplotlib, #Seaborn, #Bokeh.
-
📝🐍 Шпаргалка з #Python з акцентом на #DataScience
Зокрема, наводяться приклади використання #JupyterNotebook, #NumPy, #SciPy, #Pandas, #Scikit, #Matplotlib, #Seaborn, #Bokeh.
-
📝🐍 Шпаргалка з #Python з акцентом на #DataScience
Зокрема, наводяться приклади використання #JupyterNotebook, #NumPy, #SciPy, #Pandas, #Scikit, #Matplotlib, #Seaborn, #Bokeh.
-
The Python community is huge and diverse, in some aspects. I always like to point how professional software development is just a fraction of the huge number of ways that software is created. I remember seeing threads here o Mastodon of #Python developers who didn't understand why people used #conda (from Anaconda inc.) package management... Well, it is 2024 and there are parts of #scikit, scikit-geometry, you can't install with #pip :(( ... I wish I could have it on pip, to be honest, but large parts of the scientific community will use conda, and that's it.
-
The Python community is huge and diverse, in some aspects. I always like to point how professional software development is just a fraction of the huge number of ways that software is created. I remember seeing threads here o Mastodon of #Python developers who didn't understand why people used #conda (from Anaconda inc.) package management... Well, it is 2024 and there are parts of #scikit, scikit-geometry, you can't install with #pip :(( ... I wish I could have it on pip, to be honest, but large parts of the scientific community will use conda, and that's it.
-
The Python community is huge and diverse, in some aspects. I always like to point how professional software development is just a fraction of the huge number of ways that software is created. I remember seeing threads here o Mastodon of #Python developers who didn't understand why people used #conda (from Anaconda inc.) package management... Well, it is 2024 and there are parts of #scikit, scikit-geometry, you can't install with #pip :(( ... I wish I could have it on pip, to be honest, but large parts of the scientific community will use conda, and that's it.
-
The Python community is huge and diverse, in some aspects. I always like to point how professional software development is just a fraction of the huge number of ways that software is created. I remember seeing threads here o Mastodon of #Python developers who didn't understand why people used #conda (from Anaconda inc.) package management... Well, it is 2024 and there are parts of #scikit, scikit-geometry, you can't install with #pip :(( ... I wish I could have it on pip, to be honest, but large parts of the scientific community will use conda, and that's it.
-
The Python community is huge and diverse, in some aspects. I always like to point how professional software development is just a fraction of the huge number of ways that software is created. I remember seeing threads here o Mastodon of #Python developers who didn't understand why people used #conda (from Anaconda inc.) package management... Well, it is 2024 and there are parts of #scikit, scikit-geometry, you can't install with #pip :(( ... I wish I could have it on pip, to be honest, but large parts of the scientific community will use conda, and that's it.
-
One of my favorite #scikit-hep #python packages is #vector https://github.com/scikit-hep/vector by @henryiii et.al. Provides #numpy / awkward-arrays of 3 & 4-vectors with broadcasted vector methods, including relativistic operations such as #lorentz boosting, as one might now from #ROOT vectors. Such a nice abstraction, writing vector math is as easy as doing it by hand and also runs super fast. Using this package almost feels like cheating. 1/N
-
AH! Got the flash to use *image* processing functions for detecting pulses in a *sound file*. 😜
Sachez que skimage.morphology.closing() and skimage.measure.label() both work on 1D images 😎
but not regionprops, faut pas pousser... #python #soundprocessing #scikit-image #atomicsynchronator -
AH! Got the flash to use *image* processing functions for detecting pulses in a *sound file*. 😜
Sachez que skimage.morphology.closing() and skimage.measure.label() both work on 1D images 😎
but not regionprops, faut pas pousser... #python #soundprocessing #scikit-image #atomicsynchronator -
Can you name that algorithm based on this dataflow representation?
It's Linear Discriminant Analysis as implemented by Scikit Learn!
I finished up a notebook showing how you can build an Array API compatible library with the egglog e-graph library in Python and use that to optimize a #scikit-learn algorithm with #numba
https://egg-smol-python.readthedocs.io/en/stable/tutorials/sklearn.html
For more context, I gave a talk on the broader goals this summer:
https://egg-smol-python.readthedocs.io/en/stable/explanation/2023_07_presentation.html
-
'HiClass: a Python Library for Local Hierarchical Classification Compatible with Scikit-learn', by Fábio M. Miranda, Niklas Köhnecke, Bernhard Y. Renard.
http://jmlr.org/papers/v24/21-1518.html
#hiclass #hierarchical #scikit -
Wydarzył się cud! Udało mi się doprowadzić testy #SciKit Image do działania bez Internetu w #Gentoo!
Na marginesie:
1. Autorzy włączają większość niezbędnych danych w archiwum sdist. Tyle że ich nie używają, i zamiast tego ściągają je drugi raz, prosto z repozytorium na GitHubie. Wzdych. (Jeżeli czyta to któryś z autorów, proszę o udawanie, żeście tego nie widzieili i nie usuwanie tych plików z archiwum sdist. Dzięki.)
2. Na dodatek, pobierają dodatkowe dane dla testów z dodatkowego repozytorium na GitLabie, i przenoszą i zmieniają nazwy plików.
3. Tak, dobrze widzicie. Kod jest na GitHubie, dane dla testów na GitLab.com (nie własnej instancji).https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0110ec020dbdb46c859e584609ab056fcafa10c6
-
Wydarzył się cud! Udało mi się doprowadzić testy #SciKit Image do działania bez Internetu w #Gentoo!
Na marginesie:
1. Autorzy włączają większość niezbędnych danych w archiwum sdist. Tyle że ich nie używają, i zamiast tego ściągają je drugi raz, prosto z repozytorium na GitHubie. Wzdych. (Jeżeli czyta to któryś z autorów, proszę o udawanie, żeście tego nie widzieili i nie usuwanie tych plików z archiwum sdist. Dzięki.)
2. Na dodatek, pobierają dodatkowe dane dla testów z dodatkowego repozytorium na GitLabie, i przenoszą i zmieniają nazwy plików.
3. Tak, dobrze widzicie. Kod jest na GitHubie, dane dla testów na GitLab.com (nie własnej instancji).https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0110ec020dbdb46c859e584609ab056fcafa10c6
-
Wydarzył się cud! Udało mi się doprowadzić testy #SciKit Image do działania bez Internetu w #Gentoo!
Na marginesie:
1. Autorzy włączają większość niezbędnych danych w archiwum sdist. Tyle że ich nie używają, i zamiast tego ściągają je drugi raz, prosto z repozytorium na GitHubie. Wzdych. (Jeżeli czyta to któryś z autorów, proszę o udawanie, żeście tego nie widzieili i nie usuwanie tych plików z archiwum sdist. Dzięki.)
2. Na dodatek, pobierają dodatkowe dane dla testów z dodatkowego repozytorium na GitLabie, i przenoszą i zmieniają nazwy plików.
3. Tak, dobrze widzicie. Kod jest na GitHubie, dane dla testów na GitLab.com (nie własnej instancji).https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0110ec020dbdb46c859e584609ab056fcafa10c6
-
Wydarzył się cud! Udało mi się doprowadzić testy #SciKit Image do działania bez Internetu w #Gentoo!
Na marginesie:
1. Autorzy włączają większość niezbędnych danych w archiwum sdist. Tyle że ich nie używają, i zamiast tego ściągają je drugi raz, prosto z repozytorium na GitHubie. Wzdych. (Jeżeli czyta to któryś z autorów, proszę o udawanie, żeście tego nie widzieili i nie usuwanie tych plików z archiwum sdist. Dzięki.)
2. Na dodatek, pobierają dodatkowe dane dla testów z dodatkowego repozytorium na GitLabie, i przenoszą i zmieniają nazwy plików.
3. Tak, dobrze widzicie. Kod jest na GitHubie, dane dla testów na GitLab.com (nie własnej instancji).https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0110ec020dbdb46c859e584609ab056fcafa10c6
-
Wydarzył się cud! Udało mi się doprowadzić testy #SciKit Image do działania bez Internetu w #Gentoo!
Na marginesie:
1. Autorzy włączają większość niezbędnych danych w archiwum sdist. Tyle że ich nie używają, i zamiast tego ściągają je drugi raz, prosto z repozytorium na GitHubie. Wzdych. (Jeżeli czyta to któryś z autorów, proszę o udawanie, żeście tego nie widzieili i nie usuwanie tych plików z archiwum sdist. Dzięki.)
2. Na dodatek, pobierają dodatkowe dane dla testów z dodatkowego repozytorium na GitLabie, i przenoszą i zmieniają nazwy plików.
3. Tak, dobrze widzicie. Kod jest na GitHubie, dane dla testów na GitLab.com (nie własnej instancji).https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0110ec020dbdb46c859e584609ab056fcafa10c6
-
It's a miracle! I've managed to make #SciKit Image tests work offline in #Gentoo!
That said:
1. Upstream includes most of the test data in sdist. Except they don't use it, and instead fetch it all from the GitHub repository. Sigh. (If you're upstream, please pretend you didn't see this and do not remove the data from sdist. Thanks.)
2. On top of that, they fetch more test data from an additional GitLab repository, and move and rename it around.
3. Yes, you've read right. They keep code on GitHub, but test data on GitLab.com (not self-hosted).https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0110ec020dbdb46c859e584609ab056fcafa10c6
-
It's a miracle! I've managed to make #SciKit Image tests work offline in #Gentoo!
That said:
1. Upstream includes most of the test data in sdist. Except they don't use it, and instead fetch it all from the GitHub repository. Sigh. (If you're upstream, please pretend you didn't see this and do not remove the data from sdist. Thanks.)
2. On top of that, they fetch more test data from an additional GitLab repository, and move and rename it around.
3. Yes, you've read right. They keep code on GitHub, but test data on GitLab.com (not self-hosted).https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0110ec020dbdb46c859e584609ab056fcafa10c6
-
It's a miracle! I've managed to make #SciKit Image tests work offline in #Gentoo!
That said:
1. Upstream includes most of the test data in sdist. Except they don't use it, and instead fetch it all from the GitHub repository. Sigh. (If you're upstream, please pretend you didn't see this and do not remove the data from sdist. Thanks.)
2. On top of that, they fetch more test data from an additional GitLab repository, and move and rename it around.
3. Yes, you've read right. They keep code on GitHub, but test data on GitLab.com (not self-hosted).https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0110ec020dbdb46c859e584609ab056fcafa10c6
-
It's a miracle! I've managed to make #SciKit Image tests work offline in #Gentoo!
That said:
1. Upstream includes most of the test data in sdist. Except they don't use it, and instead fetch it all from the GitHub repository. Sigh. (If you're upstream, please pretend you didn't see this and do not remove the data from sdist. Thanks.)
2. On top of that, they fetch more test data from an additional GitLab repository, and move and rename it around.
3. Yes, you've read right. They keep code on GitHub, but test data on GitLab.com (not self-hosted).https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0110ec020dbdb46c859e584609ab056fcafa10c6
-
It's a miracle! I've managed to make #SciKit Image tests work offline in #Gentoo!
That said:
1. Upstream includes most of the test data in sdist. Except they don't use it, and instead fetch it all from the GitHub repository. Sigh. (If you're upstream, please pretend you didn't see this and do not remove the data from sdist. Thanks.)
2. On top of that, they fetch more test data from an additional GitLab repository, and move and rename it around.
3. Yes, you've read right. They keep code on GitHub, but test data on GitLab.com (not self-hosted).https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0110ec020dbdb46c859e584609ab056fcafa10c6
-
#SciKit-Build skopiowało zepsutą logikę nazywania katalogu budowy z #setuptools. Tak więc używa katalogu "3.10" zarówno dla CPythona 3.10, jak i dla #PyPy 3.10. Podczas gdy w setuptools ma to pomniejsze konsekwencje i można to łatwo obejść (zmieniając katalog budowy), ze SciKit-Build nie ma tak łatwo. Budowa dla CPythona 3.10 używa cache'a z PyPy 3.10 i instaluje moduły z PyPy 3.10. Tak, serio, kompletnie niewłaściwe, bezużyteczne pliki.
A najlepsze w tym wszystkim? Autorzy o tym doskonale wiedzą, i mają to w dupie: "Nie sądzę, że powinniśmy zrobić to lepiej niż setuptools" (tłum. własne). No super, po prostu zajebiście. Tyle że w setuptools można trywalnie zmienić katalog budowania, a SciKit-Build wymusza "_skbuild".
https://github.com/scikit-build/scikit-build/issues/633#issuecomment-1021846731
-
#SciKit-Build skopiowało zepsutą logikę nazywania katalogu budowy z #setuptools. Tak więc używa katalogu "3.10" zarówno dla CPythona 3.10, jak i dla #PyPy 3.10. Podczas gdy w setuptools ma to pomniejsze konsekwencje i można to łatwo obejść (zmieniając katalog budowy), ze SciKit-Build nie ma tak łatwo. Budowa dla CPythona 3.10 używa cache'a z PyPy 3.10 i instaluje moduły z PyPy 3.10. Tak, serio, kompletnie niewłaściwe, bezużyteczne pliki.
A najlepsze w tym wszystkim? Autorzy o tym doskonale wiedzą, i mają to w dupie: "Nie sądzę, że powinniśmy zrobić to lepiej niż setuptools" (tłum. własne). No super, po prostu zajebiście. Tyle że w setuptools można trywalnie zmienić katalog budowania, a SciKit-Build wymusza "_skbuild".
https://github.com/scikit-build/scikit-build/issues/633#issuecomment-1021846731
-
#SciKit-Build skopiowało zepsutą logikę nazywania katalogu budowy z #setuptools. Tak więc używa katalogu "3.10" zarówno dla CPythona 3.10, jak i dla #PyPy 3.10. Podczas gdy w setuptools ma to pomniejsze konsekwencje i można to łatwo obejść (zmieniając katalog budowy), ze SciKit-Build nie ma tak łatwo. Budowa dla CPythona 3.10 używa cache'a z PyPy 3.10 i instaluje moduły z PyPy 3.10. Tak, serio, kompletnie niewłaściwe, bezużyteczne pliki.
A najlepsze w tym wszystkim? Autorzy o tym doskonale wiedzą, i mają to w dupie: "Nie sądzę, że powinniśmy zrobić to lepiej niż setuptools" (tłum. własne). No super, po prostu zajebiście. Tyle że w setuptools można trywalnie zmienić katalog budowania, a SciKit-Build wymusza "_skbuild".
https://github.com/scikit-build/scikit-build/issues/633#issuecomment-1021846731
-
#SciKit-Build skopiowało zepsutą logikę nazywania katalogu budowy z #setuptools. Tak więc używa katalogu "3.10" zarówno dla CPythona 3.10, jak i dla #PyPy 3.10. Podczas gdy w setuptools ma to pomniejsze konsekwencje i można to łatwo obejść (zmieniając katalog budowy), ze SciKit-Build nie ma tak łatwo. Budowa dla CPythona 3.10 używa cache'a z PyPy 3.10 i instaluje moduły z PyPy 3.10. Tak, serio, kompletnie niewłaściwe, bezużyteczne pliki.
A najlepsze w tym wszystkim? Autorzy o tym doskonale wiedzą, i mają to w dupie: "Nie sądzę, że powinniśmy zrobić to lepiej niż setuptools" (tłum. własne). No super, po prostu zajebiście. Tyle że w setuptools można trywalnie zmienić katalog budowania, a SciKit-Build wymusza "_skbuild".
https://github.com/scikit-build/scikit-build/issues/633#issuecomment-1021846731
-
#SciKit-Build skopiowało zepsutą logikę nazywania katalogu budowy z #setuptools. Tak więc używa katalogu "3.10" zarówno dla CPythona 3.10, jak i dla #PyPy 3.10. Podczas gdy w setuptools ma to pomniejsze konsekwencje i można to łatwo obejść (zmieniając katalog budowy), ze SciKit-Build nie ma tak łatwo. Budowa dla CPythona 3.10 używa cache'a z PyPy 3.10 i instaluje moduły z PyPy 3.10. Tak, serio, kompletnie niewłaściwe, bezużyteczne pliki.
A najlepsze w tym wszystkim? Autorzy o tym doskonale wiedzą, i mają to w dupie: "Nie sądzę, że powinniśmy zrobić to lepiej niż setuptools" (tłum. własne). No super, po prostu zajebiście. Tyle że w setuptools można trywalnie zmienić katalog budowania, a SciKit-Build wymusza "_skbuild".
https://github.com/scikit-build/scikit-build/issues/633#issuecomment-1021846731
-
#SciKit-Build copied the broken build directory naming logic from #setuptools. As a result, it uses a "3.10" directory both for CPython 3.10 and for #PyPy 3.10. Whereas with setuptools this has minor consequences and can be trivially worked around (via overriding build directories), this isn't the case for SciKit-Build. Here it means that the subsequent build for CPython 3.10 reuses the cache from PyPy 3.10 and installs PyPy 3.10 modules. Yes, seriously, completely wrong, useless files.
The best part? They know about it, and they just don't care: "I don't think we should do better than setuptools". Sure, great. Except that we can trivially globally override build directory in setuptools, and SciKit-Build just forces "_skbuild" on us.
https://github.com/scikit-build/scikit-build/issues/633#issuecomment-1021846731
-
#SciKit-Build copied the broken build directory naming logic from #setuptools. As a result, it uses a "3.10" directory both for CPython 3.10 and for #PyPy 3.10. Whereas with setuptools this has minor consequences and can be trivially worked around (via overriding build directories), this isn't the case for SciKit-Build. Here it means that the subsequent build for CPython 3.10 reuses the cache from PyPy 3.10 and installs PyPy 3.10 modules. Yes, seriously, completely wrong, useless files.
The best part? They know about it, and they just don't care: "I don't think we should do better than setuptools". Sure, great. Except that we can trivially globally override build directory in setuptools, and SciKit-Build just forces "_skbuild" on us.
https://github.com/scikit-build/scikit-build/issues/633#issuecomment-1021846731
-
#SciKit-Build copied the broken build directory naming logic from #setuptools. As a result, it uses a "3.10" directory both for CPython 3.10 and for #PyPy 3.10. Whereas with setuptools this has minor consequences and can be trivially worked around (via overriding build directories), this isn't the case for SciKit-Build. Here it means that the subsequent build for CPython 3.10 reuses the cache from PyPy 3.10 and installs PyPy 3.10 modules. Yes, seriously, completely wrong, useless files.
The best part? They know about it, and they just don't care: "I don't think we should do better than setuptools". Sure, great. Except that we can trivially globally override build directory in setuptools, and SciKit-Build just forces "_skbuild" on us.
https://github.com/scikit-build/scikit-build/issues/633#issuecomment-1021846731
-
#SciKit-Build copied the broken build directory naming logic from #setuptools. As a result, it uses a "3.10" directory both for CPython 3.10 and for #PyPy 3.10. Whereas with setuptools this has minor consequences and can be trivially worked around (via overriding build directories), this isn't the case for SciKit-Build. Here it means that the subsequent build for CPython 3.10 reuses the cache from PyPy 3.10 and installs PyPy 3.10 modules. Yes, seriously, completely wrong, useless files.
The best part? They know about it, and they just don't care: "I don't think we should do better than setuptools". Sure, great. Except that we can trivially globally override build directory in setuptools, and SciKit-Build just forces "_skbuild" on us.
https://github.com/scikit-build/scikit-build/issues/633#issuecomment-1021846731
-
#SciKit-Build copied the broken build directory naming logic from #setuptools. As a result, it uses a "3.10" directory both for CPython 3.10 and for #PyPy 3.10. Whereas with setuptools this has minor consequences and can be trivially worked around (via overriding build directories), this isn't the case for SciKit-Build. Here it means that the subsequent build for CPython 3.10 reuses the cache from PyPy 3.10 and installs PyPy 3.10 modules. Yes, seriously, completely wrong, useless files.
The best part? They know about it, and they just don't care: "I don't think we should do better than setuptools". Sure, great. Except that we can trivially globally override build directory in setuptools, and SciKit-Build just forces "_skbuild" on us.
https://github.com/scikit-build/scikit-build/issues/633#issuecomment-1021846731