Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: arxiv.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (18.8%) to scientific vocabulary
Keywords
autoencoders
deep-learning
deep-neural-networks
r
unsupervised-learning
Last synced: 6 months ago
·
JSON representation
Repository
Unsupervised Deep Architechtures in R
Basic Info
- Host: GitHub
- Owner: fdavidcl
- License: gpl-3.0
- Language: R
- Default Branch: master
- Homepage: https://deivi.ch/ruta
- Size: 15 MB
Statistics
- Stars: 37
- Watchers: 6
- Forks: 5
- Open Issues: 22
- Releases: 0
Topics
autoencoders
deep-learning
deep-neural-networks
r
unsupervised-learning
Created over 9 years ago
· Last pushed over 2 years ago
Metadata Files
Readme
License
README.Rmd
# Ruta## How to install In order to develop Ruta models, you will need to install its dependencies first and then get the package from CRAN. ### Dependencies Ruta is based in the well known open source deep learning library [Keras](https://keras.io) and its [R interface](https://cran.r-project.org/package=keras), which is integrated in [Tensorflow](https://www.tensorflow.org/). In order to install them easily, you can use the [`keras::install_keras()`](https://tensorflow.rstudio.com/reference/keras/install_keras) function. Depending on whether you want to use the system installation, a Conda environment or a Virtualenv, you may need to call [`use_condaenv()` or `use_virtualenv()` from `reticulate`](https://rstudio.github.io/reticulate/articles/versions.html). Another straightforward way to install these dependencies is to use global system-wide (`sudo pip install`) or user-wide (`pip install --user`) installation with `pip`. This is generally not recommended unless you are sure you will not need alternative versions or clash with other packages. The following shell command would install all libraries expected by Keras: ```sh $ pip install --user tensorflow tensorflow-hub tensorflow-datasets scipy requests pyyaml Pillow h5py pandas pydot ``` Otherwise, you can follow the official installation guides: - [Installing TensorFlow](https://www.tensorflow.org/install/) Check whether Keras is accesible from R by running: ```r keras::is_keras_available() # should return TRUE ``` ### Ruta package From an R interpreter such as the R REPL or the RStudio console, run one of the following commands to get the Ruta package: ```r # Just get Ruta from the CRAN install.packages("ruta") # Or get the latest development version from GitHub devtools::install_github("fdavidcl/ruta") ``` All R dependencies will be automatically installed. These include the Keras R interface and [`purrr`](https://purrr.tidyverse.org/). ## First steps The easiest way to start working with Ruta is to use the `autoencode()` function. It allows for selecting a type of autoencoder and transforming the feature space of a data set onto another one with some desirable properties depending on the chosen type. ```r iris[, 1:4] |> as.matrix() |> autoencode(2, type = "denoising") ``` You can learn more about different variants of autoencoders by reading [*A practical tutorial on autoencoders for nonlinear feature fusion*](https://arxiv.org/abs/1801.01586). Ruta provides the functionality to build diverse neural architectures (see `autoencoder()`), train them as autoencoders (see `train()`) and perform different tasks with the resulting models (see `reconstruct()`), including evaluation (see `evaluate_mean_squared_error()`). The following is a basic example of a natural pipeline with an autoencoder: ```r library(ruta) # Shuffle and normalize dataset x <- iris[, 1:4] |> sample() |> as.matrix() |> scale() x_train <- x[1:100, ] x_test <- x[101:150, ] autoencoder( input() + dense(256) + dense(36, "tanh") + dense(256) + output("sigmoid"), loss = "mean_squared_error" ) |> make_contractive(weight = 1e-4) |> train(x_train, epochs = 40) |> evaluate_mean_squared_error(x_test) ``` For more details, see [other examples](https://ruta.software/articles/examples/) and [the documentation](https://ruta.software/reference/).Software for unsupervised deep architectures [](https://www.r-project.org/) [](https://cranlogs.r-pkg.org/downloads/total/last-month/ruta) [](https://travis-ci.org/fdavidcl/ruta) [](https://www.gnu.org/licenses/gpl.html) --- Get uncomplicated access to unsupervised deep neural networks, from building their architecture to their training and evaluation [[]{.fa .fa-code} Get started](/articles/examples/autoencoder_basic.html){.btn .btn-primary}
Owner
- Name: David Charte
- Login: fdavidcl
- Kind: user
- Location: Granada, Spain
- Website: https://deivi.ch
- Repositories: 41
- Profile: https://github.com/fdavidcl
GitHub Events
Total
Last Year
Committers
Last synced: almost 3 years ago
All Time
- Total Commits: 252
- Total Committers: 3
- Avg Commits per committer: 84.0
- Development Distribution Score (DDS): 0.012
Top Committers
| Name | Commits | |
|---|---|---|
| David Charte | f****l@p****m | 249 |
| Hadley Wickham | h****m@g****m | 2 |
| Francisco Charte Ojeda | f****e@u****m | 1 |
Issues and Pull Requests
Last synced: over 2 years ago
All Time
- Total issues: 40
- Total pull requests: 6
- Average time to close issues: 27 days
- Average time to close pull requests: about 11 hours
- Total issue authors: 4
- Total pull request authors: 2
- Average comments per issue: 0.35
- Average comments per pull request: 0.33
- Merged pull requests: 6
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: about 19 hours
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 2.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- fdavidcl (36)
- systats (2)
- seonghobae (1)
- harikiyer (1)
Pull Request Authors
- fdavidcl (5)
- hadley (1)
Top Labels
Issue Labels
enhancement (9)
bug (8)
models (4)
question (1)
wontfix (1)
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 137 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 3
- Total maintainers: 1
cran.r-project.org: ruta
Implementation of Unsupervised Neural Architectures
- Homepage: https://github.com/fdavidcl/ruta
- Documentation: http://cran.r-project.org/web/packages/ruta/ruta.pdf
- License: GPL (≥ 3) | file LICENSE
- Status: removed
-
Latest release: 1.2.0
published about 3 years ago
Rankings
Stargazers count: 8.2%
Forks count: 10.8%
Dependent repos count: 24.2%
Average: 28.9%
Dependent packages count: 29.0%
Downloads: 72.0%
Maintainers (1)
Last synced:
over 2 years ago
Dependencies
DESCRIPTION
cran
- R >= 3.2 depends
- R.utils >= 2.7.0 imports
- graphics >= 3.2.3 imports
- keras >= 2.2.4 imports
- purrr >= 0.2.4 imports
- stats >= 3.2.3 imports
- utils * imports
- knitr * suggests
- magrittr >= 1.5 suggests
- rmarkdown * suggests
- testthat >= 2.0.0 suggests
Software for unsupervised deep architectures
[](https://www.r-project.org/)
[](https://cranlogs.r-pkg.org/downloads/total/last-month/ruta)
[](https://travis-ci.org/fdavidcl/ruta)
[](https://www.gnu.org/licenses/gpl.html)
---
Get uncomplicated access to unsupervised deep neural networks, from building their architecture to their training and evaluation
[[]{.fa .fa-code} Get started](/articles/examples/autoencoder_basic.html){.btn .btn-primary}