Skip to content

Commit

Permalink
update tf eagerness in R package
Browse files Browse the repository at this point in the history
  • Loading branch information
idroz committed Oct 3, 2019
1 parent a2d6708 commit 0bd38cb
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
2 changes: 1 addition & 1 deletion R-package/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ivis
Title: Artificial neural network-driven visualization of high-dimensional data using triplets.
Version: 1.5.2
Version: 1.5.3
Authors@R: c(person("Benjamin", "Szubert", email = "[email protected]", role = c("aut", "cre")),
person("Ignat", "Drozdov", email = "[email protected]", role = c("aut")),
person("Kevin", "Rue-Albrecht", role = "ctb", email = "[email protected]", comment = c(ORCID = "0000-0003-3899-3872")))
Expand Down
4 changes: 4 additions & 0 deletions R-package/R/ivis.R
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
#' be used. Otherwise, a new index will be generated and
#' saved to disk in the current directory as
#' 'annoy.index'.
#' @param eager_execution: Whether to use eager execution with TensorFlow.
# Disabled by default, as training is much faster with this option off.
#' @param verbose: Controls the volume of logging output the model
#' produces when training. When set to 0, silences
#' outputs, when above 0 will print outputs.
Expand All @@ -74,6 +76,7 @@ ivis <- function(embedding_dims = 2L,
model = "default",
supervision_metric = "sparse_categorical_crossentropy",
supervision_weight = 0.5,
eager_execution = FALSE,
annoy_index_path=NULL, verbose=1L){


Expand All @@ -97,6 +100,7 @@ ivis <- function(embedding_dims = 2L,
supervision_metric=supervision_metric,
supervision_weight=supervision_weight,
annoy_index_path=annoy_index_path,
eager_execution=eager_execution,
verbose=verbose)

return(model)
Expand Down
14 changes: 12 additions & 2 deletions R-package/man/ivis.Rd

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

2 changes: 1 addition & 1 deletion ivis/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = '1.5.2'
VERSION = '1.5.3'

0 comments on commit 0bd38cb

Please sign in to comment.