DavidHidary commited on
Commit
bef6da5
1 Parent(s): e05adce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +57 -3
app.py CHANGED
@@ -1,6 +1,60 @@
1
  import streamlit as st
2
- import math
3
 
4
- x = st.slider('Select a value')
5
- st.write(x, 'squared is', math.sqrt(x))
 
6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import streamlit as st
 
2
 
3
+ # App Title and Introduction
4
+ st.title('Machine Learning Learning Hub')
5
+ st.write('Welcome to the ML Learning Hub, your gateway to learning Machine Learning!')
6
 
7
+ # Navigation and Layout
8
+ section = st.sidebar.selectbox('Choose a Section',
9
+ ('Home', 'Beginner Resources', 'Intermediate Resources',
10
+ 'Advanced Resources', 'Projects', 'Communities'))
11
+
12
+ # Define Sections
13
+
14
+ # Home Section
15
+ if section == 'Home':
16
+ st.header('Welcome to the ML Learning Hub!')
17
+ st.write('Select a section from the sidebar to begin exploring resources.')
18
+
19
+ # Beginner Resources
20
+ elif section == 'Beginner Resources':
21
+ st.header('Beginner Resources')
22
+ st.write('Here are some great resources for ML beginners:')
23
+ st.markdown('[Machine Learning by Andrew Ng on Coursera](https://www.coursera.org/learn/machine-learning)')
24
+ st.markdown('[Introduction to Machine Learning for Coders by fast.ai](https://course.fast.ai/ml)')
25
+ st.markdown('[Google\'s Machine Learning Crash Course](https://developers.google.com/machine-learning/crash-course)')
26
+
27
+ # Intermediate Resources
28
+ elif section == 'Intermediate Resources':
29
+ st.header('Intermediate Resources')
30
+ st.write('Resources for those who are familiar with the basics:')
31
+ st.markdown('[Deep Learning Specialization by Andrew Ng on Coursera](https://www.coursera.org/specializations/deep-learning)')
32
+ st.markdown('[Kaggle Micro-Courses](https://www.kaggle.com/learn/overview)')
33
+ st.markdown('[DataCamp Machine Learning Scientist with Python Track](https://www.datacamp.com/tracks/machine-learning-scientist-with-python)')
34
+
35
+ # Advanced Resources
36
+ elif section == 'Advanced Resources':
37
+ st.header('Advanced Resources')
38
+ st.write('For those looking to deepen their ML knowledge:')
39
+ st.markdown('[Advanced Machine Learning Specialization on Coursera](https://www.coursera.org/specializations/aml)')
40
+ st.markdown('[MIT\'s Deep Learning for Self-Driving Cars](http://selfdrivingcars.mit.edu/)')
41
+ st.markdown('[The Elements of Statistical Learning: Data Mining, Inference, and Prediction](https://web.stanford.edu/~hastie/ElemStatLearn/)')
42
+
43
+ # Projects
44
+ elif section == 'Projects':
45
+ st.header('Projects')
46
+ st.write('Hands-on projects to apply your ML skills:')
47
+ st.markdown('[Kaggle Competitions](https://www.kaggle.com/competitions)')
48
+ st.markdown('[TensorFlow Projects](https://www.tensorflow.org/resources/learn-ml)')
49
+ st.markdown('[GitHub ML Showcase](https://github.com/collections/machine-learning)')
50
+
51
+ # Communities
52
+ elif section == 'Communities':
53
+ st.header('Communities')
54
+ st.write('Join ML communities to learn and share:')
55
+ st.markdown('[r/MachineLearning on Reddit](https://www.reddit.com/r/MachineLearning/)')
56
+ st.markdown('[Data Science Stack Exchange](https://datascience.stackexchange.com/)')
57
+ st.markdown('[AI & Machine Learning on Stack Overflow](https://stackoverflow.com/tags/machine-learning)')
58
+
59
+ # Run the App
60
+ # To run the app, save this script and use the command: streamlit run [script_name].py