Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco De Lucia
RedModRphree
Commits
9d34cfd1
Commit
9d34cfd1
authored
May 09, 2018
by
Marco De Lucia
Browse files
fixed allow_neg_cols in demo-eq-TrainMultiple
parent
0283c6d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
R/Surr_Train.R
View file @
9d34cfd1
...
...
@@ -2,7 +2,7 @@
### Marco De Lucia, delucia@gfz-potsdam.de, 2009-2018
### Janis Jatnieks, janisj@gfz-potsdam.de, jatnieks@janis.es
### Time-stamp: "Last modified 2018-05-0
7
0
0
:0
6:19
delucia"
### Time-stamp: "Last modified 2018-05-0
9
0
1
:0
1:30
delucia"
### Licence: LGPL version 2.1
## resolve dependencies automatically
...
...
@@ -1973,7 +1973,7 @@ Train <- function(surrogate_types = c(),
## forced on the surrogate completely from the
## outside
external
=
c
(
"Time"
,
"Pressure"
),
allow_neg_cols
=
c
(
"
Pressure"
,
"Charg
e"
),
#,multiround = c(9,6)
allow_neg_cols
=
c
(
"
p
e"
),
#,multiround = c(9,6)
multiround
=
c
(),
#,exclude_output_columns = c("e")
train_para
=
TRUE
,
run_para
=
FALSE
,
preproc_para
=
TRUE
,
use_cores
=
0
,
tuner
=
FALSE
,
## you can apply a rounding specification, but it usually does more harm than good
...
...
demo/demo-eq-TrainMultiple.R
View file @
9d34cfd1
...
...
@@ -17,6 +17,7 @@ Train(c("PolyMARS", "glmStepAIC", "MARS"),
seed
=
2305
,
train_para
=
TRUE
,
run_para
=
TRUE
,
allow_neg_cols
=
"pe"
,
preproc_para
=
FALSE
,
selection_criteria
=
"MAD"
,
write_full_residuals
=
FALSE
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment