An open API service indexing awesome lists of open source software.

https://github.com/ellisvalentiner/deepoperators

Deeply Learned Boolean Operators
https://github.com/ellisvalentiner/deepoperators

deep-learning hacktoberfest operators r

Last synced: 5 months ago
JSON representation

Deeply Learned Boolean Operators

Awesome Lists containing this project

README

          

---
output: github_document
---

```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# DeepOperators

[![Travis build status](https://travis-ci.org/ellisvalentiner/DeepOperators.svg?branch=master)](https://travis-ci.org/ellisvalentiner/DeepOperators)
[![Coverage status](https://codecov.io/gh/ellisvalentiner/DeepOperators/branch/master/graph/badge.svg)](https://codecov.io/github/ellisvalentiner/DeepOperators?branch=master)

The goal of DeepOperators is to provide pre-trained deeply learned boolean operators.

The `%&%` and `%|%` operators turn plain old business logic into "deep learning", "machine learning", and "AI" problems. Because business folk sometimes dictate how problems are solved, DeepOperators enables the ~~programmer~~ Data Scientist to use "deep learning" when it is required but it would otherwise be more practical to use built-in logical operators.

## Installation

You can install the development version of DeepOperators from GitHub with:

``` r
# install.packages("remotes")
remotes::install_github("ellisvalentiner/DeepOperators")
```

## Example

This is a basic example of the DeepOperator functions:

```{r}
library(DeepOperators)

# using the deep AND operator, %&%
TRUE %&% FALSE
TRUE %&% TRUE

# using the deep OR operator, %|%
TRUE %|% FALSE
FALSE %|% FALSE
```

Additionally DeepOperator provides function to automatically re-train the deep operators.

```{r, eval=FALSE}
train_deep_or()
train_deep_and()
```

## Provenance

This package was inspired by [Fizz Buzz in Tensorflow](http://joelgrus.com/2016/05/23/fizz-buzz-in-tensorflow/).