All Projects → rajshah4 → Tensorflow_shiny

rajshah4 / Tensorflow_shiny

A R/Shiny app for interactive RNN tensorflow models

Projects that are alternatives of or similar to Tensorflow shiny

Code
Compilation of R and Python programming codes on the Data Professor YouTube channel.
Stars: ✭ 287 (+143.22%)
Mutual labels:  jupyter-notebook, shiny
Tf Dann
Domain-Adversarial Neural Network in Tensorflow
Stars: ✭ 556 (+371.19%)
Mutual labels:  jupyter-notebook, tensorflow-models
Cartola
Extração de dados da API do CartolaFC, análise exploratória dos dados e modelos preditivos em R e Python - 2014-20. [EN] Data munging, analysis and modeling of CartolaFC - the most popular fantasy football game in Brazil and maybe in the world. Data cover years 2014-19.
Stars: ✭ 304 (+157.63%)
Mutual labels:  jupyter-notebook, shiny
Boltzmann Machines
Boltzmann Machines in TensorFlow with examples
Stars: ✭ 768 (+550.85%)
Mutual labels:  jupyter-notebook, tensorflow-models
Generative Adversarial Networks
Introduction to generative adversarial networks, with code to accompany the O'Reilly tutorial on GANs
Stars: ✭ 505 (+327.97%)
Mutual labels:  jupyter-notebook, tensorflow-models
Multimodal Short Video Dataset And Baseline Classification Model
500,000 multimodal short video data and baseline models. 50万条多模态短视频数据集和基线模型(TensorFlow2.0)。
Stars: ✭ 60 (-49.15%)
Mutual labels:  jupyter-notebook, tensorflow-models
Synapse
Samples for Azure Synapse Analytics
Stars: ✭ 115 (-2.54%)
Mutual labels:  jupyter-notebook
Pandas
pandas cheetsheet
Stars: ✭ 118 (+0%)
Mutual labels:  jupyter-notebook
Pygame
Games that i did using pygame library
Stars: ✭ 118 (+0%)
Mutual labels:  jupyter-notebook
Julia 100 Exercises
julia version of 100 numpy exercises
Stars: ✭ 117 (-0.85%)
Mutual labels:  jupyter-notebook
Planet Amazon Deforestation
The open source repository for the Kaggle Amazon forest devastation competition https://www.kaggle.com/c/planet-understanding-the-amazon-from-space
Stars: ✭ 118 (+0%)
Mutual labels:  jupyter-notebook
Pytextrank
Python implementation of TextRank for phrase extraction and summarization of text documents
Stars: ✭ 1,675 (+1319.49%)
Mutual labels:  jupyter-notebook
Amazonsagemakercourse
SageMaker Course Material
Stars: ✭ 118 (+0%)
Mutual labels:  jupyter-notebook
Fusion360gallerydataset
Data, tools, and documentation of the Fusion 360 Gallery Dataset
Stars: ✭ 118 (+0%)
Mutual labels:  jupyter-notebook
Bitcoin Price Prediction Using Sentiment Analysis
Predicts real-time bitcoin price using twitter and reddit sentiment, and sends out notifications via SMS.
Stars: ✭ 118 (+0%)
Mutual labels:  jupyter-notebook
Machinelearninginjulia2020
Resources for a 3.5 hour workshop on machine learning using the MLJ toolbox
Stars: ✭ 118 (+0%)
Mutual labels:  jupyter-notebook
Statistical Learning Method
《统计学习方法》笔记-基于Python算法实现
Stars: ✭ 1,643 (+1292.37%)
Mutual labels:  jupyter-notebook
My Little Crony
A visualization of the connections between Tory politicians and companies being awarded government contracts during the pandemic.
Stars: ✭ 118 (+0%)
Mutual labels:  shiny
Adaptiveneuraltrees
Adaptive Neural Trees
Stars: ✭ 119 (+0.85%)
Mutual labels:  jupyter-notebook
Reinforcementlearning Atarigame
Pytorch LSTM RNN for reinforcement learning to play Atari games from OpenAI Universe. We also use Google Deep Mind's Asynchronous Advantage Actor-Critic (A3C) Algorithm. This is much superior and efficient than DQN and obsoletes it. Can play on many games
Stars: ✭ 118 (+0%)
Mutual labels:  jupyter-notebook

Shiny front end for Tensorflow demo

This repo shows how shiny can be a GUI front end for tensorflow. The shiny app allows trying different inputs, RNN cell types, and even optimizers. The results are shown with plots as well as a link to tensorboard. The app allows anyone to try out these models with a variety of modelling options. More background can be found at my blog.

The code for the shiny web app was based around work by Sachin Jogleka. Sachin focused on RNNs that had two numeric inputs. (This is slightly different than most RNN examples which focus on language models.)

Sachin’s code was modified to allow different cell types and reworked so it could be called from rPython. The shiny web app relies on rPython to run the tensorflow models. There is also an iPython notebook in the repository if you would like to test this outside of shiny.

shiny_tensor

Live Demo:

I have a live demo of this app, but it's flaky. Building RNN models is computationally intensive and the shiny front end is intended to be used on development boxes with tensorflow. My live demo app is limited in several ways. First, the server lacks the horsepower to build models quickly. Second, if the instructions below are not carefully followed the app will crash. Third, its not designed for multiple people building different types of models at the same time. Finally, tensorboard application sometimes stops running, so the link to tensorboard within the live demo app may not work. Again, to really use this app, please install it locally.

The requirements for the app include tensorflow and numpy on the Python side. Shiny, Metrics, plotly, and rPython on the R side. rPython can be difficult to install/configure, so please verify that rPython is working correctly if you are having problems running the code.

Using the App:

To use the app, select your model options. For the inputs, there are three options of increasing complexity. Steps for prediction window refers to how far ahead is the model suppose to predict. For this data, 20s seemed a reasonable window. For Cell Type, select one of the cell types and press Initialize Model. Then select iterations (max of 10,000) and press Train. After a few seconds, you will see the output.

Take advantage of the plots to zoom in and out and see the shape of the actual and predicted outputs. To further improve the model, you can add iterations by pressing the train button. The plots show how the RNN model is learning and getting better at predicting the output.

To try a new model, select a new cell type and press initialize model. Then select the number of iterations and press train.

If the app crashes, no worries, it happens. I have not accounted for everything that could go wrong.

Update October 2015

With the release Tensorflow for R, I don't plan on further updating this project. Ideally, I should be able to recreate this in Tensorflow for R.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].