Data Science & Machine Learning
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
Ko'proq ko'rsatish๐ Telegram kanali Data Science & Machine Learning analitikasi
Data Science & Machine Learning (@datasciencefun) Ingliz til segmentidagi kanali faol ishtirokchi. Hozirda hamjamiyat 75 660 obunachidan iborat bo'lib, Taสผlim toifasida 2 114-o'rinni va Hindiston mintaqasida 4 359-o'rinni egallagan.
๐ Auditoriya koโrsatkichlari va dinamika
ะฝะตะฒัะดะพะผะพ sanasidan buyon loyiha tez oโsib, 75 660 obunachiga ega boโldi.
11 Iyun, 2026 dagi oxirgi maโlumotlarga koโra kanal barqaror faollikka ega. Oxirgi 30 kunda obunachilar soni 911 ga, soโnggi 24 soatda esa 29 ga oโzgardi va umumiy qamrov yuqori darajada qolmoqda.
- Tasdiqlash holati: Tasdiqlanmagan
- Jalb etish (ER): Auditoriya oโrtacha 3.63% darajada jalb etiladi. Nashrdan keyingi dastlabki 24 soatda kontent odatda umumiy obunachilar sonining 1.36% ini tashkil etuvchi reaksiyalarni toโplaydi.
- Post qamrovi: Har bir post oโrtacha 2 747 marta koโriladi; birinchi sutkada odatda 1 032 ta koโrish yigโiladi.
- Reaksiyalar va oโzaro taโsir: Auditoriya faol: har bir postga oโrtacha 5 ta reaksiya keladi.
- Tematik yoโnalishlar: Kontent learning, accuracy, distribution, panda, dataset kabi asosiy mavzularga jamlangan.
๐ Tavsif va kontent siyosati
Muallif resursni shaxsiy fikrni ifoda etish maydoni sifatida taโriflaydi:
โ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โ
Yuqori yangilanish chastotasi (oxirgi maโlumot 12 Iyun, 2026 da olingan) sababli kanal doimo dolzarb va katta qamrovli boโlib qoladi. Analitika auditoriya kontent bilan faol hamkorlik qilishini, uni Taสผlim toifasidagi muhim taโsir nuqtasiga aylantirishini koโrsatadi.
import pandas as pd
data = {"Marks": [85, 92, 78, 88, 90]}
df = pd.DataFrame(data)
print(df.describe()) # count, mean, std, min, max, etc.
print(df["Marks"].mean()) # Average
print(df["Marks"].median()) # Middle value
print(df["Marks"].mode()) # Most frequent value
2๏ธโฃ Probability Basics
Chances of an event occurring (0 to 1)
Tossing a coin
prob_heads = 1 / 2
print(prob_heads) # 0.5
Multiple outcomes example:
from itertools import product
outcomes = list(product(["H", "T"], repeat=2))
print(outcomes) # [('H', 'H'), ('H', 'T'), ('T', 'H'), ('T', 'T')]
3๏ธโฃ Normal Distribution using NumPy Seaborn
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
data = np.random.normal(loc=0, scale=1, size=1000)
sns.histplot(data, kde=True)
plt.title("Normal Distribution")
plt.show()
4๏ธโฃ Other Distributions
โข Binomial โ pass/fail outcomes
โข Poisson โ rare event frequency
โข Uniform โ all outcomes equally likely
Binomial Example:
from scipy.stats import binom
# 10 trials, p = 0.5
print(binom.pmf(k=5, n=10, p=0.5)) # Probability of 5 successes
๐ฏ Why This Matters
โข Descriptive stats help understand data quickly
โข Distributions help model real-world situations
โข Probability supports prediction and risk analysis
Practice Task:
โข Generate a normal distribution
โข Calculate mean, median, std
โข Plot binomial probability of success
๐ฌ Tap โค๏ธ for moreimport matplotlib.pyplot as plt
x = [1, 2, 3, 4]
y = [10, 20, 25, 30]
plt.plot(x, y)
plt.title("Line Plot")
plt.xlabel("X-axis")
plt.ylabel("Y-axis")
plt.show()
Bar Plot
names = ["A", "B", "C"]
scores = [80, 90, 70]
plt.bar(names, scores)
plt.title("Scores by Name")
plt.show()
2๏ธโฃ Seaborn โ Statistical Visualization
Built on Matplotlib with better styling.
Import and Plot
import seaborn as sns
import pandas as pd
df = pd.DataFrame({
"Name": ["Riya", "Aman", "John", "Sara"],
"Score": [85, 92, 78, 88]
})
sns.barplot(x="Name", y="Score", data=df)
Other Seaborn Plots
sns.histplot(df["Score"]) # Histogram
sns.boxplot(x=df["Score"]) # Box plot
3๏ธโฃ Plotly โ Interactive Graphs
Great for dashboards and interactivity.
Basic Line Plot
import plotly.express as px
df = pd.DataFrame({
"x": [1, 2, 3],
"y": [10, 20, 15]
})
fig = px.line(df, x="x", y="y", title="Interactive Line Plot")
fig.show()
๐ฏ Why Visualization Matters
โข Helps spot patterns in data
โข Makes insights clear and shareable
โข Supports better decision-making
Practice Task:
โข Create a line plot using matplotlib
โข Use seaborn to plot a boxplot for scores
โข Try any interactive chart using plotly
๐ฌ Tap โค๏ธ for moreimport numpy as np
Create Arrays
arr = np.array([1, 2, 3])
print(arr)
Array Operations
a = np.array([1, 2, 3])
b = np.array([4, 5, 6])
print(a + b) # [5 7 9]
print(a * 2) # [2 4 6]
Useful NumPy Functions
np.mean(a) # Average
np.max(b) # Max value
np.arange(0, 10, 2) # [0 2 4 6 8]
2๏ธโฃ Pandas โ Data Analysis Library
Pandas is used to work with data in table format (DataFrames).
Importing Pandas
import pandas as pd
Create a DataFrame
data = {
"Name": ["Riya", "Aman"],
"Age": [24, 30]
}
df = pd.DataFrame(data)
print(df)
Read CSV File
df = pd.read_csv("data.csv")
Basic DataFrame Operations
df.head() # First 5 rows
df.info() # Column types
df.describe() # Stats summary
df["Age"].mean() # Average age
Filter Rows
df[df["Age"] > 25]
๐ฏ Why This Matters
โข NumPy makes math faster and easier
โข Pandas helps clean, explore, and transform data
โข Essential for real-world data analysis
Practice Task:
โข Create a NumPy array of 10 numbers
โข Make a Pandas DataFrame with 2 columns (Name, Score)
โข Filter all scores above 80
๐ฌ Tap โค๏ธ for morefruits = ["apple", "banana", "mango"]
for fruit in fruits:
print(fruit)
While Loop
count = 1
while count <= 3:
print("Loading...", count)
count += 1
Loop with Condition
numbers = [10, 5, 20, 3]
for num in numbers:
if num > 10:
print(num, "is greater than 10")
2๏ธโฃ Functions in Python
Functions let you group code into blocks you can reuse.
Basic Function
def greet(name):
return f"Hello, {name}!"
print(greet("Riya"))
Function with Logic
def is_even(num):
if num % 2 == 0:
return True
return False
print(is_even(4)) # Output: True
Function for Calculation
def square(x):
return x * x
print(square(6)) # Output: 36
โ
Why This Matters in Data Science
โข Loops help in iterating over datasets
โข Functions make your data cleaning reusable
โข Helps organize long analysis code into simple blocks
๐ฏ Practice Task for You:
โข Write a for loop to print numbers from 1 to 10
โข Create a function that takes two numbers and returns their average
โข Make a function that returns "Even" or "Odd" based on input
๐ฌ Tap โค๏ธ for more!x = 10
name = "Riya"
is_active = True
2๏ธโฃ Common Data Types in Python
โข int โ Integers (whole numbers)
age = 25
โข float โ Decimal numbers
height = 5.8
โข str โ Text/String
city = "Mumbai"
โข bool โ Boolean (True or False)
is_student = False
โข list โ A collection of items
fruits = ["apple", "banana", "mango"]
โข tuple โ Ordered, immutable collection
coordinates = (10.5, 20.3)
โข dict โ Key-value pairs
student = {"name": "Riya", "score": 90}
3๏ธโฃ Type Checking
You can check the type of any variable using type()
print(type(age)) # <class 'int'>
print(type(city)) # <class 'str'>
4๏ธโฃ Type Conversion
Change data from one type to another:
num = "100"
converted = int(num)
print(type(converted)) # <class 'int'>
5๏ธโฃ Why This Matters in Data Science
Data comes in various types. Understanding and managing types is critical for:
โข Cleaning data
โข Performing calculations
โข Avoiding errors in analysis
โ
Practice Task for You:
โข Create 5 variables with different data types
โข Use type() to print each one
โข Convert a string to an integer and do basic math
๐ฌ Tap โค๏ธ for more!
Endi mavjud! Telegram Tadqiqoti 2025 โ yilning asosiy insaytlari 
