cleanup
Browse files- src/app.py +0 -4
- src/data/utils.py +0 -5
src/app.py
CHANGED
@@ -4,8 +4,6 @@ from data.utils import *
|
|
4 |
from visualization.visualize import *
|
5 |
from features.build_features import *
|
6 |
|
7 |
-
import os
|
8 |
-
|
9 |
|
10 |
def main():
|
11 |
|
@@ -27,8 +25,6 @@ def main():
|
|
27 |
|
28 |
[decomposition, selected_model_type] = decompose_time_series(data)
|
29 |
|
30 |
-
model_types = ['Additive', 'Multiplicative']
|
31 |
-
|
32 |
if selected_model_type == model_types[0]:
|
33 |
st.subheader('Additive Model')
|
34 |
st.latex(r'''
|
|
|
4 |
from visualization.visualize import *
|
5 |
from features.build_features import *
|
6 |
|
|
|
|
|
7 |
|
8 |
def main():
|
9 |
|
|
|
25 |
|
26 |
[decomposition, selected_model_type] = decompose_time_series(data)
|
27 |
|
|
|
|
|
28 |
if selected_model_type == model_types[0]:
|
29 |
st.subheader('Additive Model')
|
30 |
st.latex(r'''
|
src/data/utils.py
CHANGED
@@ -4,11 +4,6 @@ data_set_options = [
|
|
4 |
'Milk production'
|
5 |
]
|
6 |
|
7 |
-
sample_or_upload_options = [
|
8 |
-
'Use sample data',
|
9 |
-
'Upload data'
|
10 |
-
]
|
11 |
-
|
12 |
|
13 |
def import_sample_data(sample_data_selected, data_set_options):
|
14 |
if sample_data_selected == data_set_options[0]:
|
|
|
4 |
'Milk production'
|
5 |
]
|
6 |
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
def import_sample_data(sample_data_selected, data_set_options):
|
9 |
if sample_data_selected == data_set_options[0]:
|