I'm trying to implement a genetic algorithm using roulette wheel selection, and I'm wondering - what happens if when we are trying to breed a child, the same parent is selected? Do we still do crossover since the resulting child will be the s...
I'm working with a quiz chatbot,  first it will ask user for his name, roll number and passcode, then start asking quiz questions one by one  problem is when i'm doing context out from webhook with some parameters, what i want to set is quest...
I really need help implementing a continuous tanh-sigmoid activation function in a very basic neural network. If you could give a basic example that would be great, but if you could change it in my source code I would be extremely grateful! Also, wha...
I asked a question some time ago about how to make the AI chase the food in my Agar.io clone, which I eventually figured out myself, but now I can't figure out how to make it go after the food closest to it. I tried, by creating two arrays with t...
I have a tic-tac-toe game built with JavaScript. I've written the logic for the computer AI part in a function. I'm wanting to call the function on the upper part of my code but it's not working. Does anyone have any suggestions of how to...
I'm making a bot for a project called Ogar, an Agar.io server implementation written in Node.js.  This bot has an obstacle, a green spiky cell called a virus (see illustration). I need to program this bot to avoid that obstacle, but I'm with...
I'm learning Watson AI / Assistant for my company since we intend to pitch it to clients (we're a web dev firm). I got into the assistant and am teaching myself it by designing a text adventure game. In this game, Watson is leading you throug...
I am trying to implement a simple Pong Q-Network in JS using p5 and tfjs. To train the network, I first created a custom loss function where I passed a label tensor only containing the labels for the actions a_t     TFjs didn't really seemed to l...
I wrote an Expectimax solver for 2048 using the heuristics noted on the top ranking SO post "Optimal AI for 2048".  However, my expectimax algorithm performs maximization correctly but when it hits the expectation loop where it should be simu...
Summary: deep-learning networks return undefined for output when activated  I've been working with synaptic.js to make neural-networks in the browser for a while and I've decided I want to implemented deep-learning for a project I'm worki...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.