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
显示更多📈 Telegram 频道 Data Science & Machine Learning 的分析概览
频道 Data Science & Machine Learning (@datasciencefun) 英语 语言赛道中的 是活跃参与者。目前社区聚集了 75 660 名订阅者,在 教育 类别中位列第 2 114,并在 印度 地区排名第 4 359 位。
📊 受众指标与增长动态
自 невідомо 创建以来,项目保持高速增长,吸引了 75 660 名订阅者。
根据 11 六月, 2026 的最新数据,频道保持稳定运转。过去 30 天订阅人数变化为 911,过去 24 小时变化为 29,整体触达仍然可观。
- 认证状态: 未认证
- 互动率 (ER): 平均受众互动率为 3.63%。内容发布后 24 小时内通常能获得 1.36% 的反应,占订阅者总量。
- 帖子覆盖: 每篇帖子平均可获得 2 747 次浏览,首日通常累积 1 032 次浏览。
- 互动与反馈: 受众积极参与,单帖平均反应数为 5。
- 主题关注点: 内容集中在 learning, accuracy, distribution, panda, dataset 等核心主题上。
📝 描述与内容策略
作者将该频道定位为表达主观观点的平台:
“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”
凭借高频更新(最新数据采集于 12 六月, 2026),频道始终保持新鲜度与高覆盖。分析显示受众积极互动,使其成为 教育 类别中的关键影响点。
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!
现已上线!2025 年 Telegram 研究 — 年度关键洞察 
