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

Admin: @HusseinSheikho || @Hussein_Sheikho
Download Telegram
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
Forwarded from Udemy Free
Hands On Python Data Science - Data Science Bootcamp

Master Python for Data Science with Real-World Applications: Dive Deep into Data Analysis, Machine Learning

🏷 Category: Development
🌍 Language: English
👥 Students: 31,524 students
⭐️ Rating: 4.3/5.0
💰 Price: $14.99 ⟹ FREE
🆔 Coupon: •••••••••• (tap below to reveal)

🔓 Tap "Get Coupon" below — the code unlocks inside the app after a short rewarded ad.

💎 By: https://t.me/Udemy26
#Programming #Coding #Development #Tech #Python #DataScience
❤1
Forwarded from Machine Learning
100 Machine Learning Interview Q & As.pdf
132.7 KB
100 Machine Learning Interview Questions and Answers 🤖

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

⭐️ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
❤1🔥1
A distinctive bot for subscribing to courses on the most popular educational platforms across multiple fields, most notably programming, artificial intelligence, mechanics, medicine, and other sciences. 🎓🤖

This bot provides a free subscription to any course available within the bot. 🆓

https://t.me/UdemySybot?start=ref_418788114

#FreeCourses #Programming #AI #Education #Udemy #TelegramBots
One of the key moments when I truly understood how transformers work: 🧠✨

"Stop thinking of a transformer as a conveyor belt, where each layer transforms the output of the previous one."

"Start thinking of it as a residual flow." 🌊

Each block in a transformer has a residual connection that adds the input of the block to its output:

x' = f(x) + x


Because of this addition, the attention mechanism or MLP within the layer – the function f in the formula above – actually does NOT transform the input. Instead, it calculates the information that needs to be ADDED to the input before passing it to the next block! ➕

Imagine the main part of the transformer as a shared whiteboard. 📝 Each block reads what it needs from it and adds its own notes. All changes are additions.

Furthermore, layers can exchange information over distances. A block in the first layer can write information, and a block in the fifth layer can read it, even though there is no direct connection between them. 🔗

I owe these ideas to an older article by Anthropic about the architecture of transformers:
transformer-circuits.pub/2021/framework

#Transformers #DeepLearning #AI #MachineLearning #NeuralNetworks #Tech

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

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