Hope somebody can help with this.
When I run keras library and try to create a model I get the following error:
Output:
> library(keras)
> model <- keras_model_sequential()
+ model %>%
+ layer_dense(units = 15, activation = "tanh", input_shape = ncol(x_train)) %>%
+ layer_dense(units = 10, activation = "tanh") %>%
+ layer_dense(units = 15, activation = "tanh") %>%
+ layer_dense(units = ncol(x_train))
Error: parse error: trailing garbage
zzz\\Documents\\.condarc" } Using Anaconda Cloud api site h
(right here) ------^
>
> summary(model)
Error in summary(model) : object 'model' not found
Not really sure what the error means and can't find any real information on it and how to correct. I think it is; model <- keras_model_sequential() which fails AS it can not find anaconda.
The tutorial I'm following is this: https://blogs.rstudio.com/tensorflow/posts/2018-01-24-keras-fraud-autoencoder/