محاسبات موازی آسان تر از هر زمان دیگر در سی پلاس پلاس 17 و STL!
C++17 introduced the parallel implementation of STL routines, I love It, It's a clean and standard way to achieve parallelism using CPU threads. If you are looking for such a high level way for parallel programming on GPU, then take a look at Thrust:
https://docs.nvidia.com/cuda/thrust/index.html
It provides an efficient parallel implementation of C++ STL (most of it) for CUDA devices!
C++17 introduced the parallel implementation of STL routines, I love It, It's a clean and standard way to achieve parallelism using CPU threads. If you are looking for such a high level way for parallel programming on GPU, then take a look at Thrust:
https://docs.nvidia.com/cuda/thrust/index.html
It provides an efficient parallel implementation of C++ STL (most of it) for CUDA devices!
study-guide-data-manipulation-with-python.pdf
372.5 KB
great #python data manipulation cheat sheet
منبع:
https://github.com/shervinea/mit-15-003-data-science-tools/tree/master/en
منبع:
https://github.com/shervinea/mit-15-003-data-science-tools/tree/master/en
✌️👌 بلاخره نسخه 1.0 کتابخانه معروف یادگیری ماشین scikit-learn منتشر شد!
با دستور
pip install -U scikit-learn
یا
conda install -c conda-forge scikit-learn
این نسخه را نصب کنید!
https://scikit-learn.org/stable/auto_examples/release_highlights/plot_release_highlights_1_0_0.html
📢More ML news: @cvision
با دستور
pip install -U scikit-learn
یا
conda install -c conda-forge scikit-learn
این نسخه را نصب کنید!
https://scikit-learn.org/stable/auto_examples/release_highlights/plot_release_highlights_1_0_0.html
📢More ML news: @cvision
یه ریپو پر از قطعه کدها با خروجی های غیر قابل انتظار از پایتون و دلیلشون
#pitfall #pitfalls
github.com/satwikkansal/wtfpython
#pitfall #pitfalls
github.com/satwikkansal/wtfpython
چه چیزی پرینت میشود؟
l = [12,5,3,10]
print(l.sort())
l = [12,5,3,10]
print(l.sort())
Anonymous Quiz
9%
[12,5,3,10]
65%
[3,5,10,12]
26%
None
Often the hardest part of solving a machine learning problem can be finding the right estimator for the job. In this talk by @adrinjalali
, learn about how to design a custom scikit-learn estimator.
https://www.youtube.com/watch?v=sEaiOkxTFjw
, learn about how to design a custom scikit-learn estimator.
https://www.youtube.com/watch?v=sEaiOkxTFjw
YouTube
Adrin Jalali - Custom Scikit-learn Estimators
About the Talk:
Often the hardest part of solving a machine learning problem can be finding the right estimator for the job. In some cases, you may decide to write your customized scikit-learn estimator, that precisely tackle the ML problem at hand. In this…
Often the hardest part of solving a machine learning problem can be finding the right estimator for the job. In some cases, you may decide to write your customized scikit-learn estimator, that precisely tackle the ML problem at hand. In this…
چگونه با پایتون یوزر و پسوردهای سیو شده ی wifi مون را ببینیم؟!
import subprocess
a = subprocess.check_output(['netsh', 'wlan', 'show', 'profiles']).decode('utf-8').split('\n')
#print(a)
a = [i.split(":")[1][1:-1] for i in a if "All User Profile" in i]
#print(a)
for i in a:
results = subprocess.check_output(['netsh', 'wlan', 'show', 'profile', i, 'key=clear']).decode('utf-8').split('\n')
results = [b.split(":")[1][1:-1] for b in results if "Key Content" in b]
try:
print ("{:<30}| {:<}".format(i, results[0]))
except IndexError:
print ("{:<30}| {:<}".format(i, ""))
توجهتونو به انواع کپی در پایتون جلب می نمایم:
کپی رفرنس - کپی shallow و کپی عمیق یا deep
کپی رفرنس - کپی shallow و کپی عمیق یا deep
👍3