Forwarded from Tensorflow(@CVision) (Alireza Akhavan)
#توئیت قابل تامل دکتر رضازداه، استاد ایرانی دانشگاه استنفورد.
اولین ریتوئیت که در عکس مشخص است هم بخوانید.
https://twitter.com/Reza_Zadeh/status/1098085978189647872
اولین ریتوئیت که در عکس مشخص است هم بخوانید.
https://twitter.com/Reza_Zadeh/status/1098085978189647872
Forwarded from Tensorflow(@CVision) (Alireza Akhavan)
Bias-Variance Trade off!
#bias #variance #machinelearning #bias_variance_trade_off
منبع تصویر
https://www.pinterest.com/pin/778841329284763390/
#bias #variance #machinelearning #bias_variance_trade_off
منبع تصویر
https://www.pinterest.com/pin/778841329284763390/
توئیت Andrej Karpathy، خطاب به توسعه دهندگان زبان پایتون،
اگر ارور معنی دار تری برگردونید وقت کمتری برای اروریابی برنامه نویسها صرف میشه.
https://twitter.com/karpathy/status/1099793055853375489
این مثالی که در توئیت زده فکر کنم همه باهاش مواجه شدند :)
اگر ارور معنی دار تری برگردونید وقت کمتری برای اروریابی برنامه نویسها صرف میشه.
https://twitter.com/karpathy/status/1099793055853375489
این مثالی که در توئیت زده فکر کنم همه باهاش مواجه شدند :)
#خبر
#python 3.8 news: The second alpha release out today. Please try it out. One major feature that we've needed for a long time is shared memory for multiprocessing. Our story for multi-core just got a lot better ;-) Thank you Davin Potts!
https://www.python.org/downloads/release/python-380a2/
#python 3.8 news: The second alpha release out today. Please try it out. One major feature that we've needed for a long time is shared memory for multiprocessing. Our story for multi-core just got a lot better ;-) Thank you Davin Potts!
https://www.python.org/downloads/release/python-380a2/
Python.org
Python Release Python 3.8.0a2
The official home of the Python Programming Language
در اینجا دیدیم Andrej Karpathy در توئیتی به اروری که به اندازه کافی مشخص نبود اعتراض کرده بود، حالا توئیت کرده که پیام معنی دار را خودش اضافه کرده و رفته به گیت هاب numpy درخواست pull بده، اما 9 ساعت قبلش یکی دیگه هم دقیقا همین اصلاحو انجام داده و فرستاده :)
MAINT: Better error messages for zeros, ones, empty.
https://github.com/numpy/numpy/pull/13048
MAINT: Better error messages for zeros, ones, empty.
https://github.com/numpy/numpy/pull/13048
https://twitter.com/xamat/status/1101026768666812417
طرف این جور گفته: هر از گاهی با یک آدم خبره مصاحبه میکنم که میگه پایتون بده چون مقیاسپذیر نیست. بعد ازش میپرسم فکر میکنی چهطوری یکی از ۵۰ سایت پیچیده مثل کورا رو فقط با پایتون درست کردیم؟ اینجاست که معمولاً جواب درست درمونی نمیگیرم.
طرف این جور گفته: هر از گاهی با یک آدم خبره مصاحبه میکنم که میگه پایتون بده چون مقیاسپذیر نیست. بعد ازش میپرسم فکر میکنی چهطوری یکی از ۵۰ سایت پیچیده مثل کورا رو فقط با پایتون درست کردیم؟ اینجاست که معمولاً جواب درست درمونی نمیگیرم.
Twitter
Xavier🎗🤖🏃
Every few days I interview an experienced candidate who pooh-pooh's on Python because it doesn't scale. My next question is "How do you think we managed to run a top-50 complex site like Quora all on Python?" I don't get good answers to that.
#آموزش #مسیر_فایل
یکی از تفاوت هایی که در برنامه نویسی تو لینوکس و ویندوز باید حواسمون باشه اینه که تو ویندوز از بک اسلش برای مسیردهی میان نام پوشه ها به عنوان جداکننده استفاده میشه در حالی که تقریبا تمام سیستم عاملهای دیگر از یک اسلشجلو استفاده می کنند. در این بلاگ پست نکاتی کوچک کار با مسیر فایل و راه حل برای اینکه مسیر ها تو سیستم عامل های مختلف کار کنه و کدتون نیاز به تغییر نداشته باشه را نوشته...
Python 3 Quick Tip: The easy way to deal with file paths on Windows, Mac and Linux
Windows filenames:
یکی از تفاوت هایی که در برنامه نویسی تو لینوکس و ویندوز باید حواسمون باشه اینه که تو ویندوز از بک اسلش برای مسیردهی میان نام پوشه ها به عنوان جداکننده استفاده میشه در حالی که تقریبا تمام سیستم عاملهای دیگر از یک اسلشجلو استفاده می کنند. در این بلاگ پست نکاتی کوچک کار با مسیر فایل و راه حل برای اینکه مسیر ها تو سیستم عامل های مختلف کار کنه و کدتون نیاز به تغییر نداشته باشه را نوشته...
Python 3 Quick Tip: The easy way to deal with file paths on Windows, Mac and Linux
Windows filenames:
C:\some_folder\some_file.txtMost other operating systems:
/some_folder/some_file.txthttps://medium.com/@ageitgey/python-3-quick-tip-the-easy-way-to-deal-with-file-paths-on-windows-mac-and-linux-11a072b58d5f
Medium
Python 3 Quick Tip: The easy way to deal with file paths on Windows, Mac and Linux
One of programming’s little annoyances is that Microsoft Windows uses a backslash character between folder names while almost every other…
#هیستوگرام #سرعت
در پیاده سازی یک پروژه، سرعت محاسبه هیستوگرام، به عنوان بخشی از سنجش کیفیت تصویر برایم مهم بود، و بنچ مارک روش های مختلف را گرفتم...
در تصویر بالا با magic method نوت بوکی timeit بنچ مارک سه روش مختلف محاسبه هیستوگرام مشاهده می شود. همان طور که مشخصه ورژن پیاده سازی شده با opencv حدود 40 برابر سریعتر ورژن هیستوگرام نامپای است.
https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_histograms/py_histogram_begins/py_histogram_begins.html
در پیاده سازی یک پروژه، سرعت محاسبه هیستوگرام، به عنوان بخشی از سنجش کیفیت تصویر برایم مهم بود، و بنچ مارک روش های مختلف را گرفتم...
در تصویر بالا با magic method نوت بوکی timeit بنچ مارک سه روش مختلف محاسبه هیستوگرام مشاهده می شود. همان طور که مشخصه ورژن پیاده سازی شده با opencv حدود 40 برابر سریعتر ورژن هیستوگرام نامپای است.
https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_histograms/py_histogram_begins/py_histogram_begins.html
#تحلیل #سرعت
تحلیل سرعت خط به خط کد یا توابع با line_profiler در پایتون.
در متد بالا کند ترین خط کد کدام بوده!؟
https://github.com/rkern/line_profiler
#line_profiler
تحلیل سرعت خط به خط کد یا توابع با line_profiler در پایتون.
در متد بالا کند ترین خط کد کدام بوده!؟
https://github.com/rkern/line_profiler
#line_profiler
Forwarded from AI, Python, Cognitive Neuroscience (Farzad🦅🐋🐕🦏🐻)
💡 What is a p-value?
When testing an hypothesis, the p-value is the likelihood that we would observe results at least as extreme as our result due purely to random chance if the null hypothesis were true.
💡 What does it mean when a p-value is low?
When the p-value is low, it is relatively rare for the our results to be purely from random variations in observations.
Because of this, we may decide to reject the null hypothesis. If the p-value is below some pre-defined threshold, we say that the result is "statistically significant" and we reject the null hypothesis.
💡 What value is most often used to determine statistical significance?
A value of alpha = 0.05 is most often used as the threshold for statistical significance.
#datascience #statistics
✴️ @AI_Python_EN
When testing an hypothesis, the p-value is the likelihood that we would observe results at least as extreme as our result due purely to random chance if the null hypothesis were true.
💡 What does it mean when a p-value is low?
When the p-value is low, it is relatively rare for the our results to be purely from random variations in observations.
Because of this, we may decide to reject the null hypothesis. If the p-value is below some pre-defined threshold, we say that the result is "statistically significant" and we reject the null hypothesis.
💡 What value is most often used to determine statistical significance?
A value of alpha = 0.05 is most often used as the threshold for statistical significance.
#datascience #statistics
✴️ @AI_Python_EN
#pytrick
استفاده از contextlib برای نادیده گرفته شدن exception ها در کد!
#contextlib
#exception
استفاده از contextlib برای نادیده گرفته شدن exception ها در کد!
import contextlib
with contextlib.suppress(FileNotFoundError):
os.remove('somefile.tmp')
#contextlib
#exception
Forwarded from Programming Resources via @like
Test your regex skills via exams with different levels.
مهارتهای نوشتن عبارات باقاعده خود را با امتحانهای این سایت بهتر کنید
#regex #tutorial #exam #practice #regular #expression
@pythony
https://play.inginf.units.it
مهارتهای نوشتن عبارات باقاعده خود را با امتحانهای این سایت بهتر کنید
#regex #tutorial #exam #practice #regular #expression
@pythony
https://play.inginf.units.it
Forwarded from Programming Resources via @like
Forwarded from انجمن علمی دانشکده کامپیوتر (Atefe)
انجمن علمی دانشکده کامپیوتر برگزار میکند:
دوره آموزشی طراحی وب سمت سرور (Backend)
📚مدرس : میثم ولوئیان
🗓 تاریخ : از ۲۰ فروردین تا ۱۷ اردیبهشت
⏱ زمان : سه شنبه ها از ساعت ۱۶ الی ۱۹
🏢 مکان : دانشگاه شهید رجایی
برای اطلاعات بیشتر و ثبت نام به لینک زیر مراجعه شود
https://evand.com/events/sru-backend-development
ظرفیت محدود
💰ثبت نام به صورت نقدی همراه با تخفیف در محل دفتر انجمن علمی نیز انجام میشود💰
برای اطلاعات بیش تر درباره نحوه و زمان پرداخت حضوری به آیدی @mahdigh99 مراجعه شود
#طراحیـوب #دوره_آموزشی #انجمن_علمی_دانشکده_کامپیوتر #دانشگاه_شهید_رجایی
دوره آموزشی طراحی وب سمت سرور (Backend)
📚مدرس : میثم ولوئیان
🗓 تاریخ : از ۲۰ فروردین تا ۱۷ اردیبهشت
⏱ زمان : سه شنبه ها از ساعت ۱۶ الی ۱۹
🏢 مکان : دانشگاه شهید رجایی
برای اطلاعات بیشتر و ثبت نام به لینک زیر مراجعه شود
https://evand.com/events/sru-backend-development
ظرفیت محدود
💰ثبت نام به صورت نقدی همراه با تخفیف در محل دفتر انجمن علمی نیز انجام میشود💰
برای اطلاعات بیش تر درباره نحوه و زمان پرداخت حضوری به آیدی @mahdigh99 مراجعه شود
#طراحیـوب #دوره_آموزشی #انجمن_علمی_دانشکده_کامپیوتر #دانشگاه_شهید_رجایی
Tuples can be used as values in sets whereas lists can not (more)