File size: 896 Bytes
5379bb9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import streamlit as st

def main():
    st.title("Introduction to Metrics in Machine Learning")

    st.markdown(
        """
        ### What is METRICS?
       In machine learning, metrics are quantitative measures used to evaluate the performance of a model. The choice of metric depends on the problem type:

    - Classification Metrics → Evaluate models that predict categories (e.g., spam detection).
    - Regression Metrics → Evaluate models that predict continuous values (e.g., house price prediction).
        """
    )

    # Button to redirect to another Hugging Face space
    if st.button("Explore More"):
        st.markdown(
            '<a href="https://huggingface.co/spaces/shwetashweta05/Metrics/edit/main/pages/Introduction_of_metrics.py" target="_blank">Click here to explore!</a>',
            unsafe_allow_html=True,
        )

if __name__ == "__main__":
    main()