Skip to content
GitLab
Menu
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
681fd6e2
Commit
681fd6e2
authored
May 09, 2018
by
Marco De Lucia
Browse files
fixed Train
parent
9d34cfd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/Surr_Train.R
View file @
681fd6e2
...
...
@@ -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-09 01:0
1:30
delucia"
### Time-stamp: "Last modified 2018-05-09 01:0
7:22
delucia"
### Licence: LGPL version 2.1
## resolve dependencies automatically
...
...
@@ -1984,10 +1984,6 @@ Train <- function(surrogate_types = c(),
{
## run only the preprocessing methods that have not been blacklisted
preprocessing_ind
<-
setdiff
(
preprocessing_ind
,
preprocessing_blacklist
)
## r_digits <<- r_digits ## this can be re-used by the SelectedSurrogate later
if
(
!
exists
(
"saved_simulation_data"
))
{
saved_simulation_data
<<-
"calcite_pqc_pqc_nagra_psi_dat_50_0_5_0_1_sim.Rdata"
}
start_up
(
session_path
=
saved_simulation_data
,
use_cores
=
use_cores
)
## load libraries etc
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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