Coding & Data Science Resources
30.4K subscribers
334 photos
515 files
337 links
Official Telegram Channel for Free Coding & Data Science Resources

Admin: @love_data
Download Telegram
How to convert image to pdf in Python

# Python3 program to convert image to pfd
# using img2pdf library
 
# importing necessary libraries
import img2pdf
from PIL import Image
import os
 
# storing image path
img_path = "Input.png"
 
# storing pdf path
pdf_path = "file_pdf.pdf"
 
# opening image
image = Image.open(img_path)
 
# converting into chunks using img2pdf
pdf_bytes = img2pdf.convert(image.filename)
 
# opening or creating pdf file
file = open(pdf_path, "wb")
 
# writing pdf files with chunks
file.write(pdf_bytes)
 
# closing image file
image.close()
 
# closing pdf file
file.close()
 
# output
print("Successfully made pdf file")

pip3 install pillow && pip3 install img2pdf
๐Ÿ‘1
Complete DSA Roadmap

|-- Basic_Data_Structures
| |-- Arrays
| |-- Strings
| |-- Linked_Lists
| |-- Stacks
| โ””โ”€ Queues
|
|-- Advanced_Data_Structures
| |-- Trees
| | |-- Binary_Trees
| | |-- Binary_Search_Trees
| | |-- AVL_Trees
| | โ””โ”€ B-Trees
| |
| |-- Graphs
| | |-- Graph_Representation
| | | |- Adjacency_Matrix
| | | โ”” Adjacency_List
| | |
| | |-- Depth-First_Search
| | |-- Breadth-First_Search
| | |-- Shortest_Path_Algorithms
| | | |- Dijkstra's_Algorithm
| | | โ”” Bellman-Ford_Algorithm
| | |
| | โ””โ”€ Minimum_Spanning_Tree
| | |- Prim's_Algorithm
| | โ”” Kruskal's_Algorithm
| |
| |-- Heaps
| | |-- Min_Heap
| | |-- Max_Heap
| | โ””โ”€ Heap_Sort
| |
| |-- Hash_Tables
| |-- Disjoint_Set_Union
| |-- Trie
| |-- Segment_Tree
| โ””โ”€ Fenwick_Tree
|
|-- Algorithmic_Paradigms
| |-- Brute_Force
| |-- Divide_and_Conquer
| |-- Greedy_Algorithms
| |-- Dynamic_Programming
| |-- Backtracking
| |-- Sliding_Window_Technique
| |-- Two_Pointer_Technique
| โ””โ”€ Divide_and_Conquer_Optimization
| |-- Merge_Sort_Tree
| โ””โ”€ Persistent_Segment_Tree
|
|-- Searching_Algorithms
| |-- Linear_Search
| |-- Binary_Search
| |-- Depth-First_Search
| โ””โ”€ Breadth-First_Search
|
|-- Sorting_Algorithms
| |-- Bubble_Sort
| |-- Selection_Sort
| |-- Insertion_Sort
| |-- Merge_Sort
| |-- Quick_Sort
| โ””โ”€ Heap_Sort
|
|-- Graph_Algorithms
| |-- Depth-First_Search
| |-- Breadth-First_Search
| |-- Topological_Sort
| |-- Strongly_Connected_Components
| โ””โ”€ Articulation_Points_and_Bridges
|
|-- Dynamic_Programming
| |-- Introduction_to_DP
| |-- Fibonacci_Series_using_DP
| |-- Longest_Common_Subsequence
| |-- Longest_Increasing_Subsequence
| |-- Knapsack_Problem
| |-- Matrix_Chain_Multiplication
| โ””โ”€ Dynamic_Programming_on_Trees
|
|-- Mathematical_and_Bit_Manipulation_Algorithms
| |-- Prime_Numbers_and_Sieve_of_Eratosthenes
| |-- Greatest_Common_Divisor
| |-- Least_Common_Multiple
| |-- Modular_Arithmetic
| โ””โ”€ Bit_Manipulation_Tricks
|
|-- Advanced_Topics
| |-- Trie-based_Algorithms
| | |-- Auto-completion
| | โ””โ”€ Spell_Checker
| |
| |-- Suffix_Trees_and_Arrays
| |-- Computational_Geometry
| |-- Number_Theory
| | |-- Euler's_Totient_Function
| | โ””โ”€ Mobius_Function
| |
| โ””โ”€ String_Algorithms
| |-- KMP_Algorithm
| โ””โ”€ Rabin-Karp_Algorithm
|
|-- OnlinePlatforms
| |-- LeetCode
| |-- HackerRank
๐Ÿ‘8
๐— ๐—ถ๐—ฐ๐—ฟ๐—ผ๐˜€๐—ผ๐—ณ๐˜ ๐—™๐—ฅ๐—˜๐—˜ ๐—–๐—ฒ๐—ฟ๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ๐˜€๐Ÿ˜

Whether youโ€™re a student, fresher, or professional looking to upskill โ€” Microsoft has dropped a series of completely free courses to get you started.

Learn SQL ,Power BI & More In 2025 

๐—Ÿ๐—ถ๐—ป๐—ธ:-๐Ÿ‘‡

https://pdlink.in/42FxnyM

Enroll For FREE & Get Certified ๐ŸŽ“
โค1๐Ÿ‘1
Some useful PYTHON libraries for data science

NumPy stands for Numerical Python. The most powerful feature of NumPy is n-dimensional array. This library also contains basic linear algebra functions, Fourier transforms,  advanced random number capabilities and tools for integration with other low level languages like Fortran, C and C++

SciPy stands for Scientific Python. SciPy is built on NumPy. It is one of the most useful library for variety of high level science and engineering modules like discrete Fourier transform, Linear Algebra, Optimization and Sparse matrices.

Matplotlib for plotting vast variety of graphs, starting from histograms to line plots to heat plots.. You can use Pylab feature in ipython notebook (ipython notebook โ€“pylab = inline) to use these plotting features inline. If you ignore the inline option, then pylab converts ipython environment to an environment, very similar to Matlab. You can also use Latex commands to add math to your plot.

Pandas for structured data operations and manipulations. It is extensively used for data munging and preparation. Pandas were added relatively recently to Python and have been instrumental in boosting Pythonโ€™s usage in data scientist community.

Scikit Learn for machine learning. Built on NumPy, SciPy and matplotlib, this library contains a lot of efficient tools for machine learning and statistical modeling including classification, regression, clustering and dimensionality reduction.

Statsmodels for statistical modeling. Statsmodels is a Python module that allows users to explore data, estimate statistical models, and perform statistical tests. An extensive list of descriptive statistics, statistical tests, plotting functions, and result statistics are available for different types of data and each estimator.

Seaborn for statistical data visualization. Seaborn is a library for making attractive and informative statistical graphics in Python. It is based on matplotlib. Seaborn aims to make visualization a central part of exploring and understanding data.

Bokeh for creating interactive plots, dashboards and data applications on modern web-browsers. It empowers the user to generate elegant and concise graphics in the style of D3.js. Moreover, it has the capability of high-performance interactivity over very large or streaming datasets.

Blaze for extending the capability of Numpy and Pandas to distributed and streaming datasets. It can be used to access data from a multitude of sources including Bcolz, MongoDB, SQLAlchemy, Apache Spark, PyTables, etc. Together with Bokeh, Blaze can act as a very powerful tool for creating effective visualizations and dashboards on huge chunks of data.

Scrapy for web crawling. It is a very useful framework for getting specific patterns of data. It has the capability to start at a website home url and then dig through web-pages within the website to gather information.

SymPy for symbolic computation. It has wide-ranging capabilities from basic symbolic arithmetic to calculus, algebra, discrete mathematics and quantum physics. Another useful feature is the capability of formatting the result of the computations as LaTeX code.

Requests for accessing the web. It works similar to the the standard python library urllib2 but is much easier to code. You will find subtle differences with urllib2 but for beginners, Requests might be more convenient.

Additional libraries, you might need:

os for Operating system and file operations

networkx and igraph for graph based data manipulations

regular expressions for finding patterns in text data

BeautifulSoup for scrapping web. It is inferior to Scrapy as it will extract information from just a single webpage in a run.
โค3
๐Ÿฏ ๐—™๐—ฟ๐—ฒ๐—ฒ ๐—ง๐—–๐—ฆ ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ๐˜€ ๐—˜๐˜ƒ๐—ฒ๐—ฟ๐˜† ๐—™๐—ฟ๐—ฒ๐˜€๐—ต๐—ฒ๐—ฟ ๐— ๐˜‚๐˜€๐˜ ๐—ง๐—ฎ๐—ธ๐—ฒ ๐˜๐—ผ ๐—š๐—ฒ๐˜ ๐—๐—ผ๐—ฏ-๐—ฅ๐—ฒ๐—ฎ๐—ฑ๐˜†๐Ÿ˜

๐ŸŽฏ If Youโ€™re a Fresher, These TCS Courses Are a Must-Do๐Ÿ“„โœ”๏ธ

Stepping into the job market can be overwhelmingโ€”but what if you had certified, expert-backed training that actually prepares you?๐Ÿ‘จโ€๐ŸŽ“โœจ๏ธ

๐‹๐ข๐ง๐ค๐Ÿ‘‡:-

https://pdlink.in/42Nd9Do

Donโ€™t wait. Get certified, get confident, and get closer to landing your first jobโœ…๏ธ
๐Ÿ‘1
9 tips to get better at debugging code:

Read error messages carefully โ€” they often tell you everything

Use print/log statements to trace code execution

Check one small part at a time

Reproduce the bug consistently

Use a debugger to step through code line by line

Compare working vs broken code

Check for typos, null values, and off-by-one errors

Rubber duck debugging โ€” explain your code out loud

Take breaks โ€” fresh eyes spot bugs faster

Coding Interview Resources:๐Ÿ‘‡ https://whatsapp.com/channel/0029VammZijATRSlLxywEC3X

ENJOY LEARNING ๐Ÿ‘๐Ÿ‘
๐Ÿ‘1
๐—™๐—ฟ๐—ฒ๐—ฒ ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ ๐˜„๐—ถ๐˜๐—ต ๐—–๐—ฒ๐—ฟ๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ฒ ๐—ฏ๐˜† ๐—š๐—ผ๐—ผ๐—ด๐—น๐—ฒ โ€“ ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป ๐—ฃ๐˜†๐˜๐—ต๐—ผ๐—ป ๐—ณ๐—ผ๐—ฟ ๐——๐—ฎ๐˜๐—ฎ ๐—”๐—ป๐—ฎ๐—น๐˜†๐˜๐—ถ๐—ฐ๐˜€๐Ÿ˜

If youโ€™re starting your journey into data analytics, Python is the first skill you need to master๐Ÿ‘จโ€๐ŸŽ“

A free, beginner-friendly course by Google on Kaggle, designed to take you from zero to data-ready with hands-on coding practice๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ“

๐‹๐ข๐ง๐ค๐Ÿ‘‡:-

https://pdlink.in/4k24zGl

Just start coding right in your browserโœ…๏ธ
โค2
๐Ÿฑ ๐—™๐—ฟ๐—ฒ๐—ฒ ๐— ๐—ถ๐—ฐ๐—ฟ๐—ผ๐˜€๐—ผ๐—ณ๐˜ ๐——๐—ฎ๐˜๐—ฎ ๐—ฆ๐—ฐ๐—ถ๐—ฒ๐—ป๐—ฐ๐—ฒ ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ๐˜€ ๐—ฌ๐—ผ๐˜‚ ๐—–๐—ฎ๐—ปโ€™๐˜ ๐— ๐—ถ๐˜€๐˜€๐Ÿ˜

Microsoft Learn is offering 5 must-do courses for aspiring data scientists, absolutely free๐Ÿ”ฅ๐Ÿ“Š

These self-paced learning modules are designed by industry experts and cover everything from Python and ML to Microsoft Fabric and Azure๐ŸŽฏ

๐‹๐ข๐ง๐ค๐Ÿ‘‡:-

https://pdlink.in/4iSWjaP

Job-ready content that gets you resultsโœ…๏ธ
๐Ÿ‘1
How to enter into Data Science

๐Ÿ‘‰Start with the basics: Learn programming languages like Python and R to master data analysis and machine learning techniques. Familiarize yourself with tools such as TensorFlow, sci-kit-learn, and Tableau to build a strong foundation.

๐Ÿ‘‰Choose your target field: From healthcare to finance, marketing, and more, data scientists play a pivotal role in extracting valuable insights from data. You should choose which field you want to become a data scientist in and start learning more about it.

๐Ÿ‘‰Build a portfolio: Start building small projects and add them to your portfolio. This will help you build credibility and showcase your skills.
๐Ÿ‘2โค1
Forwarded from Artificial Intelligence
๐—•๐—ผ๐—ผ๐˜€๐˜ ๐—ฌ๐—ผ๐˜‚๐—ฟ ๐—ฆ๐—ธ๐—ถ๐—น๐—น๐˜€ ๐˜„๐—ถ๐˜๐—ต ๐—ง๐—ต๐—ฒ๐˜€๐—ฒ ๐—™๐—ฟ๐—ฒ๐—ฒ ๐—–๐—ฒ๐—ฟ๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ๐˜€๐Ÿ˜

Ready to take your career to the next level?๐Ÿ“Š๐Ÿ“Œ

These free certification courses offer a golden opportunity to build expertise in tech, programming, AI, and moreโ€”all for free!๐Ÿ”ฅ๐Ÿ’ป

๐‹๐ข๐ง๐ค๐Ÿ‘‡:-

https://pdlink.in/4gPNbDc

These courses are your stepping stones to successโœ…๏ธ
โค2๐Ÿ‘1
9 tips to learn programming faster:

Build small projects from day 1

Donโ€™t memorize, understand the logic

Learn by debugging your own code

Google is your best friend

Break big problems into chunks

Teach others what youโ€™ve learned

Be consistent โ€” code daily

Read others' code on GitHub

Donโ€™t rush โ€” master the basics

Free Programming Resources: https://whatsapp.com/channel/0029VahiFZQ4o7qN54LTzB17

ENJOY LEARNING ๐Ÿ‘๐Ÿ‘
๐Ÿ‘1
๐——๐—ฎ๐˜๐—ฎ ๐—”๐—ป๐—ฎ๐—น๐˜†๐˜๐—ถ๐—ฐ๐˜€ ๐—ฉ๐—ถ๐—ฟ๐˜๐˜‚๐—ฎ๐—น ๐—œ๐—ป๐˜๐—ฒ๐—ฟ๐—ป๐˜€๐—ต๐—ถ๐—ฝ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐˜€ ๐—œ๐—ป ๐—ง๐—ผ๐—ฝ ๐—–๐—ผ๐—บ๐—ฝ๐—ฎ๐—ป๐—ถ๐—ฒ๐˜€๐Ÿ˜

1๏ธโƒฃ BCG Data Science & Analytics Virtual Experience
2๏ธโƒฃ TATA Data Visualization Internship
3๏ธโƒฃ Accenture Data Analytics Virtual Internship

๐‹๐ข๐ง๐ค๐Ÿ‘‡:-

https://pdlink.in/409RHXN

Enroll for FREE & Get Certified ๐ŸŽ“
Prompt Engineer vs Data Scientist ๐Ÿ˜…
๐Ÿ‘3๐Ÿ”ฅ2
๐— ๐—ถ๐—ฐ๐—ฟ๐—ผ๐˜€๐—ผ๐—ณ๐˜ ๐Ÿญ๐Ÿฌ๐Ÿฌ% ๐—™๐—ฟ๐—ฒ๐—ฒ ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ๐˜€ ๐—ณ๐—ผ๐—ฟ ๐—”๐˜‡๐˜‚๐—ฟ๐—ฒ, ๐—”๐—œ, ๐—–๐˜†๐—ฏ๐—ฒ๐—ฟ๐˜€๐—ฒ๐—ฐ๐˜‚๐—ฟ๐—ถ๐˜๐˜† & ๐— ๐—ผ๐—ฟ๐—ฒ๐Ÿ˜

Want to upskill in Azure, AI, Cybersecurity, or App Developmentโ€”without spending a single rupee?๐Ÿ‘จโ€๐Ÿ’ป๐ŸŽฏ

Enter Microsoft Learn โ€” a 100% free platform that offers expert-led learning paths to help you grow๐Ÿ“Š๐Ÿ“Œ

๐‹๐ข๐ง๐ค๐Ÿ‘‡:-

https://pdlink.in/4k6lA2b

Enjoy Learning โœ…๏ธ
โค1
Hyperparameter tuning is the process of selecting the optimal set of hyperparameters for a machine learning model to improve its performance. Hyperparameters are parameters that are set before the learning process begins and control the learning process itself, such as the learning rate, number of hidden layers in a neural network, or the depth of a decision tree.

Here is how hyperparameter tuning works:

1. Define Hyperparameters: The first step is to define the hyperparameters that need to be tuned. These are typically specified before training the model and can significantly impact the model's performance.

2. Choose a Search Space: Next, a search space is defined for each hyperparameter, which includes the range of values or options that will be explored during the tuning process. This can be done manually or using automated tools like grid search, random search, or Bayesian optimization.

3. Evaluation Metric: An evaluation metric is selected to measure the performance of the model with different hyperparameter configurations. Common metrics include accuracy, precision, recall, F1 score, or area under the curve (AUC).

4. Hyperparameter Optimization: The hyperparameter tuning process involves training multiple models with different hyperparameter configurations and evaluating their performance using the chosen evaluation metric. This process continues until the best set of hyperparameters that optimize the model's performance is found.

5. Cross-Validation: To ensure the robustness of the hyperparameter tuning process and avoid overfitting, cross-validation is often used. The dataset is split into multiple folds, and each fold is used for training and validation to assess the model's generalization performance.

6. Model Selection: Once the hyperparameter tuning process is complete, the model with the best hyperparameter configuration based on the evaluation metric is selected as the final model.

Hyperparameter tuning is a crucial step in machine learning model development as it can significantly impact the model's accuracy, generalization ability, and overall performance. By systematically exploring different hyperparameter configurations, data scientists can fine-tune their models to achieve optimal results for specific tasks and datasets.

Best Data Science & Machine Learning Resources: https://topmate.io/coding/914624

Credits: https://t.iss.one/datasciencefun

Like if you need similar content ๐Ÿ˜„๐Ÿ‘

Hope this helps you ๐Ÿ˜Š
๐Ÿ‘4