File size: 7,605 Bytes
5ff897e
be23750
 
ab0ffaf
d6eb7a3
ab0ffaf
 
 
642c7e9
 
 
 
afc1b12
642c7e9
 
afc1b12
642c7e9
 
 
 
ab0ffaf
 
 
 
 
 
 
 
 
 
 
 
 
afc1b12
a9c113e
 
4cd10c1
a9c113e
afc1b12
4cd10c1
 
 
a9c113e
afc1b12
a9c113e
4cd10c1
a9c113e
 
 
 
e922121
 
 
4cd10c1
a9c113e
4cd10c1
a9c113e
 
 
 
4cd10c1
afc2a67
1f04d45
afc2a67
afc1b12
1ddd013
 
 
afc1b12
1ddd013
 
 
 
 
 
afc1b12
1ddd013
 
 
 
afc2a67
642c7e9
 
 
 
 
afc1b12
642c7e9
 
 
 
 
 
 
1ddd013
1f04d45
afc2a67
afc1b12
1ddd013
 
 
c82bead
 
0174244
642c7e9
 
 
afc1b12
642c7e9
 
 
 
 
c82bead
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
642c7e9
c82bead
afc1b12
c82bead
 
 
 
 
 
 
 
642c7e9
 
c82bead
afc1b12
c82bead
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
import streamlit as st
st.markdown("<h1> ✍What is Data Science?</h1>",unsafe_allow_html=True)

st.markdown("""
<p style='text-align: justify; color: #FFFFFF; font-size: 18px;'>Data science is a field that extracts insights and knowledge from data. It’s like being a detective who uses clues (data) to solve mysteries (business problems or questions).
</p>
""", unsafe_allow_html=True)

st.markdown("<h3 style='text-align:; color: #4CAF50;'>📊Example📈🔍 </h3>", unsafe_allow_html=True)


st.markdown("""
<p style="font-size:16px; color: #FFFFFF;">
A farmer wanted to grow the best crops but didn’t know which seeds to plant. A scientist helped by collecting data on soil, temperature, and rainfall, and used that data to give the farmer advice on when to plant and water the crops.
</p>
<p style="font-size:16px; color: #FFFFFF;">
Just like the scientist analyzed data to guide the farmer, data science uses data to find patterns and make decisions, helping solve problems and predict outcomes.
</p>
""", unsafe_allow_html=True)

st.markdown("<h1>What is Artificial Intelligence? 🤖</h1>", unsafe_allow_html=True)

st.markdown("""
<ul style="font-family: Arial; line-height: 1.6;">
    <li><b>Artificial Intelligence (AI)</b> enables machines to mimic human intelligence.</li>
    <li>It allows machines to learn from data and generate meaningful outputs.</li>
    <li>AI replicates tasks like recognizing patterns, making decisions, and creating content.</li>
    <li>Machines are trained using data and algorithms to improve over time.</li>
    <li>AI bridges the gap between natural intelligence and machine capabilities.</li>
</ul>
""", unsafe_allow_html=True)


st.markdown("<h3 style='text-align:; color: #4CAF50;'>Example 🤖</h3>", unsafe_allow_html=True)


# Story Content
st.markdown("""
<p style='text-align: justify; color: #FFFFFF; font-size: 18px;'>
There was a mother and her young daughter who didn’t know how to draw. Wanting to help, the mother enrolled her daughter in a drawing class. 
At the class, the teacher showed her step-by-step how to draw simple shapes and pictures. The girl practiced every day, observing and mimicking what her teacher showed. 
Over time, she improved and could create beautiful drawings on her own. This was possible because of the natural intelligence given by God—her ability to learn, practice, and create. ✍️✨
</p>
<p style='text-align: justify; color:#FFFFFF; font-size: 18px;'>
Similarly, in Artificial Intelligence (AI), machines do not have natural intelligence to learn or create on their own. 
Just as the mother guided her daughter by enrolling her in classes and the teacher helped her practice, we guide machines by feeding them data and teaching them patterns. 
Over time, the machine learns from this data and mimics natural intelligence to perform tasks intelligently.
</p>
""", unsafe_allow_html=True)

st.image("https://huggingface.co/spaces/hari3485/DiveIntoML/resolve/main/image.png")


# Key Points
st.markdown("""
<ul style='color: #2196f3; font-size: 18px;'>
    <li>📚 <strong>Learning Ability:</strong> Machines learn patterns and knowledge from data, just like the girl learned to draw by observing examples and practicing.</li>
    <li>🎨 <strong>Generating Ability:</strong> After learning, machines can create outputs such as text, images, or decisions, imitating human-like intelligence.</li>
</ul>
""", unsafe_allow_html=True)
 

st.markdown("<h1 >Machine Learning (ML)</h1>", unsafe_allow_html=True)
st.markdown("""
<p style='text-align: justify; color: #FFFFFF; font-size: 18px;'>
ML acts as a guide for machines, helping them learn from data using algorithms. It uses step-by-step instructions provided by the guide (algorithm). 
ML identifies relationships mathematically, considered as a function.
</p>
<p style='text-align: justify; color: #FFFFFF; font-size: 18px;'>
<b>Key Requirements:</b>
<ul>
    <li><b>Data:</b> Must be in table form (features and labels).</li>
    <li><b>Algorithm:</b> Must be in a statistical form.</li>
</ul>
</p>
<p style='text-align: justify; color: #FFFFFF; font-size: 18px;'>
When both conditions are met, ML finds the relationship between inputs (features) and outputs (class labels). 
Inputs are called <b>features</b>, and outputs are called <b>class labels</b>. ML learns a function to understand how inputs and outputs are related.
</p>
""", unsafe_allow_html=True)

st.markdown("<h3 style='text-align:; color: #4CAF50;'>🧠Example💡 </h3>", unsafe_allow_html=True)



st.markdown("""
<p style='text-align: justify; color: #FFFFFF; font-size: 18px;'>
Machine Learning (ML) is like a teacher who uses past exam results to find patterns and help students improve. By analyzing how study habits affect grades, 
the teacher creates a system that suggests personalized study tips. Similarly, ML uses past data to identify patterns and make predictions, 
like Netflix recommending movies based on your viewing history.
</p>
""", unsafe_allow_html=True)


# DL Section
st.markdown("<h1 >Deep Learning (DL)</h1>", unsafe_allow_html=True)
st.markdown("""
<p style='text-align: justify; color: #FFFFFF; font-size: 18px;'>
DL extends ML by adding a logical structure called neurons. These neurons process inputs, compute relationships, and produce outputs. 
It is a subfield of both <b>AI</b> and <b>ML</b>.
</p>
""", unsafe_allow_html=True)

st.markdown("<h3 style='text-align:; color: #4CAF50;'>📚Example🤖💡 </h3>", unsafe_allow_html=True)


st.markdown("""
<p style='text-align: justify; color: #FFFFFF; font-size: 18px;'>
Deep Learning (DL) is like learning from experience instead of just following rules, unlike Machine Learning (ML), which follows fixed instructions. 
DL uses systems that improve over time by processing data and recognizing patterns. 
A real-life example is self-driving cars, which learn to navigate and make decisions by processing data and getting better with experience.
</p>
""", unsafe_allow_html=True)

# App Title
st.markdown("<h1>Generative AI: A Transformative Technology</h1>",unsafe_allow_html=True)

# Introduction with bold and larger font
st.markdown("""
<h2 style="color: #4CAF50;">Definition</h2>
<p style="font-size:16px;">
Generative AI is a <strong>transformative technology</strong> designed to mimic human-like learning and creativity by leveraging 
<strong>Machine Learning (ML)</strong> and <strong>Deep Learning (DL)</strong> techniques. It focuses on generating new content such as:
</p>
<ul style="font-size:16px;">
    <li>Text</li>
    <li>Images</li>
    <li>Audio</li>
    <li>Code</li>
</ul>
<p style="font-size:16px;">Tools like <strong>ChatGPT</strong>, <strong>Gemini</strong>, and <strong>Meta AI</strong> exemplify its capabilities in 
<strong>natural language processing</strong> and <strong>content generation</strong>.</p>
""", unsafe_allow_html=True)

# Key Feature with examples
st.markdown("""
<h2 style="color: #4CAF50;">Key Feature</h2>
<ol style="font-size:16px;">
    <li>
        <strong>Content Creation</strong>: Generative AI tools like <strong>ChatGPT</strong> create human-like text for applications such as emails and stories.
    </li>
</ol>
""", unsafe_allow_html=True)



# Potential of Generative AI
st.markdown("""
<h2 style="color: #4CAF50;">Potential of Generative AI</h2>
<p style="font-size:16px;">
Generative AI represents the next step in technological evolution. By mastering its concepts, individuals can create systems that 
mimic human creativity, enhance decision-making, and solve real-world problems in innovative ways.
</p>
""", unsafe_allow_html=True)