Skip to main content

Questions tagged [javascript]

For questions about implementation of AI/Ml programs in the javascript programming language.

Filter by
Sorted by
Tagged with
0 votes
1 answer
174 views

Why is my agent stuck on the same action in my Twin Delayed Deep Deterministic Policy Gradient (TD3) program?

I've been tirelessly converting a reinforcement learning program from Python to JavaScript using TensorFlow.js that is running Twin Delayed Deep Deterministic Policy Gradient (TD3). I'm just trying to ...
CloudZero's user avatar
0 votes
1 answer
414 views

MCTS: How to select children when none of them are visited?

I am trying to implement MCTS for a custom word game I am working on. I feel like I have got all the pieces of code needed, but the algorithm seems to always return the first available move (first ...
nikord's user avatar
  • 1
-1 votes
2 answers
212 views

How do I generate video classification labels using video descriptions/titles?

I've been scanning the internet for ways to generate baseball-based labels for youtube baseball videos using text collected from a YT video's description, title, and top 50 titles, but so far, I have ...
Ian Steffy's user avatar
4 votes
2 answers
3k views

Why does the bias need to be a vector in a neural network?

I am learning to use tensorflow.js. I am also using the tfvis library to print information about the neural net to the web browser. When I create a create a dense neural net with a layer with 5 ...
MrMultiMediator's user avatar
1 vote
1 answer
602 views

How do I normalise/un-normalise data when loading a model?

I am following this TensorFlow JS tutorial where you load car data. The data looks like this: [{x:100, y:20}, {x:80, y:33}] X is the horsepower of a car, Y is ...
Kokodoko's user avatar
  • 167
5 votes
1 answer
804 views

How can I apply reinforcement learning to solve this asteroid game?

Introduction An attractive asteroid game was described in the paper Learning Policies for Embodied Virtual Agents through Demonstration (2017, Jonathan Dinerstein et al.): In our first experiment, ...
GIA's user avatar
  • 568
2 votes
1 answer
345 views

How to use Machine Learning with simple games?

I built a simple HTML game. In this game the goal is to click when the blue ball is above the red ball. If you hit, you get 1 point, if you miss, you lose 1 point. With each hit, the blue ball moves ...
GIA's user avatar
  • 568
5 votes
3 answers
1k views

Is it possible to write an adaptive parser?

I am working on a js library which focuses on error handling. A part of the lib is a stack parser which I'd like to work in most of the environments. The hard part that there is no standard way to ...
inf3rno's user avatar
  • 159
5 votes
2 answers
2k views

Is there any way to draw a neural network's connections in a nice way? [closed]

I've been working with neural networks and artificial intelligence for a while. What I'm trying to do right now is, from a genotype I have (a sum of sensors, neurons and actuators) draw how the neural ...
MiGu3X's user avatar
  • 53