python

Back Open Paginator
21.08.2025 12:42
habr (@habr@zhub.link)

Shap-графики: как наглядно объяснить заказчику логику работы модели

Всем привет. Я Андрей Бояренков, лидер кластера бизнес-моделей стрима "Разработка моделей КИБ и СМБ" банка ВТБ. В этой статье расскажу о том, какие на мой взгляд типы графиков необходимо построить, чтобы наиболее оптимальным образом показать заказчику логику работы фичей в моделях.

habr.com/ru/companies/vtb/arti

#shap #machine_learning #catboost #data_science #python #моделирование




Show Original Post


21.08.2025 12:08
iamkonstantin (@iamkonstantin@mastodon.social)

I understand the joy around uv as a shiny new package manager, but that's literary a corp attempting to insert itself as "the ecosystem". It's a tried and true way of taking something open and moving it into "investor space" for further merdification.




Show Original Post


21.08.2025 12:00
pyxelstudio (@pyxelstudio@mastodon.social)

LA CHAT-VERNE
🕹️ pyxelstudio.net/3wk7zrqu





Show Original Post


21.08.2025 10:59
driscollis (@driscollis@mastodon.social)

Pop Quiz 🐍❓

What is the output of the following code?

A) 255
B) 256
C) ff
D) 377





Show Original Post


21.08.2025 10:45
hn50 (@hn50@social.lansky.name)

Python f-string cheat sheets (2022)

Link: fstring.help/cheat/
Discussion: news.ycombinator.com/item?id=4

#python




Show Original Post


21.08.2025 10:30
s4mdf0o1 (@s4mdf0o1@piaille.fr)

Elle m'a notamment fournit des scripts de config #vim à mon propre goût et usages (sauvegarde et restauration de sessions dans des projets #python ), à partir de custom plugin sessions.vim, à chargement auto, énorme.




Show Original Post


21.08.2025 10:27
pythonrennes (@pythonrennes@social.breizhcamp.org)

après avoir abordé la gestion de dépendances côté projet #Python avec #uv, Astral travaille sur #pyx, un projet de service numérique pour gérer les paquets Python en alternative à @pypi ou aux autres packages registries : astral.sh/blog/introducing-pyx

L'outil n'est pas encore disponible au grand public.




Show Original Post


21.08.2025 10:12
pythonrennes (@pythonrennes@social.breizhcamp.org)

un article de Savannah Bailey qui articule différents sujets #Python bas niveau de façon abordable :
- la façon dont l'interpréteur python parse le code source
- les arbres de syntaxe produits #AST
- leur représentation binaire
- les optimisations faites par le compilateur à la volée #JIT

savannah.dev/posts/how-your-co




Show Original Post


21.08.2025 09:27
GripNews (@GripNews@mastodon.social)

🌕 Google Pytype 將於 Python 3.12 後停止支援
➤ 告別 Pytype:Google 轉向 Python 型別檢查新方向
github.com/google/pytype
Google 宣佈,其 Python 靜態型別分析工具 Pytype 的最後支援版本將為 Python 3.12。雖然 Google 對 Python 型別檢查的領域仍感興趣,但將其資源轉移至新構想及不同的框架。Pytype 自 2012 年起致力於提供編譯時期檢查,經歷了從型別推斷到內嵌註解的轉變,並與 mypy 合作建立 typeshed。然而,Pytype 基於位元組碼的設計在實作新功能上遭遇瓶頸,促使 Google 轉向探索更適合其使用者基礎的新型別方法。Google 感謝所有貢獻者,特別是 Rebecca Chen 長期以來的貢獻。
+ 雖然 Pytype 的結束令人遺憾,但能看到 Google 積極投入 Python 型別系統的發展,並持續探索新的解決方案,這點令人鼓舞。
+ 這個決策對 Python 生




Show Original Post


21.08.2025 09:26
marcoow (@marcoow@mastodon.social)

@heiseonlineenglish @mainmatter has trained developers on leveraging in their in the hundreds now with great success. Next chance at @eurorust – join @algo_luca's workshop: eurorust.eu/workshops/rust-pyt




Show Original Post


21.08.2025 09:24
marcoow (@marcoow@mastodon.social)

on the surface and under the hood for speed and stability is a great combination and becoming increasingly popular: "Rust becomes Python's performance co-pilot"
social.heise.de/@heiseonlineen




Show Original Post


21.08.2025 09:19
GripNews (@GripNews@mastodon.social)

🌘 Python f-string 格式化速查表
➤ 掌握 Python f-string 格式化的終極指南
fstring.help/cheat/
本文提供一份詳盡的 Python f-string 格式化速查表,涵蓋數字、整數、字串以及所有物件的格式化方式。透過範例展示了各種格式規範的應用,包括寬度、對齊、填充、羣組、精度、型別轉換,以及自文件格式的特殊用法,旨在幫助開發者快速掌握 f-string 的強大功能。
+ 這份速查表真是太實用了!我常常忘記 f-string 的各種格式選項,這下可以隨時查閱了。
+ 內容非常全面,從數字到物件都有涵蓋,還有解釋為什麼某些格式會這樣運作。作者的功力深厚。
-string




Show Original Post


1 ...1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 ...1547
UP