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

https://github.com/Ziaeemehr
Download Telegram
How to remove jupyter notebook metadata/output before tracking with git?

There are several method including git filter approuch, git hooks and using nbstripout. I use the filter since looked cleaner to me.

bash

# Add this to your local .git/config
[filter "strip-notebook-output"]
clean = "jupyter nbconvert --ClearOutputPreprocessor.enabled=False --ClearMetadataPreprocessor.enabled=True --to=notebook --stdin --stdout --log-level=ERROR"
# Create a .gitattributes file in your directory with notebooks, with this content:
*.ipynb filter=strip-notebook-output

to remove the output change
--ClearOutputPreprocessor.enabled=True
.
it lunches each time ADD changes of the notebook.
πŸ‘1
πŸ“–Software Engineering for Data Scientists
From Notebooks to Scalable Systems

Catherine_Nelson

Definitely useful book to fill the gap between researchers and software engineers.
πŸ‘2
Forwarded from Microsoft Copilot
You are invited to Microsoft Copilot AI assistant!

Copilot is your one-stop destination within Telegram for answers, advice, and fun conversations.✨

Click on this link to start: Chat with Copilot
Lazy Predict Library in Python for Machine Learning

Lazy Predict is a Python library designed to simplify and accelerate predictive modeling projects. It offers a user-friendly, efficient approach to making predictions, requiring minimal effort to install and use. This open-source tool, released under the MIT license, is ideal for data science and machine learning tasks.

Key benefits of Lazy Predict include its ability to streamline data pre-processing, model tuning, and result evaluation. It also provides features for model selection and hyperparameter optimization, helping users achieve better outcomes with their machine learning models. By leveraging Lazy Predict, you can enhance your predictive modeling process and achieve more accurate results efficiently.

GeeksforGeeks
GitHub
πŸ‘1
Perplexity has added a nice feature of attaching PDF and ask from it. Just upload your pdf through (+) and ask question.
How to download part of a GitHub repository? for example one folder.

Sometimes a Repository could be very large and you only need part of it.

1. Go to https://download-directory.github.io/
2. Enter the URL of the GitHub repository folder you want to download in the input field.
3. Press Enter, and the folder will be downloaded as a ZIP file.

There are also other methods using git command or GitHub Desktop, but this one seems easier.
πŸ‘1
Have you heard about the Qajar image collection? I’ve prepared a notebook to add color to these precious pictures.
notebook: https://drive.google.com/file/d/1rfvp-1lKBwA675A6c0isV8ig2T8EtbNe/view?usp=sharing

It will be run on colab, just need to upload image on your colab and colorize them.

Images: https://drive.google.com/drive/folders/1XVE6EGD8kYnR2G8rR_Dc0JKYi9ykA0vg
πŸ‘3
Here are the Colored images:
https://t.me/QajarC
πŸ‘1
High-Performance Computing with Python @ JSC

The following topics will be covered:

Short review of vectorized programming with NumPy
Interactive parallel programming with IPython
Profiling and optimization
High-performance NumPy
Just-in-time compilation with numba
Distributed-memory parallel programming with Python and MPI
Bindings to other programming languages and HPC libraries
Interfaces to GPUs

https://gitlab.jsc.fz-juelich.de/sdlbio-courses/hpc-python-2024
πŸ‘2