hari3485 commited on
Commit
1ddd013
·
verified ·
1 Parent(s): afc2a67

Update pages/intro.py

Browse files
Files changed (1) hide show
  1. pages/intro.py +24 -24
pages/intro.py CHANGED
@@ -46,30 +46,30 @@ st.markdown("""
46
  """, unsafe_allow_html=True)
47
 
48
 
49
- # Machine Learning Section
50
- st.markdown("<h1>Machine Learning (ML)</h1>", unsafe_allow_html=True)
51
  st.markdown("""
52
- ML is a subset of AI that enables machines to learn patterns from data using algorithms.
53
- """)
54
- st.subheader("Key Components:")
55
- st.markdown("""
56
- 1. *Data*: Should be in table form (features and labels).
57
- 2. *Algorithm*: Statistical techniques to find relationships, expressed as 👦y = f(x)👦.
58
- """)
59
- st.markdown("""
60
- ML learns how inputs (features) relate to outputs (class labels) to make predictions or decisions.
61
- """)
 
 
 
 
 
 
62
 
63
- # Deep Learning Section
64
- st.markdown("<h1>Deep Learning (DL)</h1>", unsafe_allow_html=True)
65
- st.markdown("""
66
- DL is a subset of ML that uses neural networks structured like the human brain.
67
- """)
68
- st.subheader("Key Features:")
69
  st.markdown("""
70
- 1. *Processes inputs logically through neurons.*
71
- 2. *Handles complex tasks like image recognition and language generation.*
72
- """)
73
- st.markdown("""
74
- DL automates feature extraction and works with large datasets.
75
- """)
 
46
  """, unsafe_allow_html=True)
47
 
48
 
49
+ st.markdown("<h1 style='color: #4a90e2;'>Machine Learning (ML)</h1>", unsafe_allow_html=True)
 
50
  st.markdown("""
51
+ <p style='text-align: justify; color: #333; font-size: 18px;'>
52
+ 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).
53
+ ML identifies relationships mathematically, considered as a function.
54
+ </p>
55
+ <p style='text-align: justify; color: #333; font-size: 18px;'>
56
+ <b>Key Requirements:</b>
57
+ <ul>
58
+ <li><b>Data:</b> Must be in table form (features and labels).</li>
59
+ <li><b>Algorithm:</b> Must be in a statistical form.</li>
60
+ </ul>
61
+ </p>
62
+ <p style='text-align: justify; color: #333; font-size: 18px;'>
63
+ When both conditions are met, ML finds the relationship between inputs (features) and outputs (class labels).
64
+ 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.
65
+ </p>
66
+ """, unsafe_allow_html=True)
67
 
68
+ # DL Section
69
+ st.markdown("<h1 style='color: #4a90e2;'>Deep Learning (DL)</h1>", unsafe_allow_html=True)
 
 
 
 
70
  st.markdown("""
71
+ <p style='text-align: justify; color: #333; font-size: 18px;'>
72
+ DL extends ML by adding a logical structure called neurons. These neurons process inputs, compute relationships, and produce outputs.
73
+ It is a subfield of both <b>AI</b> and <b>ML</b>.
74
+ </p>
75
+ """, unsafe_allow_html=True)