TGViewer
Channel Public Channel
Data Science & Machine Learning

Data Science & Machine Learning

@datasciencefun

Join this channel to learn data science, artificial intelligence and machine learning with funny quizzes, interesting projects and amazing resources for free

For collaborations: @love_data
Subscribers
77.8K
Photos
907
Videos
1
Links
827

Showing posts older than #4433 ยท Back to latest

Older Posts 20 shown
Post #4432 2.43K
๐Ÿš€ ๐—ง๐—ผ๐—ฝ ๐Ÿฑ ๐—ฆ๐—ธ๐—ถ๐—น๐—น๐˜€ ๐—ง๐—ผ ๐— ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ ๐—œ๐—ป ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ โ€“ ๐—˜๐—ป๐—ฟ๐—ผ๐—น๐—น ๐—™๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜! ๐ŸŽ“

Want to build a high-paying, future-ready career? ๐Ÿ”ฅ Start learning the most in-demand skills:

๐Ÿ’ซ AI & ML :- https://pdlink.in/4phANS2
โ€‹
๐Ÿ“Š Data Analytics :- https://pdlink.in/4wh2ugB
โ€‹
๐Ÿ” Cyber Security :- https://pdlink.in/4wCW7DJ
โ€‹
โ˜๏ธ Cloud Computing :- https://pdlink.in/4yhBuie
โ€‹
๐Ÿ’ป Other Tech Skills :- https://pdlink.in/4peUslB
โ€‹
๐Ÿ“ข Share with your friends & college groups! ๐Ÿš€๐Ÿ”ฅ
  • โค 3
Post #4431 3.17K
Hereโ€™s how luck finds you:

1. Work harder than expected 
2. Stay teachable
3. Give unselfishly
4. Read and write more
5. Show up on time
6. Quit complaining
7. Develop good manners
8. Be humble and show gratitude
9. Be kind and generous 
10. Surround yourself with smarter people
  • โค 26
Post #4430 3.46K
  • โค 4
Post #4429 3.29K
  • โค 7
Post #4428 3.37K
  • โค 4
Post #4427 3.25K
  • โค 3
Post #4426 2.69K
๐Ÿš€ ๐—ฃ๐—ฎ๐˜† ๐—”๐—ณ๐˜๐—ฒ๐—ฟ ๐—ฃ๐—น๐—ฎ๐—ฐ๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ - ๐—Ÿ๐—ฎ๐˜‚๐—ป๐—ฐ๐—ต ๐—ฌ๐—ผ๐˜‚๐—ฟ ๐—ง๐—ฒ๐—ฐ๐—ต ๐—–๐—ฎ๐—ฟ๐—ฒ๐—ฒ๐—ฟ

If youโ€™re serious about starting your career in tech, this is one opportunity you shouldnโ€™t miss ๐Ÿš€

โœ… 2000+ Students Already Placed
๐Ÿค 500+ Hiring Partners
๐Ÿ’ผ Salary: โ‚น7.4 LPA
๐Ÿš€ Highest Package: โ‚น41 LPA

๐Ÿ’ป Get trained in in-demand tech skills
๐Ÿ‘จโ€๐Ÿซ Learn from industry experts
๐Ÿ“ˆ Get dedicated placement support
๐Ÿ’ธ Pay only after you land a job

๐‘๐ž๐ ๐ข๐ฌ๐ญ๐ž๐ซ ๐๐จ๐ฐ ๐Ÿ‘‡:-

 https://pdlink.in/42WOE5H

Hurry! Limited seats are available.๐Ÿƒโ€โ™‚๏ธ
  • โค 1
Post #4425 2.36K
๐ŸŽ“ ๐—ง๐—ผ๐—ฝ ๐—–๐—ผ๐—บ๐—ฝ๐—ฎ๐—ป๐—ถ๐—ฒ๐˜€ ๐—ข๐—ณ๐—ณ๐—ฒ๐—ฟ๐—ถ๐—ป๐—ด ๐—™๐—ฅ๐—˜๐—˜ ๐—–๐—ฒ๐—ฟ๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ๐˜€ ๐—ถ๐—ป ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ

Boost your resume with Industry-recognized certifications without spending a single rupee ๐ŸŒŸ

๐Ÿ“š Available from:
โœ… Google
โœ… Microsoft
โœ… Cisco
โœ… IBM
โœ… HP
โœ… Qualcomm
โœ… TCS
โœ… Infosys

๐Ÿ”— ๐—˜๐—ป๐—ฟ๐—ผ๐—น๐—น ๐—™๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜๐Ÿ‘‡:

https://pdlink.in/3SNiXKz

๐Ÿš€ Don't miss these FREE certification opportunities in 2026!
  • โค 1
Post #4424 3.09K
num1 = int(input("Enter first number: "))
num2 = int(input("Enter second number: "))
print(num1 + num2)


Output:

30


๐Ÿ”น 12. Real-World Example

salary = float(input("Enter your monthly salary: "))
annual_salary = salary * 12
print(f"Your annual salary is {annual_salary}")


๐ŸŽฏ Practice Questions 

1. Take your name as input and print a welcome message. 

2. Take two integers as input and print their sum. 

3. Take a student's marks as input and print them using an f-string. 

4. Take the radius of a circle as input and calculate the area. 

5. Take your birth year as input and calculate your approximate age. 

๐ŸŽฏ Key Takeaways

โœ… Use print() to display output

โœ… Use input() to accept user input

โœ… input() always returns a string

โœ… Convert input using int() or float() when needed

โœ… Use f-strings for clean and readable output formatting 

Double Tap โค๏ธ For More
  • โค 11
  • ๐Ÿ”ฅ 1
Post #4423 2.87K
๐Ÿš€ Data Science Roadmap 2026

๐Ÿ“˜ Phase 1: Programming Fundamentals

๐Ÿ Topic 3: Python Input & Output

In the previous lesson, you learned about Python Operators. Now it's time to learn how Python interacts with users by taking input and displaying output.

Input and Output (I/O) are fundamental concepts because almost every real-world program accepts input, processes it, and produces meaningful output.

๐Ÿ”น 1. What is Input & Output?

A Python program generally follows three steps:

Input โ†’ Process โ†’ Output

Example:

โ€ข User enters two numbers Input

โ€ข Python adds them Process

โ€ข Sum is displayed Output

๐Ÿ”น 2. Displaying Output

Python uses the print() function to display information on the screen.

Example

print("Hello, Data Science!")


Output

Hello, Data Science!


๐Ÿ”น 3. Printing Variables

You can print variables along with text.

name = "Deepak"
print(name)


Output:

Deepak


Or:

name = "Deepak"
print("Welcome", name)


Output:

Welcome Deepak


๐Ÿ”น 4. Taking User Input

Python uses the input() function to receive input from users.

name = input("Enter your name: ")
print("Hello", name)


Example Output:

Enter your name: Deepak
Hello Deepak


๐Ÿ”น 5. Important Note โญ

The input() function always returns a string, even if the user enters a number.

age = input("Enter age: ")
print(type(age))


Output:

<class 'str'>


๐Ÿ”น 6. Converting Input to Integer

To perform mathematical operations, convert the input using int().

age = int(input("Enter your age: "))
print(age + 5)


Example:

Enter your age: 25
30


๐Ÿ”น 7. Taking Decimal Input

Use float() for decimal numbers.

price = float(input("Enter price: "))
print(price)


๐Ÿ”น 8. Taking Multiple Inputs

You can take multiple inputs in a single line.

name, city = input("Enter your name and city: ").split()
print(name)
print(city)


Example Input:

Deepak Mumbai


Output:

Deepak
Mumbai


๐Ÿ”น 9. Formatting Output

Using f-Strings โญ Recommended

name = "Deepak"
age = 25
print(f"My name is {name} and I am {age} years old.")


Output:

My name is Deepak and I am 25 years old.


Using .format()

name = "Deepak"
print("Welcome {}".format(name))


๐Ÿ”น 10. Example Program

name = input("Enter your name: ")
age = int(input("Enter your age: "))

print(f"Hello {name}")
print(f"Next year you will be {age + 1} years old.")


Example Output:

Enter your name: Deepak
Enter your age: 25
Hello Deepak
Next year you will be 26 years old.


๐Ÿ”น 11. Common Mistake

num1 = input("Enter first number: ")
num2 = input("Enter second number: ")
print(num1 + num2)


Input:

10
20


Output:

1020


Why?

Because both values are strings.

Correct way:
  • โค 6
Post #4422 2.32K
๐— ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ ๐—ง๐—ต๐—ฒ๐˜€๐—ฒ ๐—›๐—ถ๐—ด๐—ต-๐——๐—ฒ๐—บ๐—ฎ๐—ป๐—ฑ ๐—ฆ๐—ธ๐—ถ๐—น๐—น๐˜€ ๐˜๐—ผ ๐—Ÿ๐—ฎ๐—ป๐—ฑ ๐—›๐—ถ๐—ด๐—ต-๐—ฃ๐—ฎ๐˜†๐—ถ๐—ป๐—ด ๐—๐—ผ๐—ฏ๐˜€ ๐Ÿ”ฅ

This guide highlights 3 powerful skills that are opening doors to high-paying roles across tech and business .๐ŸŽ“

Perfect For
๐Ÿ‘จโ€๐ŸŽ“ Students
๐Ÿ’ผ Freshers
๐Ÿ“ˆ Job seekers trying to improve employability
๐Ÿš€ Anyone who wants to build a future-proof career with better salary potential

๐Ÿ”— ๐—˜๐—ป๐—ฟ๐—ผ๐—น๐—น ๐—™๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜๐Ÿ‘‡:

https://pdlink.in/4vXeGmm

๐Ÿš€ Start learning today. Build in-demand skills. Position yourself for better opportunities and bigger career growth.
  • โค 4
Post #4421 2.95K
  • ๐Ÿ‘ 2
  • โค 1
Post #4420 2.97K
  • โค 6
Post #4419 2.62K
๐— ๐—ถ๐—ฐ๐—ฟ๐—ผ๐˜€๐—ผ๐—ณ๐˜ ๐—™๐—ฅ๐—˜๐—˜ ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป๐—ถ๐—ป๐—ด ๐—ฅ๐—ฒ๐˜€๐—ผ๐˜‚๐—ฟ๐—ฐ๐—ฒ๐˜€๐ŸŽ“

Offers a wide range of free learning resources through Microsoft Learn, helping students, freshers, and professionals build job-ready skills at their own pace.

โœ… 100% FREE self-paced learning modules
โœ… Official learning platform from Microsoft

๐Ÿ”— ๐—˜๐—ป๐—ฟ๐—ผ๐—น๐—น ๐—™๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜๐Ÿ‘‡:

https://pdlink.in/4paqRJS

Explore Microsoftโ€™s free resources. Build in-demand skills and make your profile stronger.
  • โค 4
Post #4418 2.68K
result = 10 + 5 * 2
print(result)


Output:

20  


Multiplication is performed before addition.

Use parentheses to change the order.

result = (10 + 5) * 2
print(result)


Output:

30


๐Ÿ”น 10. Real-World Example

salary = 60000
bonus = 5000
total_salary = salary + bonus
is_high_salary = total_salary > 50000
print(total_salary)
print(is_high_salary)


Output:

65000  
True


๐ŸŽฏ Key Takeaways

โœ… Operators perform calculations and comparisons.

โœ… Arithmetic operators are used for mathematical operations.

โœ… Comparison operators return True or False.

โœ… Logical operators help combine multiple conditions.

โœ… Membership operators check if a value exists in a sequence.

โœ… Identity operators check whether two variables refer to the same object. 

Double Tap โค๏ธ For More
  • โค 10
Post #4417 2.39K
๐Ÿš€ Data Science Roadmap 2026

๐Ÿ“˜ Phase 1: Programming Fundamentals

๐Ÿ Topic 2: Python Operators

In the previous lesson, you learned about Variables & Data Types. Now it's time to learn how Python performs calculations, comparisons, and logical operations using operators.

Operators are one of the most fundamental concepts in Python. You'll use them in almost every program, from simple calculations to complex Machine Learning algorithms.

๐Ÿ”น 1. What are Operators?

Operators are special symbols used to perform operations on variables and values.

Example:

a = 10
b = 5
print(a + b)


Output:

15  


Here, "+" is an operator that adds two numbers.

๐Ÿ”น 2. Types of Operators in Python

Python has several types of operators:

โœ… Arithmetic Operators

โœ… Comparison Operators

โœ… Assignment Operators

โœ… Logical Operators

โœ… Membership Operators

โœ… Identity Operators

๐Ÿ”น 3. Arithmetic Operators โญ

Used for mathematical calculations.

Operators:

โ€ข ** + Addition**: 10 + 5 = 15

โ€ข - Subtraction: 10 - 5 = 5

โ€ข ** Multiplication*: 10 * 5 = 50

โ€ข / Division: 10 / 5 = 2.0

โ€ข // Floor Division: 10 // 3 = 3

โ€ข % Modulus (Remainder): 10 % 3 = 1

โ€ข ** Exponent: 2 ** 3 = 8

Example:

a = 10
b = 3
print(a + b)
print(a - b)
print(a * b)
print(a / b)
print(a // b)
print(a % b)
print(a ** b)


๐Ÿ”น 4. Comparison Operators โญ

Used to compare two values. The result is always True or False.

Operators:

โ€ข == Equal to

โ€ข != Not Equal to

โ€ข > Greater than

โ€ข < Less than

โ€ข >= Greater than or Equal to

โ€ข <= Less than or Equal to

Example:

x = 20
y = 10
print(x > y)
print(x == y)
print(x != y)


Output:

True  
False
True


๐Ÿ”น 5. Assignment Operators

Used to assign values to variables.

x = 10
x += 5
print(x)


Output:

15


Other assignment operators:

x -= 2  
x *= 3
x /= 2


๐Ÿ”น 6. Logical Operators โญ

Used to combine multiple conditions.

and

Returns True only if both conditions are True.

age = 25
print(age > 18 and age < 30)


Output:

True


or

Returns True if at least one condition is True.

print(age < 18 or age < 30)


Output:

True


not

Reverses the result.

print(not(age > 18))


Output:

False


๐Ÿ”น 7. Membership Operators

Used to check whether a value exists in a sequence.

in

fruits = ["Apple", "Banana", "Mango"]
print("Apple" in fruits)


Output:

True


not in

print("Orange" not in fruits)


Output:

True


๐Ÿ”น 8. Identity Operators

Used to check whether two variables refer to the same object.

is

a = [1, 2]
b = a
print(a is b)


Output:

True


is not

x = [1, 2]
y = [1, 2]
print(x is not y)


Output:

True


๐Ÿ”น 9. Operator Precedence

Python follows the PEMDAS/BODMAS rule while evaluating expressions.

Example:
  • โค 5
  • ๐Ÿ‘ 1
Post #4416 2.04K
๐—”๐—œ ๐—ถ๐—ป ๐—ฃ๐—ฟ๐—ผ๐—ฑ๐˜‚๐—ฐ๐˜ ๐— ๐—ฎ๐—ป๐—ฎ๐—ด๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—™๐—ฅ๐—˜๐—˜ ๐—ข๐—ป๐—น๐—ถ๐—ป๐—ฒ ๐— ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ๐—ฐ๐—น๐—ฎ๐˜€๐˜€ ๐Ÿ˜

๐Ÿ’ซ Join this live masterclass and gain practical insights into AI-powered Product Management, in-demand skills

๐Ÿ’ซRoadmap to building a successful Product Management career

Eligibility :- Recent Graduates & Working Professionals

๐—ฅ๐—ฒ๐—ด๐—ถ๐˜€๐˜๐—ฒ๐—ฟ ๐—™๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜๐Ÿ‘‡ :-

https://pdlink.in/44VeqIA

( Limited Slots ..Hurry Upโ€ )

Date & Time :- 11th July 2026 , 8:00 PM (IST)
  • โค 4
Post #4415 2.54K
GigaChat 3.5 Ultra Publicly Released โ€” The New Generation of the Flagship Model

The GigaChat team has released GigaChat 3.5 Ultra as open sourceโ€”a new 432B model under the MIT license. This is the first open-source hybrid of GatedDeltaNet and MLA scaled to hundreds of billions of parameters, featuring a proprietary training recipe we refined through more than 1,500 experiments. The model has grown in terms of code, mathematics, agent scenarios, and application domainsโ€”yet itโ€™s 40% smaller than GigaChat 3.1 Ultra.


Whatโ€™s inside:

๐Ÿ”˜A proprietary hybrid MLA + Gated DeltaNet architecture with a dedicated stabilization framework, without which this hybrid setup would not train reliably at this scale;
๐Ÿ”˜ Gated Attention: the model can locally down-weight overly strong signals from the attention layer;
๐Ÿ”˜GatedNorm: normalization with an explicit gate that controls signal magnitude across features;
๐Ÿ”˜Approximately 4x lower KV cache per token: with the same memory budget, the model can support 2.14x longer context and deliver a 20% throughput increase under load;
๐Ÿ”˜Two MTP heads, enabling up to 2.2x faster generation;
๐Ÿ”˜FP8 across all training stages with no quality degradation compared with bf16, enabled by custom Triton and CUDA kernels;
๐Ÿ”˜A new online RL stage after SFT and DPO.

Results:

๐Ÿ”˜ GigaChat-3.5-Ultra-Base outperforms DeepSeek V3.2 Exp Base and DeepSeek V4 Flash Base on average across a set of general, math, and code benchmarks:
๐Ÿ”˜ GigaChat-3.5-Ultra-Instruct is comparable to DeepSeek V3.2 in terms of average score, despite having half the size;
๐Ÿ”˜ According to the MiniMax-M2.7 LLM judge, the average win rate against GigaChat 3.1 Ultra is 75.9%, and against GPT-5 is 68.7%.

The entire stack โ€” data (our own LLM-filtered Common Crawl, 600+ programming languages in the code), architecture, training methodology, and infrastructure โ€” was built end-to-end by GigaChat team.

โžก๏ธ HuggingFace
  • โค 8
  • ๐Ÿ‘ 1
Post #4414 2.76K
<class 'int'>


๐Ÿ”น 11. Type Conversion (Casting)

Sometimes you need to convert one data type into another.

String โ†’ Integer

age = "25"
print(int(age))


Integer โ†’ Float

marks = 95
print(float(marks))


Float โ†’ Integer

price = 199.99
print(int(price)) # Output: 199


Integer โ†’ String

number = 100
print(str(number))


๐Ÿ”น 12. Multiple Variable Assignment

Assign multiple variables in one line.

x, y, z = 10, 20, 30


Assign the same value to multiple variables.

a = b = c = 100


๐Ÿ”น 13. Dynamic Typing

Python is dynamically typed.

This means a variable can store different data types at different times.

x = 10
x = "Data Science"
print(x)
# Output: Data Science


๐Ÿ”น 14. Best Practices

โœ… Use meaningful variable names.

student_name = "Rahul"
monthly_salary = 50000


Instead of:

a = "Rahul"
b = 50000


Follow the snake_case naming convention.

Examples: customer_name, total_sales, average_salary

๐Ÿ”น 15. Real-World Example

name = "Rohit"
age = 25
salary = 65000.50
is_employee = True

print(name)
print(age)
print(salary)
print(is_employee)


Output:

Rohit
25
65000.5
True


๐ŸŽฏ Key Takeaways

โœ… Variables are used to store data.

โœ… Python automatically detects data types.

โœ… The most common data types are: int, float, str, bool, complex

โœ… Use type() to check a variable's data type.

โœ… Use meaningful variable names and follow the snake_case naming convention.

Mastering variables and data types is the first step toward becoming a successful Data Scientist. Every machine learning model, data analysis project, and AI application starts with understanding how data is stored and managed in Python.

Double Tap โค๏ธ For More
  • โค 17
  • ๐Ÿ‘ 1
Post #4413 2.33K
๐Ÿš€ Data Science Roadmap 2026

๐Ÿ“˜ Phase 1: Programming Fundamentals

๐Ÿ Topic 1: Python Basics โ€“ Variables & Data Types

Welcome to the Complete Data Science Roadmap! ๐ŸŽ‰

Over the coming lessons, we'll learn everything you need to become a job-ready Data Scientistโ€”from Python and SQL to Machine Learning, Deep Learning, Generative AI, and MLOps.

Today, we're starting with the first and most important topic of the roadmap: Python Basics โ€“ Variables & Data Types.

Python is the most widely used programming language in Data Science because it is easy to learn, highly readable, and supported by powerful libraries such as NumPy, Pandas, Matplotlib, Scikit-learn, TensorFlow, and PyTorch.

Before building machine learning models or analyzing data, you must understand how Python stores and manages data. Every Python program begins with variables and data types, making them the foundation of your Data Science journey.

๐Ÿ”น 1. What is Python?

Python is a high-level, interpreted programming language used for:

โœ… Data Science

โœ… Machine Learning

โœ… Artificial Intelligence

โœ… Data Analysis

โœ… Automation

โœ… Web Development

๐Ÿ”น 2. What is a Variable?

A variable is a named container used to store data in memory.

Think of a variable like a labeled box. You store information inside the box, and whenever you need that information later, you simply use the label (variable name).

For example:

name = "Aman"
age = 25
salary = 175000


Here:

โ€ข "name" stores a string.

โ€ข "age" stores an integer.

โ€ข "salary" stores a numeric value.

๐Ÿ”น 3. Rules for Naming Variables

โœ… Valid Rules

โ€ข Must begin with a letter or underscore ("_")

โ€ข Can contain letters, numbers, and underscores

โ€ข Variable names are case-sensitive

Examples:

student_name = "Rahul"
marks = 90
age2 = 24


โŒ Invalid Examples

2name = "Rahul"
student name = "Rahul"
class = 10


Why?

โ€ข Cannot start with a number

โ€ข Spaces are not allowed

โ€ข "class" is a reserved Python keyword

๐Ÿ”น 4. What are Data Types?

A data type tells Python what kind of value a variable stores.

Python automatically detects the data type when you assign a value.

Data Types in Python:

int: Whole numbers Example: 25

float : Decimal numbers Example: 99.99

str: Text

Example: "Python"

bool: True or False

complex: Complex numbers

Example: 3+4j

๐Ÿ”น 5. Integer (int)

Stores whole numbers.

age = 25
print(age)
print(type(age))


Output:

25
<class 'int'>


๐Ÿ”น 6. Float (float)

Stores decimal numbers.

price = 199.99
print(price)
print(type(price))


Output:

199.99
<class 'float'>


๐Ÿ”น 7. String (str)

Stores text.

name = "Suresh"
print(name)
print(type(name))


Output:

Deepak
<class 'str'>


Strings can be written using either single (' ') or double (" ") quotes.

๐Ÿ”น 8. Boolean (bool)

Boolean values are used for decision-making.

They can store only two values: True or False

is_student = True
print(type(is_student))


Output:

<class 'bool'>


๐Ÿ”น 9. Complex Numbers

Python also supports complex numbers.

number = 3 + 4j
print(type(number))


Output:

<class 'complex'>


Although rarely used in Data Science, they are useful in scientific and mathematical computations.

๐Ÿ”น 10. Checking the Data Type

Use the type() function.

salary = 50000
print(type(salary))


Output:
  • โค 10
  • ๐Ÿ‘ 2
  • ๐Ÿ‘ 2
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 โ†’