shwetashweta05 commited on
Commit
d3d1a21
·
verified ·
1 Parent(s): 39977a6

Create pages/25.Introduction_of_Decision_Tree.py

Browse files
pages/pages/25.Introduction_of_Decision_Tree.py ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ def main():
4
+ st.title("Decision Tree")
5
+
6
+ st.markdown(
7
+ """
8
+ ### What is Decision Tree?
9
+ Decision Tree(Decision Tree** is a supervised machine learning algorithm used for both classification and regression tasks. It works by splitting the dataset into branches based on feature values, creating a tree-like structure to make predictions.")
10
+ """
11
+ )
12
+
13
+ # Button to redirect to another Hugging Face space
14
+ if st.button("Explore More"):
15
+ st.markdown(
16
+ '<a href="https://huggingface.co/spaces/shwetashweta05/Decision_Tree/blob/main/pages/Introduction_of_Decision_Tree.py" target="_blank">Click here to explore!</a>',
17
+ unsafe_allow_html=True,
18
+ )
19
+
20
+ if __name__ == "__main__":
21
+ main()