-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathui.R
More file actions
35 lines (31 loc) · 1.16 KB
/
ui.R
File metadata and controls
35 lines (31 loc) · 1.16 KB
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
library(shiny)
ui <- fluidPage(
headerPanel("Outlier Detection through Active Learning"),
sidebarPanel(
#selectInput("dataset", label = "Data Set", choices = c('iris', 'ionosphere', 'arrhythmia', 'isolet5', 'pima-indians-diabetes'
# , 'australian', 'spambase', 'waveform'), selected = TRUE),
fileInput('infile', 'Upload Dataset', accept=c('rds')),
textInput('budget', 'Budget', value = 0),
#textInput('batch', 'Batch', value = 0),
#selectInput("classifier", label = "Classifier", choices = c('lda'), selected = TRUE),
textInput('classifier', 'Classifier', value = 'lda'),
textInput('knn', 'KNN for LOF', value = 6),
textInput('kmn', 'Num Centres for KMean', value = 4),
actionButton("btn", "Extract"),
br(),
textOutput('err'),
width = 2
),
mainPanel(
br(),
textOutput("subheading"),
fileInput('file1', 'Upload Oracle rds File', accept=c('rds')),
br(),
uiOutput("learning"),
#textOutput('err1'),
tableOutput("batch_table"),
br(),
div(dataTableOutput("final_analysis"), style = "font-size:80%")
#actionButton('end_button')
)
)