I'm currently trying to determine if a player on average plays more aggressive or defensive games. To do this I wanted to look at a game from that player, then average the amount of aggressive moves vs defensive moves. But the real issue is identifying if a move is aggressive or defensive.
I am looking for a method to determine if it's aggressive or defensive using a Machine learning/AI type algorithm, rather then having a bunch of if-else statements. I've seen this other question regarding this topic. In an answer to that question, user @HelloWorld recommended to use something called the "Monte-carlo tree search". I've done some basic research of the search, and I don't understand what they mean by "margin error". Can someone explain what that means and how it ties to this topic?
Also if you have any other algorithms to determine if a move is passive or aggressive, I'd love to hear it.