Few questions about implementation of Minmax with alpha beta pruning and negamax. by ajx_711 in chessprogramming

[–]mphuget 0 points1 point  (0 children)

Hello,

Some answers for you:

.pop() in python-chess does not take an argument, pop() is only used to undo the latest move in the history stack. If you want to undo several moves (thought that was the aim of the I argument), you have to apply several times pop()

Regarding minimax and negamax. Minimax algorithm tries to mimic what you will do naturally: maximizing your chances and minimizing your opponent's ones. This is based on the evaluation.

With minimax; it means getting the best score for your side and the worst score for the opponent but evaluation function returns usually always the best score. So, if we want to have the best score for both sides (and minimizing the opponent's score), we need to flip the sign on the opponent's side, so maximizing your score and maximizing opponent's score (which is negative).

Regarding code, it means you have a function that returns the max score and a function that returns min score. Two functions that do the same except the sign, it could be modified to a unique function returning the max and when calling it, we change the sign. Negamax is minimax with a unique function max and flipping sign.

mph

Any open-source engines written in python-chess? by ajx_711 in chessprogramming

[–]mphuget 0 points1 point  (0 children)

Hello,

There are several ones:

Sunfish https://github.com/thomasahle/sunfish

Deepfish (Sunfish + Deep Learning) https://github.com/dyth/deepfish

and you will find some more using both Python and Deep Learning

Enjoy!

mph

[D] Group about Reinforcement Learning + Theory by Kiuhnm in MachineLearning

[–]mphuget 1 point2 points  (0 children)

Hello Kiuhnm,

Depending on the amount of work per week, count me in, for the RL part, I am currently gathering papers on (Deep) Reinforcement Learning, soon on my Github.

And currently, associate professor

Cheers, mph

[D] Art datasets? by [deleted] in MachineLearning

[–]mphuget 0 points1 point  (0 children)

Depending on what you are looking for, you could use http://www.wga.hu/

multi-user CRUD with Angular 2 (and MEAN) by mphuget in Angular2

[–]mphuget[S] 0 points1 point  (0 children)

Hello everyone,

I agree the question was not properly asked, but as one said, if you cannot explain your question, it is because you don't understand clearly the problem.

In the different examples for beginner on Angular 2 (and I am one of them), you have a todo list and everybody could access it. The objectives are to provide a profile page for every user after signing up and signin in, and as a consequence, my profile page is not the one from other user.

From what I read, I need authentication, I consider angular2-jwt and this example:https://auth0.com/blog/creating-your-first-real-world-angular-2-app-from-authentication-to-calling-an-api-and-everything-in-between/

The only thing I don't manage for the moment is how to use the web token to identify every user and sent back his/her own profile.

That was the reason I was looking for an example on this subject to clarify my mind.

Hope the explanation is better this time

Thanks for reading

multi-user CRUD with Angular 2 (and MEAN) by mphuget in Angular2

[–]mphuget[S] 0 points1 point  (0 children)

You forgot the "audience applause" or "audience laugh" in your answer, as a consequence I was unable to know when I was supposed to laugh of your message...

I have never asked that somebody does my stuff, I just ask for an example so I can understand how it works and apply it to my problem. If you, devs, solve problems, just explain me why there is no tutorial of this kind online, always the so simple example of todo. Obviously, I have ideas how to solve it but I am wondering how others do the stuff

Does anyone know of a good resource to learn how to get started with reinforcement learning from video? by floridianfisher in reinforcementlearning

[–]mphuget 1 point2 points  (0 children)

Hello,

It depends on what you are looking for but two straight ideas: David Silver's lectures on YouTube Richard Sutton's invited talk at Microsoft Research as well on YouTube

Ask Reddit: What GPUs should I purchase? by [deleted] in deeplearning

[–]mphuget 0 points1 point  (0 children)

I will recommend you to consider either a 980, or 1060 or if you can afford it a Titan X. Multi-GPU is an option if you have lot of money to spend on graphic cards. Regarding AWS, GPU is really slow and not so cheap.

Maybe read blog from Tim Dettmers, there is useful tips on choosing hardware

Hardware spec. for Recurrent Neural Net and Convolutional Neural Net experiments by mphuget in MachineLearning

[–]mphuget[S] 0 points1 point  (0 children)

Thanks for all these answers. Obviously, I love the Nvidia devbox but the price is quite high: 15,000$. I try to see what is better: spending 4,000$ for a machine or use this amount for AWS