ankithpatel commited on
Commit
b05d633
·
verified ·
1 Parent(s): 8ab2e8c

Create Lifecycle of Machine Learning.py

Browse files
pages/Lifecycle of Machine Learning.py ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ # HTML and CSS code for a simple mind map
4
+ html_code = """
5
+ <div style="display: flex; justify-content: center; margin-top: 20px;">
6
+ <div style="text-align: center;">
7
+ <!-- Root Node -->
8
+ <div style="background-color: #4CAF50; color: white; padding: 10px 20px; border-radius: 10px; margin-bottom: 20px;">
9
+ Data Science
10
+ </div>
11
+
12
+ <div style="display: flex; justify-content: space-around;">
13
+ <!-- First Branch -->
14
+ <div style="text-align: center; margin-right: 50px;">
15
+ <div style="background-color: #f44336; color: white; padding: 10px 20px; border-radius: 10px;">
16
+ Machine Learning
17
+ </div>
18
+ <div style="margin-top: 20px;">
19
+ <div style="background-color: #e91e63; color: white; padding: 10px 20px; border-radius: 10px; margin-top: 10px;">
20
+ Supervised
21
+ </div>
22
+ <div style="background-color: #e91e63; color: white; padding: 10px 20px; border-radius: 10px; margin-top: 10px;">
23
+ Unsupervised
24
+ </div>
25
+ </div>
26
+ </div>
27
+
28
+ <!-- Second Branch -->
29
+ <div style="text-align: center; margin-left: 50px;">
30
+ <div style="background-color: #2196F3; color: white; padding: 10px 20px; border-radius: 10px;">
31
+ Deep Learning
32
+ </div>
33
+ <div style="margin-top: 20px;">
34
+ <div style="background-color: #03A9F4; color: white; padding: 10px 20px; border-radius: 10px; margin-top: 10px;">
35
+ CNN
36
+ </div>
37
+ <div style="background-color: #03A9F4; color: white; padding: 10px 20px; border-radius: 10px; margin-top: 10px;">
38
+ RNN
39
+ </div>
40
+ </div>
41
+ </div>
42
+ </div>
43
+ </div>
44
+ </div>
45
+ """
46
+
47
+ # Display the mind map in Streamlit
48
+ st.markdown(html_code, unsafe_allow_html=True)