Download Pages/Algorithm.py from skt-asap/streamlit: direct link, hf CLI and curl.
- Browser
- Download file 894 Bytes
-
https://huggingface.co/spaces/skt-asap/streamlit/resolve/main/Pages/Algorithm.py
- Command line
-
hf download hf://spaces/skt-asap/streamlit/Pages/Algorithm.py
-
curl -L -o Algorithm.py https://huggingface.co/spaces/skt-asap/streamlit/resolve/main/Pages/Algorithm.py
894 Bytes
| # import streamlit as st | |
| # import pandas as pd | |
| # from datasets import load_dataset | |
| # import data | |
| # import seaborn as sns | |
| # import tabs.machine_learning as machine_learning | |
| # import tabs.reinforcement_learning as reinforcement_learning | |
| # import tabs.threshold_optimization as threshold_optimization | |
| # st.set_page_config(layout="wide") | |
| # st.write("# Algorithm") | |
| # @st.cache_data(show_spinner=False) | |
| # def load_labeled_data(): | |
| # dataset = load_dataset('skt-asap/labeled-dataset', data_files="Labeled.csv", token=data.token, streaming=True) | |
| # return dataset | |
| # with st.spinner("데이터 로딩 중..."): | |
| # dataset = load_labeled_data() | |
| # tab1, tab2, tab3 = st.tabs(["Threshold Optimization", "Machine Learning", "Reinforcement Learning"]) | |
| # with tab1: | |
| # threshold_optimization.show() | |
| # with tab2: | |
| # machine_learning.show() | |
| # with tab3: | |
| # reinforcement_learning.show() |