Spaces:
Sleeping
Sleeping
Rename pages/page1.py to pages/Introduction.py
Browse files- pages/Introduction.py +81 -0
- pages/page1.py +0 -0
pages/Introduction.py
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
|
| 3 |
+
# Function to add page content for introduction
|
| 4 |
+
def introduction_page():
|
| 5 |
+
st.title("Introduction to Data Science and AI")
|
| 6 |
+
|
| 7 |
+
st.header("📊 What is Data?")
|
| 8 |
+
st.write("""
|
| 9 |
+
Data refers to raw facts, figures, or information that can be analyzed or processed to derive insights.
|
| 10 |
+
It comes in various forms such as numbers, text, images, or even sounds. Data is everywhere around us -
|
| 11 |
+
from the text messages we send to the clicks on websites. Data can be structured (like tables and spreadsheets)
|
| 12 |
+
or unstructured (like social media posts, emails, etc.). At its core, data represents the "raw material"
|
| 13 |
+
that helps us understand the world and make informed decisions.
|
| 14 |
+
""")
|
| 15 |
+
|
| 16 |
+
# What is Science?
|
| 17 |
+
st.header("🔬 What is Science?")
|
| 18 |
+
st.write("""
|
| 19 |
+
Science is the systematic study of the structure and behavior of the physical and natural world
|
| 20 |
+
through observation, experimentation, and analysis. Scientists use the scientific method to hypothesize,
|
| 21 |
+
test, and analyze data to understand how the world works. The goal of science is to uncover patterns and
|
| 22 |
+
relationships that can explain phenomena and predict future outcomes.
|
| 23 |
+
""")
|
| 24 |
+
|
| 25 |
+
# Combining Data and Science: Data Science
|
| 26 |
+
st.header("🔍 How Data and Science Come Together: Data Science")
|
| 27 |
+
st.write("""
|
| 28 |
+
When we combine data and science, we get **Data Science**. Data Science is the field that uses scientific
|
| 29 |
+
methods, algorithms, and systems to extract knowledge and insights from data. It applies techniques from
|
| 30 |
+
statistics, computer science, and domain expertise to interpret large datasets and uncover valuable insights.
|
| 31 |
+
The process typically involves collecting and cleaning data, performing exploratory data analysis, building
|
| 32 |
+
models, and communicating results to make decisions or predictions.
|
| 33 |
+
|
| 34 |
+
In simple terms:
|
| 35 |
+
- **Data** is the raw input.
|
| 36 |
+
- **Science** provides the methods and tools for analyzing this data.
|
| 37 |
+
- **Data Science** is the application of science to data, turning it into actionable insights.
|
| 38 |
+
|
| 39 |
+
The beauty of Data Science is that it allows businesses, organizations, and individuals to make smarter decisions based on data.
|
| 40 |
+
Whether it’s understanding customer behavior, predicting future trends, or solving complex problems, data science empowers us
|
| 41 |
+
to uncover hidden patterns in the data that would be difficult to see otherwise.
|
| 42 |
+
""")
|
| 43 |
+
# Understanding Artificial Intelligence (AI)
|
| 44 |
+
st.header("🤖 What is Artificial Intelligence (AI)?")
|
| 45 |
+
st.write("""
|
| 46 |
+
Artificial Intelligence, or AI, refers to the simulation of natural intelligence in machines. AI allows machines to
|
| 47 |
+
think, learn, and perform tasks that would typically require natural intelligence.
|
| 48 |
+
\n These tasks include decision-making, speech recognition, visual perception, and language translation.
|
| 49 |
+
AI is the broader concept, and it includes several subfields, like machine learning and deep learning.
|
| 50 |
+
""")
|
| 51 |
+
|
| 52 |
+
# Explaining Machine Learning
|
| 53 |
+
st.header("💻 What is Machine Learning?")
|
| 54 |
+
st.write("""
|
| 55 |
+
Machine Learning (ML) is a subset of AI. Machine Learning is a tool which has ability to mimic the Natural Intelligence.
|
| 56 |
+
\n ML requires the data and algorithm in which it uses relationship function between data and algorithm.
|
| 57 |
+
\nFor example, email services use ML to filter spam emails based on patterns learned from previous emails.
|
| 58 |
+
""")
|
| 59 |
+
|
| 60 |
+
# Deep Learning Explained
|
| 61 |
+
st.header("🧠 What is Deep Learning?")
|
| 62 |
+
st.write("""
|
| 63 |
+
Deep Learning is a specialized branch of machine learning that focuses on using neural networks with many layers
|
| 64 |
+
(hence the term "deep") to analyze complex patterns in large datasets. These neural networks are inspired by the structure
|
| 65 |
+
and function of the human brain.
|
| 66 |
+
\nDeep learning has led to breakthroughs in areas like image recognition, natural language processing,
|
| 67 |
+
and speech recognition.
|
| 68 |
+
\nFor example, deep learning is the reason we have virtual assistants like Siri or Alexa.
|
| 69 |
+
""")
|
| 70 |
+
|
| 71 |
+
# Introduction to Generative AI
|
| 72 |
+
st.header("🎨 What is Generative AI?")
|
| 73 |
+
st.write("""
|
| 74 |
+
Generative AI refers to algorithms that can generate new content such as text, images, and videos.
|
| 75 |
+
Unlike traditional AI systems that focus on analyzing data and making decisions, generative AI focuses on creating new, original data.
|
| 76 |
+
\nThis can include generating realistic images from text descriptions or writing new music based on patterns learned from existing songs.
|
| 77 |
+
\nExamples of generative AI are models like GPT-3, which generates human-like text, and DALL-E, which generates images from textual descriptions.
|
| 78 |
+
""")
|
| 79 |
+
|
| 80 |
+
# Display the introduction page content
|
| 81 |
+
introduction_page()
|
pages/page1.py
DELETED
|
File without changes
|