Posts

Showing posts from April 17, 2019

Reduce weights for wrongly predicted class

Image
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box; } 1 I'm currently working on a simple prediction system, where the user is asked a series of yes/no questions and based on their responses, a pre-trained model (MLPClassifier) predicted a class and asks the user whether or not the prediction was right. I'm not sure if this is possible, but I was hoping to then alter the weights of the pre-trained model (in sort of an online-learning fashion) so that the network (in that session) doesn't predict the same class later. Currently, I'm just adding the bad responses to a dictionary and if the network predicts the class already in the black-listed set of classes it is ignored

React app wont allow PHP after switching index to a PHP file

Image
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box; } 0 I've been coding in PHP for a few years and feel that ill be able to provide a more secure login and registration with that rather then in Reactjs. I followed the answer from this post to switch my index.html to index.php. Hosting the file works fine, but whenever I try to use PHP tags it gets commented out or printed directly as text. Any solution to this? php reactjs share | improve this question asked Nov 16 '18 at 22:00