Dev Perfects
40 subscribers
9.23K photos
1.26K videos
468 files
13K links
بخوام خیلی خلاصه بگم
این کانال میاد مطالب کانالای خفن تو حوزه تکنولوژی و برنامه نویسی رو جمع میکنه

پست پین رو بخونید
https://t.iss.one/dev_perfects/455


ارتباط:
https://t.iss.one/HidenChat_Bot?start=936082426
Download Telegram
Forwarded from Reza Jafari
چطور بفهمیم مدل‌مون در Production درست کار می‌کنه وقتی Label نداریم؟

وقتی یه machine learning model رو می‌بری تو production و دیگه label در دسترس نداری، داستان ارزیابی خیلی فرق می‌کنه. اینجا دیگه نمی‌تونی مثل محیط آزمایشی به راحتی با معیارهایی مثل accuracy یا recall مدل رو بسنجی. پس باید به سراغ روش‌های غیرمستقیم بری. یکی از مهم‌ترین کارها پایش داده‌ها و خروجی مدل هست. یعنی باید ببینی داده‌های ورودی هنوز شبیه داده‌های زمان آموزش هستن یا نه. برای این کار از روش‌هایی مثل KL-divergence یا PSI استفاده می‌کنن. همین‌طور خروجی‌های مدل رو بررسی می‌کنی؛ مثلاً توزیع احتمالات یا مقادیر پیش‌بینی شده. اگه الگوها تغییر عجیب و غریبی داشتن، احتمالاً مدل داره از مسیر اصلی خارج می‌شه. یه موضوع دیگه هم بحث uncertainty یا confidence مدله؛ اگه مدل یه دفعه خیلی مطمئن یا برعکس خیلی مردد شد، اونم یه زنگ خطره.

از طرف دیگه همیشه می‌تونی به فکر گرفتن label جزئی یا دستی باشی. روش‌هایی مثل active learning کمک می‌کنن که فقط یه بخش کوچیک از پیش‌بینی‌ها رو به کارشناس یا آدم واقعی بدی برای برچسب‌گذاری. حتی می‌تونی توی سیستم shadow testing یا spot checking پیاده‌سازی کنی که بخشی از داده‌ها رو برای بررسی انسانی نگه داری. اینجوری یه تصویر نسبی از عملکرد مدل پیدا می‌کنی بدون اینکه همه داده‌ها رو نیاز به برچسب داشته باشی.

یه راه خیلی کاربردی دیگه اینه که به جای label مستقیم، سراغ KPIهای بیزنسی بری. مثلاً با A/B testing نسخه‌های مختلف مدل رو روی کاربرها امتحان کنی و ببینی کدوم بهتر روی معیارهایی مثل conversion rate یا CTR اثر می‌ذاره. توی سیستم‌های recommendation یا ads هم می‌تونی از روش‌های off-policy evaluation استفاده کنی و با داده‌های گذشته تخمین بزنی اگه مدل جدید بود، چه نتایجی می‌گرفتی.

علاوه بر این، بحث سازگاری و توافق هم مهمه. مثلاً می‌تونی چند مدل مختلف رو همزمان اجرا کنی و هر وقت اختلاف زیادی بین خروجی‌ها دیدی، بفهمی یه جای کار می‌لنگه. یا با قوانین قطعی و دانش حوزه (domain knowledge) مقایسه کنی؛ مثلاً مدلی که پیش‌بینی منفی برای چیزی می‌ده که ذاتاً نمی‌تونه منفی باشه، معلومه اشتباه داره. همین‌طور تست‌های consistency هم جواب می‌ده؛ یعنی ورودی رو کمی تغییر بدی (مثلاً تصویر رو بچرخونی یا متن رو paraphrase کنی) و ببینی مدل همچنان پایدار جواب می‌ده یا نه.

در کنار این‌ها می‌تونی از weak supervision یا pseudo-labeling کمک بگیری. یعنی یا با قوانین ساده یه جور label مصنوعی درست کنی یا پیش‌بینی‌های خیلی مطمئن مدل رو به عنوان برچسب موقت در نظر بگیری و با یه مدل دوم بررسی کنی که چقدر با هم هماهنگن.

یه سناریوی دیگه هم پایش بلندمدته. توی بعضی حوزه‌ها مثل fraud detection یا churn prediction، label با تأخیر به دست میاد. پس باید پیش‌بینی‌های الان رو ذخیره کنی تا بعداً که برچسب واقعی رسید، بتونی کیفیت مدل رو بسنجی. یا اینکه از روش canary release استفاده کنی، یعنی اول مدل رو روی یه بخش کوچیک از کاربرها امتحان کنی، اگه همه‌چیز اوکی بود کم‌کم برای همه rollout کنی.

در نهایت بسته به نوع مسئله هم روش‌های خاص خودش رو داره. مثلاً تو classification باید حواست به تعادل کلاس‌ها و calibration باشه، تو regression میانگین و واریانس خروجی‌ها مهم می‌شه، تو recommendation بیشتر سراغ شاخص‌هایی مثل CTR یا زمان تعامل (dwell time) می‌ری، و تو anomaly detection نرخ anomaly رو در طول زمان دنبال می‌کنی.

خلاصه اینکه وقتی label نداری، ارزیابی مستقیم ممکن نیست. پس باید ترکیبی از پایش داده و خروجی‌ها، گرفتن label جزئی یا با تأخیر، بررسی KPIهای بیزنسی و تست‌های سازگاری رو استفاده کنی تا مطمئن بشی مدل توی production هنوز درست و سالم کار می‌کنه.

🔤🔤🔤🔤🔤🔤🔤

🥇 اهورا اولین اپراتور هوش مصنوعی راهبردی ایران در حوزه ارائه خدمات و سرویس‌های زیرساخت هوش مصنوعی

🌐 لینک ارتباط با اهورا

@reza_jafari_ai
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from Linuxor ?
فریلنسری مثل بارفیکس رفتنه، هرچقدر تجربت بیشتر می‌شه به امید اینکه کارت راحت تر بشه ولی نمی‌شه.

@Linuxor
این پروژه یک سیستم تشخیص اشیا (Object Detection) با استفاده از مدل YOLOv8 است.
می‌تواند چندین شیء را در تصاویر، ویدئوها و وبکم زنده شناسایی کند.
اشیا شناسایی شده با کادرهای محدودکننده (Bounding Box) و درصد اطمینان نمایش داده می‌شوند.

https://github.com/nimaohamdi/Object-Detection

@DevTwitter | <Nimo/>
Forwarded from LearnPOV
لرن پی او وی منتشر شد 🥳💎

سلام رفقا، بالاخره بعد از کلی تلاش و تست، LearnPOV به صورت عمومی منتشر شد، و میتونید استفاده کنید ازش ✌️

قبلا چندین بار راجب لرن پی او وی صحبت کردیم ولی اگر نمی‌دونید هنوز که چیه دقیقا میتونید توی صفحه زیر بخونید راجبش

🔗‌ ‌ website.learnpov.com


رسما از امروز برنامه‌نویس‌ها یه شبکه اجتماعی اختصاصی دارن، و خوشحالیم که تونستیم این اتفاق رو در کنار تیم خوب لرن پی او وی رقم بزنیم 👍

این تازه شروع راهه؛ قراره جایی بسازیم که برنامه‌نویس‌ها توش رشد کنن، تجربه‌هاشون رو به اشتراک بذارن و از همدیگه یاد بگیرن...


شما هم میتونید از همین لحظه تجاربتون رو به اشتراک بزارید 🔥

👤 ایجاد حساب کاربری

🔍 اکسپلور

📝 ساخت پست جدید

راستی میتونید نسخه PWA لرن پی او وی رو روی گوشیتون نصب کنید تا مثل اپلیکیشن های نیتیو ازش استفاده بکنید 📱


🏫 @LearnPOV
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from Ninja Learn | نینجا لرن (Mohammad)
برید فالو کنید بنده را
Forwarded from زنجان‌لاگ
🎉 اولین جشن روز آزادی نرم‌افزار – زنجان‌لاگ 🎉

سلام بچه‌ها! 😍
فردا جمعه ۱۱ مهر ساعت ۱۷، منتظرتون هستیم تا با انرژی خودتون این رویداد رو بدرخشونیم!
👉 https://bbb.azad-on.com/rooms/plk-6sl-vno-hdq/join

خیلی خوشحالیم که کنارمون هستید! 🥳

صفحات مجازی ما:
🌐 وبسایت: https://zanjanlug.ir

📢 تلگرام: https://t.iss.one/zanjan_lug

🐧 ماستودون: https://ohai.social/@zanjanlug

📸 اینستاگرام: https://www.instagram.com/zanjanlug

🔗 لینکدین: https://ir.linkedin.com/in/zanjan-lug-393848387

🎥 پیرتیوب: https://gnulinux.tube/a/zanjanlug

📘 فیسبوک: https://www.facebook.com/61581807890416/posts/122093112849060263
Forwarded from Space Shop
📱 اشتراک Chat GPT پرمیوم یک ماهه

🔥با قیمت فوق العاده و باور نکردنی!

🛍فقط و فقط 349 هزار تومن👀

باز شدن همه قابلیت‌های GPT-5 و ابزارهای پیشرفته
محیط کاملا شخصی
فعال سازی بر روی ایمیل شخصی شما
پرداخت هزینه بعد از تحویل اکانت

💻جهت مشاوره و خرید سریع به آیدی زیر پیام دهید:
✔️ @SpaceVpn_Admin1
————————————
🛒Space Shop!
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from haashemi.dev
⚡️ Latest linux-firmware upgrade requires manual intervention

🖱️ With the changes in the linux-firmware package that happened just 4 days ago, you need to reinstall the linux-firmware manually.

# pacman -Rdd linux-firmware
# pacman -Syu linux-firmware


Read more:
🌐 Source: https://archlinux.org/news/linux-firmware-2025061312fe085f-5-upgrade-requires-manual-intervention/

👨‍💻 @HaashemiDev
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from haashemi.dev
🔹 Fix: Laggy cursor on Hyprland in Telegram

🔸 If you have a HiDPI screen and feel a massive lag on your cursor on Hyprland in Telegram, just update these settings and it'll be fixed:

— Disable hardware cursors:
hyprland.conf
cursor {
no_hardware_cursors = true
}


— Enable precise High DPI scaling
Telegram Settings
Settings -> Advanced -> Experimental settings -> Enable precise High DPI scaling


@HaashemiDev
Forwarded from haashemi.dev
🔹 Windows layout for Persian keyboard on Linux

🔸 If you're used to Persian (Windows layout) keyboard and want it so bad on Linux, good news is that you just need to set the variant to winkeys!

— Example: hyprland
input {
kb_layout = us,ir
kb_variant = ,winkeys
kb_options = grp:alt_shift_toggle
}


@HaashemiDev
Forwarded from haashemi.dev
⚡️ Writer is getting ready

🔹 What's writer?
— Writer is an easy-to-use Harfbuzz wrapper to write any text on images.

🔹 I decided to make it as simple as possible, but also make it flexible enough to add more and more features to it instead of basic one-line text writing. (bi-directional texts are planned too)

❤️ Any feedbacks? comment bellow!
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from haashemi.dev
⚡️ Bidi text support is done!

🔹 Loading fonts, creating faces, getting basic text bounds, writing on image with bidi support are all done!

❤️ I'll try to publish it by the end of this week (a little code cleanup is required), and hopefully I can add more features to it to make it as advanced as possible while keeping its API simple in the near future.

‌‌‌‌
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from haashemi.dev
⚡️ Writer comes with image-as-color support!

🔹 Using standard Go's font package, you are able to pass an image instead of a color for your text. The good news is that you can do the same thing with writer too!

🥺 I also changed its API a little, I'll talk about that later.

Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from haashemi.dev
⚡️ Writer is now publicly available!

🔹 Writer is a simple and easy-to-use package to write texts on images.

🔹 Its goal is to make writing any text in any language possible with least effort, without even depending on multiple packages! writer tries its best to do it all for you.

❤️ From now on, I'm looking for everyone's feedback!

🪄 https://github.com/haashemi/writer
⭐️ Giving a star is highly appreciated
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from haashemi.dev
⚡️ OpenType features support added to Writer!

🔹 Now you can use any OpenType feature you want! Most of the common features have already been added to the package!

🪄 https://github.com/haashemi/writer
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from haashemi.dev
⚡️ TGO v1.2.0 released!

🔹 TGO's API has been updated to Bot API v7.2

🪄 [TGO]
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from haashemi.dev
⚡️ TGO v1.3.0 released!

🔹 TGO's API has been updated to Bot API v7.3

👍 P.S: Yeah I'm still alive.

🪄 [TGO]
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from haashemi.dev
⚡️ Introducing Tinasha!

🔹 Tinasha is an unofficial MyAnimeList client built with React Native as a hobby project to explore how one of many ways of mobile development works..

🔹 It aims to have a better UI/UX than the official client (as it's worst of all) and also be open-source and free to everyone. It's currently work-in-progress, and there's a long way until its official release, but there's also no rush/plan for that. (Contributions are welcome, btw.)

🪄 https://github.com/haashemi/Tinasha
⭐️ Giving a star is highly appreciated
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from haashemi.dev
Tinasha v0.2.4-74bea79.apk
29.2 MB
Tinasha v0.2.4 Android build.

❤️ Installing it, exploring it, and giving all type of feedbacks are appreciated.

⚠️ Built on commit 74bea79 using eas build locally, you can build it yourself too.

🪄 [Tinasha]
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from haashemi.dev
Popular opinion:

— Gradle is way worse than even PHP.