Spaces:
Sleeping
Sleeping
Update src/app.py
Browse files- src/app.py +0 -3
src/app.py
CHANGED
|
@@ -1,5 +1,3 @@
|
|
| 1 |
-
# import altair as alt
|
| 2 |
-
# import numpy as np
|
| 3 |
import pandas as pd
|
| 4 |
import streamlit as st
|
| 5 |
import plotly.express as px
|
|
@@ -7,7 +5,6 @@ import boto3
|
|
| 7 |
import plotly.graph_objects as go
|
| 8 |
import itertools
|
| 9 |
from sklearn.cluster import KMeans, DBSCAN
|
| 10 |
-
# from plotly.subplots import make_subplots
|
| 11 |
|
| 12 |
@st.cache_data
|
| 13 |
def compute_kmeans(df, n_clusters):
|
|
|
|
|
|
|
|
|
|
| 1 |
import pandas as pd
|
| 2 |
import streamlit as st
|
| 3 |
import plotly.express as px
|
|
|
|
| 5 |
import plotly.graph_objects as go
|
| 6 |
import itertools
|
| 7 |
from sklearn.cluster import KMeans, DBSCAN
|
|
|
|
| 8 |
|
| 9 |
@st.cache_data
|
| 10 |
def compute_kmeans(df, n_clusters):
|