Machine Learning
41.4K subscribers
3.69K photos
37 videos
48 files
723 links
Real Machine Learning — simple, practical, and built on experience.
Learn step by step with clear explanations and working code.

Admin: @HusseinSheikho || @Hussein_Sheikho
Download Telegram
20x faster KMeans with Faiss!!

#KMeans uses a slow, exhaustive search to find the nearest centroids.

#Faiss uses "Inverted Index"—an optimized data structure to store and index data points for approximate neighbor search.

#MachineLearning #DeepLearning #BigData #Datascience #ML #HealthTech #DataVisualization #ArtificialInteligence #SoftwareEngineering #GenAI #deeplearning #ChatGPT #OpenAI #python #AI #keras

https://xn--r1a.website/DataScienceM
👍62🔥1
Media is too big
VIEW IN TELEGRAM
🔥 MIT has updated its famous course 6.S191: Introduction to Deep Learning.

The program covers topics of #NLP, #CV, #LLM and the use of technology in medicine, offering a full cycle of training - from theory to practical classes using current versions of libraries.

The course is designed even for beginners: if you know how to take derivatives and multiply matrices, everything else will be explained in the process.

The lectures are released for free on YouTube and the #MIT platform on Mondays, with the first one already available

.

All slides, #code and additional materials can be found at the link provided.

📌 Fresh lecture : https://youtu.be/alfdI7S6wCY?si=6682DD2LlFwmghew

#DataAnalytics #Python #SQL #RProgramming #DataScience #MachineLearning #DeepLearning #Statistics #DataVisualization #PowerBI #Tableau #LinearRegression #Probability #DataWrangling #Excel #AI #ArtificialIntelligence #BigData #DataAnalysis #NeuralNetworks #GAN #LearnDataScience #LLM #RAG #Mathematics #PythonProgramming  #Keras

https://xn--r1a.website/CodeProgrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
👍10
Numpy @CodeProgrammer.pdf
813.2 KB
🏳️‍🌈 "NumPy Library" Tutorial

👨🏻‍💻 For the past few days, I've been busy preparing this comprehensive tutorial on the NumPy library for data science, trying to cover all the tips and tricks of this library.

Why is this booklet different? Because it is not written based on just theoretical concepts, but is the result of my own experiences and learning. It has real and practical examples that will help you better understand #NumPy concepts and use them in your projects.💯

#DataAnalytics #Python #SQL #RProgramming #DataScience #MachineLearning #DeepLearning #Statistics #DataVisualization #PowerBI #Tableau #LinearRegression #Probability #DataWrangling #Excel #AI #ArtificialIntelligence #BigData #DataAnalysis #NeuralNetworks #GAN #LearnDataScience #LLM #RAG #Mathematics #PythonProgramming  #Keras

https://xn--r1a.website/CodeProgrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
👍9🔥42
👩‍💻 Prompt Engineering: A Practical Example

This real-world project tutorial covers zero-shot and few-shot prompting, delimiters, numbered steps, role prompts, chain-of-thought prompting, and more. Improve your LLM-assisted projects today.

Link: https://realpython.com/practical-prompt-engineering/

#DataAnalytics #Python #SQL #RProgramming #DataScience #MachineLearning #DeepLearning #Statistics #DataVisualization #PowerBI #Tableau #LinearRegression #Probability #DataWrangling #Excel #AI #ArtificialIntelligence #BigData #DataAnalysis #NeuralNetworks #GAN #LearnDataScience #LLM #RAG #Mathematics #PythonProgramming  #Keras

https://xn--r1a.website/CodeProgrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
👍6
Machine Learning from Scratch by Danny Friedman

This book is for readers looking to learn new machine learning algorithms or understand algorithms at a deeper level. Specifically, it is intended for readers interested in seeing machine learning algorithms derived from start to finish. Seeing these derivations might help a reader previously unfamiliar with common algorithms understand how they work intuitively. Or, seeing these derivations might help a reader experienced in modeling understand how different algorithms create the models they do and the advantages and disadvantages of each one.

This book will be most helpful for those with practice in basic modeling. It does not review best practices—such as feature engineering or balancing response variables—or discuss in depth when certain models are more appropriate than others. Instead, it focuses on the elements of those models.

🌟 Link: https://dafriedman97.github.io/mlbook/content/introduction.html

#DataScience #MachineLearning #CheatSheet #stats #analytics #ML #IA #AI #programming #code #rstats #python #deeplearning #DL #CNN #Keras #R

https://xn--r1a.website/CodeProgrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
👍10
🔖 The book that paved the way for me to "data science"!

👨🏻‍💻 "Where do I start now?" This was the first and biggest question I faced when I started my Data Science learning journey!

I was really overwhelmed by the large number of scattered sources, long courses, and specialized books full of heavy terminology. I didn't know how to start and move forward in this direction...

✔️ But the book Intro to Data Science with Python changed everything for me and gave me a new perspective!

✏️ This book is a complete guide to starting from scratch and is great for both beginners and professionals in this field!! From coding with Python to working with data, visualization, and even AI tools, it explains everything in the simplest and most practical way possible.

💸 A great start for anyone looking to learn data science with Python!👇

🏳️‍🌈 Intro to Data Science with Python
📄 E-book
🐱 GitHub-Repos

#DataAnalytics #Python #SQL #RProgramming #DataScience #MachineLearning #DeepLearning #Statistics #DataVisualization #PowerBI #Tableau #LinearRegression #Probability #DataWrangling #Excel #AI #ArtificialIntelligence #BigData #DataAnalysis #NeuralNetworks #GAN #LearnDataScience #LLM #RAG #Mathematics #PythonProgramming  #Keras

https://xn--r1a.website/CodeProgrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
👍101
Pandas Introduction to Advanced.pdf
854.8 KB
📄 "Pandas Introduction to Advanced" booklet

👨🏻‍💻 You can't attend a #datascience interview and not be asked about Pandas! But you don't have to memorize all its methods and functions! With this booklet, you'll learn everything you need.

✔️ One of the most useful and interesting combinations is using #Pandas with #AWS Lambda, which can be very useful in real projects.

#DataAnalytics #Python #SQL #RProgramming #DataScience #MachineLearning #DeepLearning #Statistics #DataVisualization #PowerBI #Tableau #LinearRegression #Probability #DataWrangling #Excel #AI #ArtificialIntelligence #BigData #DataAnalysis #NeuralNetworks #GAN #LearnDataScience #LLM #RAG #Mathematics #PythonProgramming  #Keras

https://xn--r1a.website/CodeProgrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
👍13
Please open Telegram to view this post
VIEW IN TELEGRAM
5👍3
🔗 Machine Learning from Scratch by Danny Friedman

This book is for readers looking to learn new #machinelearning algorithms or understand algorithms at a deeper level. Specifically, it is intended for readers interested in seeing machine learning algorithms derived from start to finish. Seeing these derivations might help a reader previously unfamiliar with common algorithms understand how they work intuitively. Or, seeing these derivations might help a reader experienced in modeling understand how different #algorithms create the models they do and the advantages and disadvantages of each one.

This book will be most helpful for those with practice in basic modeling. It does not review best practices—such as feature engineering or balancing response variables—or discuss in depth when certain models are more appropriate than others. Instead, it focuses on the elements of those models.


https://dafriedman97.github.io/mlbook/content/introduction.html

#DataAnalytics #Python #SQL #RProgramming #DataScience #MachineLearning #DeepLearning #Statistics #DataVisualization #PowerBI #Tableau #LinearRegression #Probability #DataWrangling #Excel #AI #ArtificialIntelligence #BigData #DataAnalysis #NeuralNetworks #GAN #LearnDataScience #LLM #RAG #Mathematics #PythonProgramming  #Keras

https://xn--r1a.website/CodeProgrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
👍42
Adversarial Learning with Keras and TensorFlow (Part 3): Exploring Adversarial Attacks Using Neural Structured Learning (NSL)

📖 Table of Contents Adversarial Learning with Keras and TensorFlow (Part 3): Exploring Adversarial Attacks Using Neural Structured Learning (NSL) Introduction to Advanced Adversarial Techniques in Machine Learning Harnessing NSL for Robust Model Training: Insights from Part 2 Deep Dive into…...

🏷️ #AdversarialLearning #DeepLearning #ImageProcessing #Keras #MachineLearning #NeuralNetworks #NeuralStructuredLearning #TensorFlow #Tutorial
CycleGAN: Unpaired Image-to-Image Translation (Part 1)

📖 Table of Contents CycleGAN: Unpaired Image-to-Image Translation (Part 1) Introduction Unpaired Image Translation CycleGAN Pipeline and Training Loss Formulation Adversarial Loss Cycle Consistency Summary Citation Information CycleGAN: Unpaired Image-to-Image Translation (Part 1) In this tutorial, yo...

🏷️ #ComputerVision #CycleGAN #DeepLearning #Keras #KerasandTensorFlow #TensorFlow #UnpairedImageTranslation
💡 Building a Simple Convolutional Neural Network (CNN)

Constructing a basic Convolutional Neural Network (CNN) is a fundamental step in deep learning for image processing. Using TensorFlow's Keras API, we can define a network with convolutional, pooling, and dense layers to classify images. This example sets up a simple CNN to recognize handwritten digits from the MNIST dataset.

import tensorflow as tf
from tensorflow.keras import layers, models
from tensorflow.keras.datasets import mnist
import numpy as np

# 1. Load and preprocess the MNIST dataset
(train_images, train_labels), (test_images, test_labels) = mnist.load_data()

# Reshape images for CNN: (batch_size, height, width, channels)
# MNIST images are 28x28 grayscale, so channels = 1
train_images = train_images.reshape((60000, 28, 28, 1)).astype('float32') / 255
test_images = test_images.reshape((10000, 28, 28, 1)).astype('float32') / 255

# 2. Define the CNN architecture
model = models.Sequential()

# First Convolutional Block
model.add(layers.Conv2D(32, (3, 3), activation='relu', input_shape=(28, 28, 1)))
model.add(layers.MaxPooling2D((2, 2)))

# Second Convolutional Block
model.add(layers.Conv2D(64, (3, 3), activation='relu'))
model.add(layers.MaxPooling2D((2, 2)))

# Flatten the 3D output to 1D for the Dense layers
model.add(layers.Flatten())

# Dense (fully connected) layers
model.add(layers.Dense(64, activation='relu'))
model.add(layers.Dense(10, activation='softmax')) # Output layer for 10 classes (digits 0-9)

# 3. Compile the model
model.compile(optimizer='adam',
loss='sparse_categorical_crossentropy',
metrics=['accuracy'])

# Print a summary of the model layers
model.summary()

# 4. Train the model (uncomment to run training)
# print("\nTraining the model...")
# model.fit(train_images, train_labels, epochs=5, batch_size=64, validation_split=0.1)

# 5. Evaluate the model (uncomment to run evaluation)
# print("\nEvaluating the model...")
# test_loss, test_acc = model.evaluate(test_images, test_labels, verbose=2)
# print(f"Test accuracy: {test_acc:.4f}")


Code explanation: This script defines a simple CNN using Keras. It loads and normalizes MNIST images. The Sequential model adds Conv2D layers for feature extraction, MaxPooling2D for downsampling, a Flatten layer to transition to 1D, and Dense layers for classification. The model is then compiled with an optimizer, loss function, and metrics, and a summary of its architecture is printed. Training and evaluation steps are included as commented-out examples.

#Python #DeepLearning #CNN #Keras #TensorFlow

━━━━━━━━━━━━━━━
By: @DataScienceM