4.1 Intro to NumPy (L04: Scientific Computing in Python)

preview_player
Показать описание

This first video in the "L04: Intro to Scientific Computing in Python" introduces NumPy on a basic level before diving into more details in the following videos.

-------

This video is part of my Introduction of Machine Learning course.

-------

Рекомендации по теме
Комментарии
Автор

Wow! This gives so much subtle but important details about numpy.

isharadissanayake
Автор

Astoundingly clear and insightful explanations. Even as an analytics practitioner, I learned so much from this video! Super awesome. Thanks so much for uploading this content.

Jane-lnkg
Автор

after some weeks of learning python for environmental data science (from a FORTRAN background) this despite being basic intro to Numpy, taught me several things I was unaware of before. Thanks.

Oceansteve
Автор


Another method would be a list comprehension, but that would actually be 3 times slower than the for loop.

def mydot(v1, v2):
return sum([x*y for x, y in zip(v1, v2)])

sefirot
Автор

It's quite interesting I changed the python for loop implementation to 'return sum(map(operator.mul, x, w))', and the timeit outcome reached to 36.5 µs.
Thanks for sharing these vidoes

greatbahram