Scientific Programming
153 subscribers
158 photos
30 videos
138 files
442 links
Tutorials and applications from scientific programming

https://github.com/Ziaeemehr
Download Telegram
If you start reading Fastbook
To dowload image from bing search engine, it force you to have an api key, here is a solution to use DuckDuckGo search engine, without api key:
Deep Learning with PyTorch Step-by-Step

Notebooks

use “Open in Colab” extention in your browser to execute online.
decorators.pdf
55.8 KB
Python Decorator
here are some examples I used for training.

@scientific_programming
👍2
A unique masterpiece book which combines information theory and machine learning:

"Information Theory, Inference, and Learning Algorithms" by Sir MacKay
🆓 PDF
with 16 video lectures 🎥:
YouTube
👍1
Internally it uses a U-Net based foreground/background semantic segmentation and yields the post processed results. 👍🏻

So, if you try it, library would download the trained model first. (takes a bit of time)
Credit: Akshay
👍1
How to extract attached subtitle from movie and translate it to any target language?

use command:

ffmpeg -hide_banner -i Movie.mkv -map 0:s:0 subs.srt

to extract the attached subtitle.
then upload one or bunch of subtitles to

https://www.syedgakbar.com/projects/dst

and select target language. Finally store translated str files.
Done!
👍2
"Information Theory: From Coding to Learning"

coming out soon: 600+ pages with 150+ exercises
by Y. Polyanskiy and Y. Wu
Cambridge University Press

https://people.lids.mit.edu/yp/homepage/papers.html
book draft
Access to chatgpt4 (for free) with internet access, which produce no fake citation through
www.perplexity.ai

Here I asked what do you know about modeling Alzheimer disease?
Linkes inside the answer works correctly.

Have fun using AI. 👍
🤩1
High-Performance Computing with Python

The course covers the following topics:
- Vectorization with NumPy and the SciPy stack
- Profiling python code
- Extending python with cython, cffi and f2py
- Just-in-time compilation with numba
- Distributed-memory parallel programming with python
- Interfaces to GPUs

GitHub

Video 1
Video 2
Video 3
25_Awesome_Python_Scripts.pdf
171.4 KB
A Collection of 25 Awesome Python Scripts (mini projects)
#Python
Announcing "Lineax" - newest #JAX library! For fast linear solves and least squares.

GitHub: github.com/google/lineax

* Fast compile time
* Fast runtime
* Efficient new algorithms (e.g. QR) + existing ones (GMRES, LU, SVD, ...)
* Support for general linear operators🔥
The courses of high performance computation from CSCS are highly recommended.

YouTube
plt.rc is a Matplotlib function that can be used to modify the runtime configuration (rc) settings of a plot. The rc settings control the defaults of almost every property in Matplotlib, such as figure size and DPI, line width, font size, and color

link
#snippet
Kuramoto order parameter (KOP)
extract phase from given time series using hilbert transform and calculate the KOP.
COMPUTATIONAL PSYCHIATRY COURSE ZURICH
This course is organized by the Translational Neuromodeling Unit (TNU), University of Zurich & ETH Zurich and is designed to provide MSc and PhD students, scientists clinicians and anyone interested in Computational Psychiatry with the necessary toolkit to master challenges in computational psychiatry research.

Pre-requisites: Some background knowledge in neuroscience, neuroimaging, (Bayesian) statistics & probability theory, programming and machine learning is expected. If you lack this background, it is recommended that you prepare for this course.

https://www.translationalneuromodeling.org/cpcourse/

Preparation Resources
Lectures
Lecture Recordings
Tutorials
Reading List