TGViewer
Channel Public Channel
Machine Learning with Python

Machine Learning with Python

@codeprogrammer

Learn Machine Learning with hands-on Python tutorials, real-world code examples, and clear explanations for researchers and developers.

Admin: @HusseinSheikho || @Hussein_Sheikho
Subscribers
68.6K
Photos
1.6K
Videos
136
Links
1.3K

Showing posts older than #4241 ยท Back to latest

Older Posts 20 shown
Post #4240 3.42K
Question:
What is type hinting in Python, and how does it enhance code quality?

Answer: ๐Ÿ‘‰ @DataScienceQ
  • โค 5
Post #4239 4.52K
๐Ÿค–๐Ÿง  Diffusion Transformers with Representation Autoencoders (RAE): The Next Leap in Generative AI

๐Ÿ—“๏ธ 14 Oct 2025
๐Ÿ“š AI News & Trends

Diffusion Transformers (DiTs) have revolutionized image and video generation enabling stunningly realistic outputs in systems like Stable Diffusion and Imagen. However, despite innovations in transformer architectures and training methods, one crucial element of the diffusion pipeline has remained largely stagnant- the autoencoder that defines the latent space. Most current diffusion models still depend on Variational ...

#DiffusionTransformers #RAE #GenerativeAI #StableDiffusion #Imagen #LatentSpace
  • โค 5
Post #4235 4.4K
โš™๏ธ This tool is turning the world of Web Scraping upside down!

๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป A new tool called Crawl4AI has been introduced that makes Web Scraping and data extraction from websites much easier, faster, and smarter! Especially designed for use in AI models like ChatGPT and similar tools.

1โƒฃ Its special features:

๐Ÿ”น Completely free and open-source. That means you can use it however you want without any cost.

๐Ÿ”น Works much faster than paid tools.

๐Ÿ”น Its outputs are AI-friendly, such as JSON, HTML, or Markdown.

๐Ÿ”น Can extract data from multiple websites simultaneously.

๐Ÿ”น Collects images, videos, and audio from pages as well.

๐Ÿ”น Extracts all internal and external links for you.
                   โž– โž– โž–

๐Ÿ”ข More advanced features:

๐Ÿ”น Takes screenshots of pages and collects metadata (like title, description, tags).

๐Ÿ”น You can write custom code or special settings like auth and headers.

๐Ÿ”น You can even change its browser User-Agent to behave like a human.

๐Ÿ”น Before starting extraction, it can run your custom JavaScript code.

โ”Œ โ™ฆ๏ธ Crawl4AI
โ””
๐Ÿฑ GitHub Repos

๐ŸŒ #DataScience #DataScience

https://t.me/CodeProgrammer
  • โค 8
Post #4234 3.86K

Forwarded from Machine Learning

๐Ÿ“Œ Mastering Object Counting in Videos

๐Ÿ—‚ Category:

๐Ÿ•’ Date: 2024-06-25 | โฑ๏ธ Read time: 8 min read

Step-by-step guide to counting strolling ants on a tree using detection and tracking techniques.
  • โค 6
Post #4231 7.01K
๐Ÿ”ฐ Email automation using Python

Why type emails when Python can do it for you? Work smarter, not harder... unless youโ€™re debugging. ๐Ÿ˜…๐Ÿ’ป
  • โค 10
  • ๐Ÿ‘ 2
Post #4230 3.92K

Forwarded from Github Top Repositories

๐Ÿ”ฅ Trending Repository: Prompt-Engineering-Guide

๐Ÿ“ Description: ๐Ÿ™ Guides, papers, lecture, notebooks and resources for prompt engineering

๐Ÿ”— Repository URL: https://github.com/dair-ai/Prompt-Engineering-Guide

๐ŸŒ Website: https://www.promptingguide.ai/

๐Ÿ“– Readme: https://github.com/dair-ai/Prompt-Engineering-Guide#readme

๐Ÿ“Š Statistics:
๐ŸŒŸ Stars: 63K stars
๐Ÿ‘€ Watchers: 668
๐Ÿด Forks: 6.6K forks

๐Ÿ’ป Programming Languages: MDX - Jupyter Notebook

๐Ÿท๏ธ Related Topics:
#deep_learning #openai #language_model #prompt_engineering #generative_ai #chatgpt


==================================
๐Ÿง  By: https://t.me/DataScienceM
  • โค 9
  • ๐Ÿ‘ 1
Post #4229 4.77K
๐Ÿ’  The Best Tool for Extracting Data from PDF Files!

๐Ÿ‘ฉ๐Ÿปโ€๐Ÿ’ป Usually, PDF files like financial reports, scientific articles, or data analyses are full of tables, formulas, and complex texts.

โฌ…๏ธ Most tools only extract texts and destroy the data structure, causing important information to be lost.

โœ… But the tool Docling uses artificial intelligence to preserve all those structures (text, tables, formulas) exactly as they are in the file. Then it converts that data into a structured format. Meaning AI models can work on them.

โญ• The interesting point is that with just three lines of Python code, you can convert any PDF into searchable data!

โ”Œ ๐Ÿฅต Docling
โ”œ
๐Ÿ”Ž Article
โ”œ
๐Ÿ“„ Documentation
โ””
๐Ÿฑ GitHub-Repos

๐ŸŒ #Data_Science #DataScience
โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–
  • โค 5
  • ๐Ÿ‘ 1
Post #4228 3.66K

Forwarded from Machine Learning

๐Ÿ“Œ Learn Transformer Fine-Tuning and Segment Anything

๐Ÿ—‚ Category: MACHINE LEARNING

๐Ÿ•’ Date: 2024-06-30 | โฑ๏ธ Read time: 13 min read

Train Metaโ€™s SAM to segment high fidelity masks for any domain
  • โค 6
Post #4214 4.46K
๐Ÿค–๐Ÿง  Build a Large Language Model From Scratch: A Step-by-Step Guide to Understanding and Creating LLMs

๐Ÿ—“๏ธ 08 Oct 2025
๐Ÿ“š AI News & Trends

In recent years, Large Language Models (LLMs) have revolutionized the world of Artificial Intelligence (AI). From ChatGPT and Claude to Llama and Mistral, these models power the conversational systems, copilots, and generative tools that dominate todayโ€™s AI landscape. However, for most developers and learners, the inner workings of these systems remain a mystery until now. ...

#LargeLanguageModels #LLM #ArtificialIntelligence #DeepLearning #MachineLearning #AIGuides
  • โค 5
Post #4213 3.56K

Forwarded from Machine Learning

๐Ÿ“Œ Understanding Positional Embeddings in Transformers: From Absolute to Rotary

๐Ÿ—‚ Category: DEEP LEARNING

๐Ÿ•’ Date: 2024-07-20 | โฑ๏ธ Read time: 19 min read

A deep dive into absolute, relative, and rotary positional embeddings with code examples
  • โค 5
Post #4212 4.15K
๐Ÿค–๐Ÿง  The Little Book of Deep Learning โ€“ A Complete Summary and Chapter-Wise Overview

๐Ÿ—“๏ธ 08 Oct 2025
๐Ÿ“š AI News & Trends

In the ever-evolving world of Artificial Intelligence, deep learning continues to be the driving force behind breakthroughs in computer vision, speech recognition and natural language processing. For those seeking a clear, structured and accessible guide to understanding how deep learning really works, โ€œThe Little Book of Deep Learningโ€ by Franรงois Fleuret is a gem. This ...

#DeepLearning #ArtificialIntelligence #MachineLearning #NeuralNetworks #AIGuides #FrancoisFleuret
  • โค 6
Post #4197 4.67K
๐Ÿค–๐Ÿง  Join the 5-Day AI Agents Intensive Course with Google

๐Ÿ—“๏ธ 07 Oct 2025
๐Ÿ“š AI News & Trends

Artificial Intelligence is rapidly evolving beyond chatbots and text generation. The next frontier is AI agents โ€” intelligent, autonomous systems that can reason, take action and collaborate with tools and other agents. To help developers and practitioners build these next-generation systems, Google is launching the 5-Day AI Agents Intensive, a no-cost, online program running from ...

#aiagents #dayai #googleartificial #agentsintelligent #ai #evolvingchatbots
  • โค 6
  • ๐Ÿ‘ 1
Post #4188 5.4K
Andrew Ng launches a free course on AI agents ๐Ÿ˜ฎ

The course covers four key patterns:

Reflection โ€” the agent independently improves its responses

Tool use โ€” using tools

Planning โ€” action planning

Multi-agent collaboration โ€” multiple agents working together on one task
Everything is implemented in pure Python. Andrew emphasizes that creating AI agents is one of the most in-demand skills in the market.

Available here: https://www.deeplearning.ai/courses/agentic-ai/

๐Ÿ‘‰  @codeprogrammer
  • โค 5
Post #4183 4.24K

Forwarded from Remote Jobs โ€” Daily LinkedIn Picks ๐Ÿ’ผ

1. What is the output of the following code?
x = [1, 2, 3]
y = x
y[0] = 4
print(x)

2. Which of the following is NOT a valid way to create a dictionary in Python?
A) dict(a=1, b=2)
B) {a: 1, b: 2}
C) dict([('a', 1), ('b', 2)])
D) {1: 'a', 2: 'b'}

3. Write a function that takes a list of integers and returns a new list containing only even numbers.

4. What will be printed by this code?
def func(a, b=[]):
b.append(a)
return b
print(func(1))
print(func(2))

5. What is the purpose of the __slots__ attribute in a Python class?

6. Which built-in function can be used to remove duplicates from a list while preserving order?

7. Explain the difference between map(), filter(), and reduce() with examples.

8. What does the @staticmethod decorator do in Python?

9. Write a generator function that yields Fibonacci numbers up to a given limit.

10. What is the output of this code?
import copy
a = [1, 2, [3, 4]]
b = copy.deepcopy(a)
b[2][0] = 5
print(a[2][0])

11. Which of the following is true about Pythonโ€™s GIL (Global Interpreter Lock)?
A) It allows multiple threads to execute Python bytecode simultaneously.
B) It prevents race conditions in multithreaded programs.
C) It limits CPU-bound multi-threaded performance.
D) It is disabled in PyPy.

12. How would you implement a context manager using a class?

13. What is the result of bool([]) and why?

14. Write a recursive function to calculate the factorial of a number.

15. What is the difference between is and == in Python?

16. Explain how Python handles memory management for objects.

17. What is the output of this code?
class A:
def __init__(self):
self.x = 1

class B(A):
def __init__(self):
super().__init__()
self.y = 2

obj = B()
print(hasattr(obj, 'x') and hasattr(obj, 'y'))

18. Describe the use of *args and **kwargs in function definitions.

19. Write a program that reads a text file and counts the frequency of each word.

20. What is monkey patching in Python and when might it be useful?

#Python #AdvancedPython #ProgrammingTest #CodingChallenge #PythonInterview #PythonDeveloper #CodeQuiz #HighLevelPython #LearnPython #PythonSkills #PythonExpert

By: @DataScienceQ ๐Ÿš€
  • โค 10
Post #4181 3.76K

Forwarded from Machine Learning

๐Ÿ“Œ How To Learn AI (Roadmap)

๐Ÿ—‚ Category: ARTIFICIAL INTELLIGENCE

๐Ÿ•’ Date: 2024-08-05 | โฑ๏ธ Read time: 11 min read

A full breakdown of how you can learn AI this year effectively
  • โค 5
  • ๐Ÿ‘ 2
Post #4177 4.14K

Forwarded from Remote Jobs โ€” Daily LinkedIn Picks ๐Ÿ’ผ

1. What is the output of the following code?
x = [1, 2, 3]
y = x
y.append(4)
print(x)


2. Which of the following data types is immutable in Python?
A) List
B) Dictionary
C) Set
D) Tuple

3. Write a Python program to reverse a string without using built-in functions.

4. What will be printed by this code?
def func(a, b=[]):
b.append(a)
return b

print(func(1))
print(func(2))


5. Explain the difference between == and is operators in Python.

6. How do you handle exceptions in Python? Provide an example.

7. What is the output of:
print(2 ** 3 ** 2)


8. Which keyword is used to define a function in Python?
A) def
B) function
C) func
D) define

9. Write a program to find the factorial of a number using recursion.

10. What does the *args parameter do in a function?

11. What will be the output of:
list1 = [1, 2, 3]
list2 = list1.copy()
list2[0] = 10
print(list1)


12. Explain the concept of list comprehension with an example.

13. What is the purpose of the __init__ method in a Python class?

14. Write a program to check if a given string is a palindrome.

15. What is the output of:
a = [1, 2, 3]
b = a[:]
b[0] = 10
print(a)


16. Describe how Python manages memory (garbage collection).

17. What will be printed by:
x = "hello"
y = "world"
print(x + y)


18. Write a Python program to generate the first n Fibonacci numbers.

19. What is the difference between range() and xrange() in Python 2?

20. What is the use of the lambda function in Python? Give an example.

#PythonQuiz #CodingTest #ProgrammingExam #MultipleChoice #CodeOutput #PythonBasics #InterviewPrep #CodingChallenge #BeginnerPython #TechAssessment #PythonQuestions #SkillCheck #ProgrammingSkills #CodePractice #PythonLearning #MCQ #ShortAnswer #TechnicalTest #PythonSyntax #Algorithm #DataStructures #PythonProgramming

By: @DataScienceQ ๐Ÿš€
  • โค 11
Post #4168 22.7K
๐Ÿ“บ 12 comprehensive playlists to master
โฌ…๏ธ machine learning, deep learning, and GenAI!


๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Each playlist is designed to be simple and understandable for beginners, and then gradually dive deeper into the topics.


๐Ÿ˜‰ Machine Learning Basics (39 videos)

๐Ÿ˜‰ Python for ML (9 videos)

๐Ÿ˜‰ Optimization for ML (5 videos)

๐Ÿ˜‰ Machine Learning with Practical Exercises (37 videos)

๐Ÿ˜‰ Building Decision Trees from Scratch (13 videos)

๐Ÿ˜‰ Building Neural Networks from Scratch (35 videos)

๐Ÿ˜‰ Graph Neural Networks (6 videos)

๐Ÿ˜‰ Computer Vision from Scratch (19 videos)

๐Ÿ˜‰ Building LLM from Scratch (43 videos)

๐Ÿ˜‰ Reasoning in LLMs from Scratch (22 videos)

๐Ÿ˜‰ Building DeepSeek from Scratch (29 videos)

๐Ÿ˜‰ Machine Learning in Production Environment (6 videos)



๐ŸŒ #Data_Science #DataScience
โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–

https://t.me/CodeProgrammer โค๏ธ
  • โค 19
  • ๐Ÿ‘ 2
Post #4166 5.15K
๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป This Python library helps you extract usable data for language models from complex files like tables, images, charts, or multi-page documents.

๐Ÿ“ The idea of Agentic Document Extraction is that unlike common methods like OCR that only read text, it can also understand the structure and relationships between different parts of the document. For example, it understands which title belongs to which table or image.


โœ… Works with PDFs, images, and website links.

โ˜‘๏ธ Can chunk and process very large documents (up to 1000 pages) by itself.

โœ”๏ธ Outputs both JSON and Markdown formats.

โ˜‘๏ธ Even specifies the exact location of each section on the page.

โœ”๏ธ Supports parallel and batch processing.

pip install agentic-doc


โ”Œ ๐Ÿฅต Agentic Document Extraction
โ”œ
๐ŸŒŽ Website
โ””
๐Ÿฑ GitHub Repos

๐ŸŒ #DataScience #DataScience
โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–

https://t.me/CodeProgrammer
  • โค 8
  • ๐Ÿ‘ 3
  • ๐Ÿ”ฅ 1
Older posts โ†’
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook โ†’Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 โ†’