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() | |