Python_Labs🐍
591 subscribers
267 photos
11 videos
28 files
204 links
Download Telegram
https://twitter.com/xamat/status/1101026768666812417

طرف این جور گفته: هر از گاهی با یک آدم خبره مصاحبه می‌کنم که می‌گه پایتون بده چون مقیاس‌پذیر نیست. بعد ازش می‌پرسم فکر می‌کنی چه‌طوری یکی از ۵۰ سایت پیچیده مثل کورا رو فقط با پایتون درست کردیم؟ اینجاست که معمولاً جواب درست درمونی نمی‌گیرم.
11 Facts about data science in office work
#آموزش #مسیر_فایل
یکی از تفاوت هایی که در برنامه نویسی تو لینوکس و ویندوز باید حواسمون باشه اینه که تو ویندوز از بک اسلش برای مسیردهی میان نام پوشه ها به عنوان جداکننده استفاده میشه در حالی که تقریبا تمام سیستم عامل‌های دیگر از یک اسلش‌جلو استفاده می کنند. در این بلاگ پست نکاتی کوچک کار با مسیر فایل و راه حل برای اینکه مسیر ها تو سیستم عامل های مختلف کار کنه و کدتون نیاز به تغییر نداشته باشه را نوشته...
Python 3 Quick Tip: The easy way to deal with file paths on Windows, Mac and Linux

Windows filenames:
C:\some_folder\some_file.txt

Most other operating systems:
/some_folder/some_file.txt

https://medium.com/@ageitgey/python-3-quick-tip-the-easy-way-to-deal-with-file-paths-on-windows-mac-and-linux-11a072b58d5f
#هیستوگرام #سرعت
در پیاده سازی یک پروژه، سرعت محاسبه هیستوگرام، به عنوان بخشی از سنجش کیفیت تصویر برایم مهم بود، و بنچ مارک روش های مختلف را گرفتم...

در تصویر بالا با 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
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
#pytrick
استفاده از 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
Forwarded from Programming Resources via @like
Talk Python To Me podcast
یک سایت پر از پادکست‌های مرتبط با زبان پایتون

#python #podcast #free #course
@pythony

talkpython.fm
انجمن علمی دانشکده کامپیوتر برگزار میکند:
دوره آموزشی طراحی وب سمت سرور (Backend)

📚مدرس : میثم ولوئیان
🗓 تاریخ : از ۲۰ فروردین تا ۱۷ اردیبهشت
زمان : سه شنبه ها از ساعت ۱۶ الی ۱۹
🏢 مکان : دانشگاه شهید رجایی

برای اطلاعات بیشتر و ثبت نام به لینک زیر مراجعه شود
https://evand.com/events/sru-backend-development
ظرفیت محدود
💰ثبت نام به صورت نقدی همراه با تخفیف در محل دفتر انجمن علمی نیز انجام میشود💰

برای اطلاعات بیش تر درباره نحوه و زمان پرداخت حضوری به آیدی @mahdigh99 مراجعه شود

#طراحیـوب #دوره_آموزشی #انجمن_علمی_دانشکده_کامپیوتر #دانشگاه_شهید_رجایی
Tuples are faster than lists.(more)
Tuples can be used as values in sets whereas lists can not (more)
#pytrick
Multiple sets of kwargs in Python 3.5+

منبع
Forwarded from AI, Python, Cognitive Neuroscience (Farzad🦅🐋🐕🦏🐻)
What are the best resources to learn major libraries for #DataScience in #Python. Here is my updated full list.
Will recommend to use Jupyter-Spyder environment to practice all these.

#DataLoading and #DataManipulation

✔️Numpy - https://bit.ly/1OLtuIF
✔️Scipy - https://bit.ly/2f3pitB
✔️Pandas - https://bit.ly/2qs1lAJ

#DataVisualization
✔️Matplotlib https://bit.ly/2gxxViI
✔️Seaborn https://bit.ly/2ABypQC
✔️Plotly https://bit.ly/2uJwULB
✔️Bokeh https://bit.ly/2uOFbxQ

#ML #DL #ModelEvaluation
✔️Scikit-Learn - https://bit.ly/2uYFNkw
✔️H20 - https://bit.ly/2M0hJnG
✔️Xgboost - https://bit.ly/2M3Vdut
✔️Tensorflow - https://bit.ly/2vfI5es
✔️Caffe- https://bit.ly/2a05bgt
✔️Keras - https://bit.ly/2vfDyZj
✔️Pytorch - https://bit.ly/2uXWY5U
✔️Theano - https://bit.ly/2v3N805


#analytics #artificialintelligence #machinelearning
#recommend

✴️ @AI_Python_EN
Forwarded from Python_Labs🐍 (Alireza Akhavan)
functools — Higher-order functions and operations on callable objects

partial gives default values to the parameters of a function that would otherwise not have default values.
#pytrick
Forwarded from Tensorflow(@CVision) (Alireza Akhavan)
#خبر قسمت_1
دیپ لرنینگ در نظرسنجی 2019 استک اورفلو

https://insights.stackoverflow.com/survey/2019

This is the first year we've asked about many of the technologies in this category, and Node.js is the most commonly used. More developers say they use .NET than .NET Core, and the deep learning framework #TensorFlow is many times more popular than the #deep learning framework Torch/#PyTorch.

🙏Thanks to: https://t.iss.one/software_geek/140

#stackoverflow
Forwarded from Tensorflow(@CVision) (Alireza Akhavan)
#خبر قسمت_2
تنسرفلو پس از Node.js بالاترین در نظرسنجی Most Wanted در استک اورفلو

#stackoverflow