Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,16 +19,16 @@ import streamlit as st
|
|
19 |
import plotly.graph_objs as go
|
20 |
|
21 |
def main():
|
22 |
-
data = get_data('anomaly')
|
23 |
insurance_claims = pd.read_csv ("./fraud_oracle.csv")
|
24 |
-
s = setup(
|
25 |
|
26 |
# exp_clustering = ClusteringExperiment()
|
27 |
exp_anomaly = AnomalyExperiment()
|
28 |
|
29 |
# init setup on exp
|
30 |
# exp_clustering.setup(data, session_id = 123)
|
31 |
-
exp_anomaly.setup(
|
32 |
|
33 |
# train kmeans model
|
34 |
# kmeans = create_model('kmeans')
|
|
|
19 |
import plotly.graph_objs as go
|
20 |
|
21 |
def main():
|
22 |
+
# data = get_data('anomaly')
|
23 |
insurance_claims = pd.read_csv ("./fraud_oracle.csv")
|
24 |
+
s = setup(insurance_claims, session_id = 123)
|
25 |
|
26 |
# exp_clustering = ClusteringExperiment()
|
27 |
exp_anomaly = AnomalyExperiment()
|
28 |
|
29 |
# init setup on exp
|
30 |
# exp_clustering.setup(data, session_id = 123)
|
31 |
+
exp_anomaly.setup(insurance_claims, session_id = 123)
|
32 |
|
33 |
# train kmeans model
|
34 |
# kmeans = create_model('kmeans')
|