Skip to content

jinglescode/demos

Repository files navigation

JavaScript Exhibits

Here are the list of JavaScript projects in this repo. I work on them during my free time. If you are interested to collaborate on working a cool JavaScript side project together, reach out to me, I will be happy to chat!

Time Series Forecasting With TensorFlow.Js

Pull stock prices from online API and perform predictions using Recurrent Neural Network and Long Short-Term Memory (LSTM) with TensorFlow.js framework.

Demo | Code | Read article on Medium:Towards Data Science

Reinforcement Learning Value Function with Tic Tac Toe

Reinforcement learning algorithm for agents to learn the tic-tac-toe, using the value function. Train the agent to play tic-tac-toe, by having 2 agents play against each other through simulation. You can experiment by adjusting 2 parameters, 1) learning rate and 2) probability of exploration of each agent. After training, try playing against the agent.

Demo | Code | Read article on Medium:Towards Data Science

Phrases Extraction And D3 Wordcloud

100% JavaScript solution to extracting ngrams from text and display high frequency in beautiful D3 wordcloud. Phrases (ngrams) extraction are done inside d3-wordcloud-phrases.js, there are a few params which you could tweak and edit stopwords list. Adjustments to wordcloud can be found in d3-wordcloud-wordcloud.js.

Demo | Code

Features

  • packages are shared among all the exhibits, reduces setup time and we can focus on building JavaScript projects
  • each project are separated as different app/components, this is neat

Install

With npm installed, run

$ npm install 

That will install all the dependencies listed in package.json.

Usage

Simply run

$ npm start 

This project is build on Angular, styles are based on Material

Releases

No releases published

Packages

No packages published