Data Analytics
30.6K subscribers
545 photos
20 videos
47 files
361 links
Dive into the world of Data Analytics – uncover insights, explore trends, and master data-driven decision making.

Admin: @HusseinSheikho || @Hussein_Sheikho
Download Telegram
If you're just starting to learn machine learning and want to delve deeper into the mathematics required for machine learning and deep learning, I recommend trying this platform. It's something like LeetCode for machine learning.

This is not an advertisement: I personally used it and decided to share it with you.

https://deep-ml.com

https://t.me/CodeProgrammer
Forwarded from Machine Learning
pandas_vs_polars_cheatsheet.png
1.1 MB
Pandas vs Polars — 14-section course cheatshee

https://t.me/MachineLearning9
Have you seen the Stanford lecture notes on GPU architecture and CUDA programming?

Excellent course!

https://gfxcourses.stanford.edu/cs149/fall25/lecture/gpuarch/

https://t.me/DataAnalyticsX ✅
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
❤1
This media is not supported in your browser
VIEW IN TELEGRAM
👨‍💻 "The Repository" - a large database of cheat sheets and materials!

This section contains reference materials for Python, presented concisely, structured, and with ready-to-use code examples. It includes a general cheat sheet for the language, as well as separate materials on specific libraries and development areas. Multithreading, multiprocessing, asyncio, GIL, and other topics are also covered in detail.

📌 Here's the link: kb.txtly.ru

👉Russian
lang
Please open Telegram to view this post
VIEW IN TELEGRAM
❤1
This media is not supported in your browser
VIEW IN TELEGRAM
Have you seen the interactive explanation of the Transformer?

It's a really cool visualization of how the architecture works.

https://poloclub.github.io/transformer-explainer/
👍1
One of the best resources for SQL performance:

use-the-index-luke.com

https://t.me/DataAnalyticsX
❤5
"How to Train a Neural Network" is a concise summary of the MIT course lectures on deep learning from 2024. It focuses on one of the fundamental questions in neural networks: how a model learns its weights.

The summary examines the training process from a mathematical perspective. It covers topics such as forward propagation, loss functions, gradients, backpropagation, and gradient-based optimization methods.

I believe this is an interesting resource for those who want to go beyond a general, intuitive understanding of neural networks and begin to delve into the mathematics that underlies their training.

https://ocw.mit.edu/courses/6-7960-deep-learning-fall-2024/mit6_7960_f24_lec2.pdf

https://t.me/CodeProgrammer 🤩
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
❤1
This channels is for Programmers, Coders, Software Engineers.

0️⃣ Python
1️⃣ Data Science
2️⃣ Machine Learning
3️⃣ Data Visualization
4️⃣ Artificial Intelligence
5️⃣ Data Analysis
6️⃣ Statistics
7️⃣ Deep Learning
8️⃣ programming Languages

✅ https://t.me/addlist/8_rRW2scgfRhOTc0

✅ https://t.me/Codeprogrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
❤1
Exporting the model from PyTorch to the universal ONNX format for independent inference 🚀

Deploying PyTorch models in production often requires installing a large framework and relying on a Python environment. The ONNX (Open Neural Network Exchange) format converts the computation graph into an intermediate binary format suitable for running on any device and programming language. We will export the PyTorch neural network and run its inference using the lightweight ONNX Runtime. 🛠

To export and run the neural network, we will install the PyTorch framework, the ONNX library, and the cross-platform ONNX Runtime engine.

pip install torch onnx onnxruntime


The packages for converting and high-performance execution of graphs have been successfully installed. ✅

We will write a Python script that creates a test PyTorch model, exports it to a .onnx file, and immediately performs a verification of the output.

import torch, torch.nn as nn, onnxruntime as ort, numpy as np

model = nn.Sequential(nn.Linear(10, 5), nn.ReLU())
x = torch.randn(1, 10)
torch.onnx.export(model, x, "model.onnx", input_names=["input"], output_names=["output"])

session = ort.InferenceSession("model.onnx")
res = session.run(None, {"input": x.numpy()})
print("ONNX Output shape:", res[0].shape)


The model graph has been successfully serialized into a binary file, and the runtime performed the prediction without involving PyTorch. 📦

# verification (checks the correctness and structure of the saved ONNX model)
python3 -c "import onnx; model = onnx.load('model.onnx'); onnx.checker.check_model(model); print('ONNX Model Status: Valid')"


Expected output: ONNX Model Status: Valid

# cleanup (deletes the generated model file and cleans up binaries)
rm -f model.onnx


Converting neural networks to ONNX allows you to decouple inference from Python and run models in C++, Rust, Go, or directly in a web browser. Be sure to specify the names of the input and output tensors when exporting to simplify integration with the service. 💻

#PyTorch #ONNX #MachineLearning #DeepLearning #AI #DevOps

✨ Join Best TG Channels https://t.me/addlist/0f6vfFbEMdAwODBk

⭐️ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
❤1