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
a8bd1388
Commit
a8bd1388
authored
Aug 29, 2018
by
Marco De Lucia
Browse files
demo-eq-surr-RF: commented out saving of the serialized model
parent
6508ec1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
demo/demo-eq-surr-RF.R
View file @
a8bd1388
### Licence: LGPL version 2.1
### Licence: LGPL version 2.1
## Time-stamp: "Last modified 2018-0
5-06 20:05:39
delucia"
## Time-stamp: "Last modified 2018-0
8-29 15:15:50
delucia"
db
<-
RPhreeFile
(
system.file
(
"extdata"
,
"phreeqc_kin.dat"
,
package
=
"RedModRphree"
),
is.db
=
TRUE
)
db
<-
RPhreeFile
(
system.file
(
"extdata"
,
"phreeqc_kin.dat"
,
package
=
"RedModRphree"
),
is.db
=
TRUE
)
phreeqc
::
phrLoadDatabaseString
(
db
)
phreeqc
::
phrLoadDatabaseString
(
db
)
...
@@ -117,7 +117,7 @@ names(mods) <- colnames(sam$result)
...
@@ -117,7 +117,7 @@ names(mods) <- colnames(sam$result)
## })
## })
PlotModsInSample
(
mods
,
sam
$
result
,
sam
$
design
)
PlotModsInSample
(
mods
,
sam
$
result
,
sam
$
design
)
saveRDS
(
mods
,
"models_equilibrium_RF.rds"
)
##
saveRDS(mods, "models_equilibrium_RF.rds")
## fitControl2 <- trainControl(method = "none",
## fitControl2 <- trainControl(method = "none",
## allowParallel = TRUE,
## allowParallel = TRUE,
...
...
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