Skip to content

thachp/demos

 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 50.4%
  • TypeScript 27.7%
  • HTML 20.5%
  • CSS 1.4%