Shap-графики: как наглядно объяснить заказчику логику работы модели
Всем привет. Я Андрей Бояренков, лидер кластера бизнес-моделей стрима "Разработка моделей КИБ и СМБ" банка ВТБ. В этой статье расскажу о том, какие на мой взгляд типы графиков необходимо построить, чтобы наиболее оптимальным образом показать заказчику логику работы фичей в моделях.
https://habr.com/ru/companies/vtb/articles/938988/
#shap #machine_learning #catboost #data_science #python #моделирование
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.
LA CHAT-VERNE
🕹️ https://pyxelstudio.net/3wk7zrqu
#gamedev #retrogames #game #python #pyxel
#Python Pop Quiz 🐍❓
What is the output of the following code?
A) 255
B) 256
C) ff
D) 377

Python f-string cheat sheets (2022)
Link: https://fstring.help/cheat/
Discussion: https://news.ycombinator.com/item?id=44969221
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.
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 : https://astral.sh/blog/introducing-pyx
L'outil n'est pas encore disponible au grand public.
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
https://savannah.dev/posts/how-your-code-runs-in-a-jit-build/
🌕 Google Pytype 將於 Python 3.12 後停止支援
➤ 告別 Pytype:Google 轉向 Python 型別檢查新方向
✤ https://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 生
#Python #程式設計 #靜態型別分析 #開發
@heiseonlineenglish @mainmatter has trained developers on leveraging #rustlang in their #python in the hundreds now with great success. Next chance at @eurorust – join @algo_luca's workshop: https://eurorust.eu/workshops/rust-python-interoperability/
#Python on the surface and #rustlang under the hood for speed and stability is a great combination and becoming increasingly popular: "Rust becomes Python's performance co-pilot"
https://social.heise.de/@heiseonlineenglish/115065524090472688
🌘 Python f-string 格式化速查表
➤ 掌握 Python f-string 格式化的終極指南
✤ https://fstring.help/cheat/
本文提供一份詳盡的 Python f-string 格式化速查表,涵蓋數字、整數、字串以及所有物件的格式化方式。透過範例展示了各種格式規範的應用,包括寬度、對齊、填充、羣組、精度、型別轉換,以及自文件格式的特殊用法,旨在幫助開發者快速掌握 f-string 的強大功能。
+ 這份速查表真是太實用了!我常常忘記 f-string 的各種格式選項,這下可以隨時查閱了。
+ 內容非常全面,從數字到物件都有涵蓋,還有解釋為什麼某些格式會這樣運作。作者的功力深厚。
#Python #f-string #格式化 #字串