Spaces:
Sleeping
Sleeping
Update pages/1Introduction to Machine Learning.py
Browse files
pages/1Introduction to Machine Learning.py
CHANGED
|
@@ -11,10 +11,10 @@ st.markdown("<h3 style='text-align:; color: #4CAF50;'>📊Example📈🔍 </h3>"
|
|
| 11 |
|
| 12 |
|
| 13 |
st.markdown("""
|
| 14 |
-
<p style="font-size:16px; color:
|
| 15 |
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.
|
| 16 |
</p>
|
| 17 |
-
<p style="font-size:16px; color:
|
| 18 |
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.
|
| 19 |
</p>
|
| 20 |
""", unsafe_allow_html=True)
|
|
@@ -32,17 +32,17 @@ st.markdown("""
|
|
| 32 |
""", unsafe_allow_html=True)
|
| 33 |
|
| 34 |
|
| 35 |
-
st.markdown("<h3 style='text-align:; color: #
|
| 36 |
|
| 37 |
|
| 38 |
# Story Content
|
| 39 |
st.markdown("""
|
| 40 |
-
<p style='text-align: justify; color: #
|
| 41 |
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.
|
| 42 |
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.
|
| 43 |
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. ✍️✨
|
| 44 |
</p>
|
| 45 |
-
<p style='text-align: justify; color
|
| 46 |
Similarly, in Artificial Intelligence (AI), machines do not have natural intelligence to learn or create on their own.
|
| 47 |
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.
|
| 48 |
Over time, the machine learns from this data and mimics natural intelligence to perform tasks intelligently.
|
|
@@ -63,18 +63,18 @@ st.markdown("""
|
|
| 63 |
|
| 64 |
st.markdown("<h1 >Machine Learning (ML)</h1>", unsafe_allow_html=True)
|
| 65 |
st.markdown("""
|
| 66 |
-
<p style='text-align: justify; color: #
|
| 67 |
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).
|
| 68 |
ML identifies relationships mathematically, considered as a function.
|
| 69 |
</p>
|
| 70 |
-
<p style='text-align: justify; color: #
|
| 71 |
<b>Key Requirements:</b>
|
| 72 |
<ul>
|
| 73 |
<li><b>Data:</b> Must be in table form (features and labels).</li>
|
| 74 |
<li><b>Algorithm:</b> Must be in a statistical form.</li>
|
| 75 |
</ul>
|
| 76 |
</p>
|
| 77 |
-
<p style='text-align: justify; color: #
|
| 78 |
When both conditions are met, ML finds the relationship between inputs (features) and outputs (class labels).
|
| 79 |
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.
|
| 80 |
</p>
|
|
@@ -85,7 +85,7 @@ st.markdown("<h3 style='text-align:; color: #4CAF50;'>🧠Example💡 </h3>", un
|
|
| 85 |
|
| 86 |
|
| 87 |
st.markdown("""
|
| 88 |
-
<p style='text-align: justify; color: #
|
| 89 |
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,
|
| 90 |
the teacher creates a system that suggests personalized study tips. Similarly, ML uses past data to identify patterns and make predictions,
|
| 91 |
like Netflix recommending movies based on your viewing history.
|
|
@@ -96,7 +96,7 @@ like Netflix recommending movies based on your viewing history.
|
|
| 96 |
# DL Section
|
| 97 |
st.markdown("<h1 >Deep Learning (DL)</h1>", unsafe_allow_html=True)
|
| 98 |
st.markdown("""
|
| 99 |
-
<p style='text-align: justify; color: #
|
| 100 |
DL extends ML by adding a logical structure called neurons. These neurons process inputs, compute relationships, and produce outputs.
|
| 101 |
It is a subfield of both <b>AI</b> and <b>ML</b>.
|
| 102 |
</p>
|
|
@@ -106,7 +106,7 @@ st.markdown("<h3 style='text-align:; color: #4CAF50;'>📚Example🤖💡 </h3>"
|
|
| 106 |
|
| 107 |
|
| 108 |
st.markdown("""
|
| 109 |
-
<p style='text-align: justify; color: #
|
| 110 |
Deep Learning (DL) is like learning from experience instead of just following rules, unlike Machine Learning (ML), which follows fixed instructions.
|
| 111 |
DL uses systems that improve over time by processing data and recognizing patterns.
|
| 112 |
A real-life example is self-driving cars, which learn to navigate and make decisions by processing data and getting better with experience.
|
|
@@ -135,7 +135,7 @@ Generative AI is a <strong>transformative technology</strong> designed to mimic
|
|
| 135 |
|
| 136 |
# Key Feature with examples
|
| 137 |
st.markdown("""
|
| 138 |
-
<h2 style="color: #
|
| 139 |
<ol style="font-size:16px;">
|
| 140 |
<li>
|
| 141 |
<strong>Content Creation</strong>: Generative AI tools like <strong>ChatGPT</strong> create human-like text for applications such as emails and stories.
|
|
@@ -147,7 +147,7 @@ st.markdown("""
|
|
| 147 |
|
| 148 |
# Potential of Generative AI
|
| 149 |
st.markdown("""
|
| 150 |
-
<h2 style="color: #
|
| 151 |
<p style="font-size:16px;">
|
| 152 |
Generative AI represents the next step in technological evolution. By mastering its concepts, individuals can create systems that
|
| 153 |
mimic human creativity, enhance decision-making, and solve real-world problems in innovative ways.
|
|
|
|
| 11 |
|
| 12 |
|
| 13 |
st.markdown("""
|
| 14 |
+
<p style="font-size:16px; color: #FFFFFF;">
|
| 15 |
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.
|
| 16 |
</p>
|
| 17 |
+
<p style="font-size:16px; color: #FFFFFF;">
|
| 18 |
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.
|
| 19 |
</p>
|
| 20 |
""", unsafe_allow_html=True)
|
|
|
|
| 32 |
""", unsafe_allow_html=True)
|
| 33 |
|
| 34 |
|
| 35 |
+
st.markdown("<h3 style='text-align:; color: #4CAF50;'>Example 🤖</h3>", unsafe_allow_html=True)
|
| 36 |
|
| 37 |
|
| 38 |
# Story Content
|
| 39 |
st.markdown("""
|
| 40 |
+
<p style='text-align: justify; color: #FFFFFF; font-size: 18px;'>
|
| 41 |
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.
|
| 42 |
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.
|
| 43 |
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. ✍️✨
|
| 44 |
</p>
|
| 45 |
+
<p style='text-align: justify; color:#FFFFFF; font-size: 18px;'>
|
| 46 |
Similarly, in Artificial Intelligence (AI), machines do not have natural intelligence to learn or create on their own.
|
| 47 |
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.
|
| 48 |
Over time, the machine learns from this data and mimics natural intelligence to perform tasks intelligently.
|
|
|
|
| 63 |
|
| 64 |
st.markdown("<h1 >Machine Learning (ML)</h1>", unsafe_allow_html=True)
|
| 65 |
st.markdown("""
|
| 66 |
+
<p style='text-align: justify; color: #FFFFFF; font-size: 18px;'>
|
| 67 |
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).
|
| 68 |
ML identifies relationships mathematically, considered as a function.
|
| 69 |
</p>
|
| 70 |
+
<p style='text-align: justify; color: #FFFFFF; font-size: 18px;'>
|
| 71 |
<b>Key Requirements:</b>
|
| 72 |
<ul>
|
| 73 |
<li><b>Data:</b> Must be in table form (features and labels).</li>
|
| 74 |
<li><b>Algorithm:</b> Must be in a statistical form.</li>
|
| 75 |
</ul>
|
| 76 |
</p>
|
| 77 |
+
<p style='text-align: justify; color: #FFFFFF; font-size: 18px;'>
|
| 78 |
When both conditions are met, ML finds the relationship between inputs (features) and outputs (class labels).
|
| 79 |
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.
|
| 80 |
</p>
|
|
|
|
| 85 |
|
| 86 |
|
| 87 |
st.markdown("""
|
| 88 |
+
<p style='text-align: justify; color: #FFFFFF; font-size: 18px;'>
|
| 89 |
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,
|
| 90 |
the teacher creates a system that suggests personalized study tips. Similarly, ML uses past data to identify patterns and make predictions,
|
| 91 |
like Netflix recommending movies based on your viewing history.
|
|
|
|
| 96 |
# DL Section
|
| 97 |
st.markdown("<h1 >Deep Learning (DL)</h1>", unsafe_allow_html=True)
|
| 98 |
st.markdown("""
|
| 99 |
+
<p style='text-align: justify; color: #FFFFFF; font-size: 18px;'>
|
| 100 |
DL extends ML by adding a logical structure called neurons. These neurons process inputs, compute relationships, and produce outputs.
|
| 101 |
It is a subfield of both <b>AI</b> and <b>ML</b>.
|
| 102 |
</p>
|
|
|
|
| 106 |
|
| 107 |
|
| 108 |
st.markdown("""
|
| 109 |
+
<p style='text-align: justify; color: #FFFFFF; font-size: 18px;'>
|
| 110 |
Deep Learning (DL) is like learning from experience instead of just following rules, unlike Machine Learning (ML), which follows fixed instructions.
|
| 111 |
DL uses systems that improve over time by processing data and recognizing patterns.
|
| 112 |
A real-life example is self-driving cars, which learn to navigate and make decisions by processing data and getting better with experience.
|
|
|
|
| 135 |
|
| 136 |
# Key Feature with examples
|
| 137 |
st.markdown("""
|
| 138 |
+
<h2 style="color: #4CAF50;">Key Feature</h2>
|
| 139 |
<ol style="font-size:16px;">
|
| 140 |
<li>
|
| 141 |
<strong>Content Creation</strong>: Generative AI tools like <strong>ChatGPT</strong> create human-like text for applications such as emails and stories.
|
|
|
|
| 147 |
|
| 148 |
# Potential of Generative AI
|
| 149 |
st.markdown("""
|
| 150 |
+
<h2 style="color: #4CAF50;">Potential of Generative AI</h2>
|
| 151 |
<p style="font-size:16px;">
|
| 152 |
Generative AI represents the next step in technological evolution. By mastering its concepts, individuals can create systems that
|
| 153 |
mimic human creativity, enhance decision-making, and solve real-world problems in innovative ways.
|