Skip to content

Commit

Permalink
update use of cores
Browse files Browse the repository at this point in the history
  • Loading branch information
vzhomeexperiments committed Oct 15, 2020
1 parent 6373799 commit 6404ffc
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 24 deletions.
9 changes: 3 additions & 6 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
## Planned Changes

* Add folder generation function
* Remove warnings:

1: `as_data_frame()` is deprecated as of tibble 2.0.0. Please use `as_tibble()` instead.
2: `data_frame()` is deprecated as of tibble 1.1.0. Please use `tibble()` instead.

# lazytrade 0.4.1

Expand All @@ -19,9 +15,10 @@
* added option to balance classes in mt_make_model function
* add and delete depricated functions
* change names of functions to reflect the purpose: mt - market type, rl- reinforcement learning, util - utility
* change example methods to unify them across functions
* align names of the variables across several functions
* remove warnings caused by new dplyr functionalities .groups


* remove tidyr from imports to solve Note

# lazytrade 0.4.0

Expand Down
4 changes: 2 additions & 2 deletions R/aml_make_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
#'
#' # dataset will be written to the temp directory
#'
#' # start h2o engine (using all CPU's by default)
#' h2o.init()
#' # start h2o engine
#' h2o.init(nthreads = 2)
#'
#'
#' # performing Deep Learning Regression using the custom function
Expand Down
2 changes: 1 addition & 1 deletion R/aml_score_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#' path_data = path_data)
#' # start h2o engine (using all CPU's by default)
#'
#' h2o.init()
#' h2o.init(nthreads = 2)
#'
#'
#' # performing Deep Learning Regression using the custom function
Expand Down
4 changes: 2 additions & 2 deletions R/aml_test_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
#' path_data = path_data)
#'
#'
#' # start h2o engine (using all CPU's by default)
#' h2o.init()
#' # start h2o engine
#' h2o.init(nthreads = 2)
#'
#'
#' # performing Deep Learning Regression using the custom function
Expand Down
4 changes: 2 additions & 2 deletions R/mt_make_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
#'
#' Sys.sleep(5)
#'
#' # start h2o engine (using all CPU's by default)
#' h2o.init()
#' # start h2o engine
#' h2o.init(nthreads = 2)
#'
#'
#' # performing Deep Learning Regression using the custom function
Expand Down
4 changes: 2 additions & 2 deletions R/self_learn_ai_R.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
#' library(magrittr)
#' library(h2o)
#' library(lazytrade)
#' # start h2o engine (using all CPU's by default)
#' h2o.init()
#' # start h2o engine
#' h2o.init(nthreads = 2)
#'
#' path_model <- normalizePath(tempdir(),winslash = "/")
#' path_data <- normalizePath(tempdir(),winslash = "/")
Expand Down
4 changes: 2 additions & 2 deletions man/aml_make_model.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/aml_score_data.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/aml_test_model.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/mt_make_model.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/self_learn_ai_R.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6404ffc

Please sign in to comment.