-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrows.py
99 lines (83 loc) · 4.09 KB
/
rows.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
import dash_bootstrap_components as dbc
import dash
from dash import Input, Output, State, dcc, html, dash_table
from cards import *
rowFit = html.Div([
html.Div([
html.Div(html.P('Select variables and data split'), className = 'head-text'),
html.Div([
html.Div(cardDV, className = 'quarter'),
html.Div(cardIV, className = 'quarter'),
], id = 'top-half'),
html.Hr(),
html.Div([
html.Div(cardTransform, className = 'quarter'),
html.Div(cardIntercept, className = 'quarter'),
html.Div(cardSplit, className = 'quarter'),
], id = 'bottom-half'),
html.Div([
html.Div(html.Button('Fit', id='btnFit', n_clicks=0, className='button-fit'), id = 'button-container'),
], id = 'button-lightblue'),
], id = 'model-page-control'),
html.Hr(className = 'horizontal-line'),
html.Div([
html.Div(html.P('Results'), className = 'head-text'),
html.Div([
html.Div(cardStats),
], className = 'table'),
html.Div([
html.Div(cardFit),
],id = 'table-margin1', className = 'table'),
html.Div([
html.Div(cardFitTest),
],id = 'table-margin2', className = 'table'),
], id = 'tables')
], id = 'model-page')
rowViz = html.Div([
html.Div([
html.Div([
html.Div(html.P('Select a view', id = 'radio-text')),
html.Div([
html.Div([
dbc.RadioItems(
id='radioViz',
inline=True, value='modelfit')
], className = 'radio-container'),
html.Div(id = 'vertical-line'),
html.Div([
dbc.RadioItems(
id='radioTrainOrTest',
inline=True,
value='train')], className = 'radio-container'),
], id = 'radios')
], id = 'primary-radio-container')
], id = 'primary-radio'),
html.Div(id='vmr')
], id = 'viz-model')
rowFig = html.Div([
html.Div([html.Div([html.P('Select a Figure', className='main-dropdown-label'),
dcc.Dropdown(
id='navFig',
options=[
{'label': 'Preview Data', 'value': 'dataPreview'},
{'label': 'Correlation Matrix', 'value': 'figCorr'},
{'label': 'Scatter Plot', 'value': 'figScatter'},
{'label': 'Bar Chart', 'value': 'figBar'},
{'label': 'Distribution Plot', 'value': 'figDist'},
{'label': 'Line Plot', 'value': 'figLine'},
{'label': 'Pie Chart', 'value': 'figPie'},
{'label': 'Scatter Matrix', 'value': 'figMatrix'},
{'label': 'Box Plot', 'value': 'figBox'},
{'label': 'Histogram', 'value': 'figHist'},
{'label': '2D Contour', 'value': 'figContour2D'},
{'label': '2D Hist', 'value': 'fig2D'},
{'label': '3D Scatter Plot', 'value': 'figScatter3D'},
{'label': '3D Line Plot', 'value': 'figLine3D'},
{'label': 'Surface Plot', 'value': 'figSurface3D'},
{'label': 'Mesh Grid', 'value': 'figMesh'},
{'label': 'Descriptive Stats', 'value': 'ds'}
])], id = 'main-dropdown-container'),
html.Hr(className = 'horizontal-line'),], id = 'explore-page-top-section'),
html.Div(id='userFig')
], id = 'all_explore_content')
rowHome = html.Div([html.Div(jumbotronHome)], className='Home', id = "Home_Page_Column")