You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
428 B
18 lines
428 B
import streamlit as st
|
|
import matplotlib.pyplot as plt
|
|
from sklearn.cluster import DBSCAN
|
|
import numpy as np
|
|
|
|
st.header("Clustering: dbscan")
|
|
|
|
|
|
if "data" in st.session_state:
|
|
data = st.session_state.data
|
|
|
|
with st.form("my_form"):
|
|
data_name = st.multiselect("Data Name",data.select_dtypes(include="number").columns, max_selections=2)
|
|
st.form_submit_button('launch')
|
|
|
|
|
|
else:
|
|
st.error("file not loaded") |