Skip to content

Commit

Permalink
Finished the demographics tab of the dataset overview page
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreCNF committed Aug 19, 2020
1 parent 261613c commit 5bbe04d
Show file tree
Hide file tree
Showing 29 changed files with 485 additions and 19 deletions.
493 changes: 475 additions & 18 deletions callbacks.py

Large diffs are not rendered by default.

11 changes: 10 additions & 1 deletion layouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
dcc.Store(id='label_col_name_store', storage_type='memory'),
dcc.Store(id='cols_to_remove_store', storage_type='memory'),
dcc.Store(id='total_length_store', storage_type='memory'),
dcc.Store(id='norm_stats_store', storage_type='memory'),
# Chosen machine learning model
html.Div(id='model_name_div', children='LSTM', hidden=True),
dcc.Store(id='model_store', storage_type='memory'),
Expand Down Expand Up @@ -271,6 +272,7 @@
dcc.Store(id='label_col_name_store', storage_type='memory'),
dcc.Store(id='cols_to_remove_store', storage_type='memory'),
dcc.Store(id='total_length_store', storage_type='memory'),
dcc.Store(id='norm_stats_store', storage_type='memory'),
# Chosen machine learning model
html.Div(id='model_name_div', children='LSTM', hidden=True),
dcc.Store(id='model_store', storage_type='memory'),
Expand Down Expand Up @@ -478,6 +480,7 @@
dcc.Store(id='label_col_name_store', storage_type='memory'),
dcc.Store(id='cols_to_remove_store', storage_type='memory'),
dcc.Store(id='total_length_store', storage_type='memory'),
dcc.Store(id='norm_stats_store', storage_type='memory'),
# Chosen machine learning model
html.Div(id='model_name_div', children='LSTM', hidden=True),
dcc.Store(id='model_store', storage_type='memory'),
Expand Down Expand Up @@ -604,6 +607,7 @@
dcc.Store(id='label_col_name_store', storage_type='memory'),
dcc.Store(id='cols_to_remove_store', storage_type='memory'),
dcc.Store(id='total_length_store', storage_type='memory'),
dcc.Store(id='norm_stats_store', storage_type='memory'),
# Chosen machine learning model
html.Div(id='model_name_div', children='LSTM', hidden=True),
dcc.Store(id='model_store', storage_type='memory'),
Expand All @@ -614,6 +618,10 @@
# Feature filtering dropdown placeholders
html.Div(children=dcc.Dropdown(id='seq_len_dist_dropdown'), hidden=True),
html.Div(children=dcc.Dropdown(id='time_freq_dist_dropdown'), hidden=True),
html.Div(children=dcc.Dropdown(id='age_dist_dropdown'), hidden=True),
html.Div(children=dcc.Dropdown(id='gender_bar_dropdown'), hidden=True),
html.Div(children=dcc.Dropdown(id='label_per_sample_bar_dropdown'), hidden=True),
html.Div(children=dcc.Dropdown(id='label_per_patient_bar_dropdown'), hidden=True),
html.Div([
dcc.Dropdown(
id='dataset_dropdown',
Expand Down Expand Up @@ -688,7 +696,7 @@
dcc.Loading(
id='loading_dataset_demographics_cards',
children=[
dbc.CardColumns(
dbc.CardDeck(
id='dataset_demographics_cards',
children=[],
style=dict(
Expand Down Expand Up @@ -733,6 +741,7 @@
dcc.Store(id='label_col_name_store', storage_type='memory'),
dcc.Store(id='cols_to_remove_store', storage_type='memory'),
dcc.Store(id='total_length_store', storage_type='memory'),
dcc.Store(id='norm_stats_store', storage_type='memory'),
# Chosen machine learning model
html.Div(id='model_name_div', children='LSTM', hidden=True),
dcc.Store(id='model_store', storage_type='memory'),
Expand Down

0 comments on commit 5bbe04d

Please sign in to comment.