Chessbase Mating Pattern Statistics

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

User avatar
AdminX
Posts: 6340
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Chessbase Mating Pattern Statistics

Post by AdminX »

In Chessbase, is there a way to find statistics on how often a certain mating pattern occurs? Example see the image below.

Image
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
User avatar
Nordlandia
Posts: 2821
Joined: Fri Sep 25, 2015 9:38 pm
Location: Sortland, Norway

Re: Chessbase Mating Pattern Statistics

Post by Nordlandia »

Yes, is it possible.

I found 7 games which led to victory.

[pgn][Event "Hamburg-ch MA"]
[Site "Hamburg"]
[Date "2012.05.28"]
[Round "3"]
[White "Schulz, Hans Juergen"]
[Black "Weiss, Siegfried"]
[Result "1-0"]
[ECO "A85"]
[WhiteElo "2028"]
[BlackElo "2089"]
[SetUp "1"]
[FEN "r1b2r1k/ppp4B/8/2q1ppN1/1n6/6P1/PP2Q2P/1K1R3R w - - 0 28"]
[PlyCount "5"]
[EventDate "2012.05.26"]
[EventType "swiss"]
[EventRounds "9"]
[EventCountry "GER"]
[SourceTitle "CBM 148 Extra"]
[Source "ChessBase"]
[SourceDate "2012.06.22"]

28. Qh5 Kg7 29. Qg6+ Kh8 30. Nf7+ 1-0



[/pgn]

Recipe:

File - Open Database (Mega Database 2016) - ctrl + a (select all games) - right click - edit - filter games - Position fan - additional game data fan if necessary.
kasinp
Posts: 251
Joined: Sat Dec 02, 2006 10:47 pm
Location: Toronto
Full name: Peter Kasinski

Re: Chessbase Mating Pattern Statistics

Post by kasinp »

Yes, you can do it. I used CB12 to search for the exact pattern you gave and the result (Big Database 2015) is exactly one game, with black mating white.
Note that I have asked for "mirrors" to be included.

[Event "Wuerttemberg-ch U14 Girls"]
[Site "Stuttgart"]
[Date "2001.??.??"]
[Round "7"]
[White "Hertkorn, Monika"]
[Black "Zach, Cora"]
[Result "0-1"]
[ECO "C20"]
[PlyCount "72"]
[EventDate "2001.??.??"]
[EventType "swiss"]
[EventRounds "7"]
[EventCountry "GER"]
[SourceTitle "EXT 2003"]
[Source "ChessBase"]
[SourceDate "2002.11.25"]

1. e4 e5 2. Qh5 Nf6 3. Qxe5+ Be7 4. d3 d6 5. Qb5+ Bd7 6. Qc4 h6 7. d4 Nxe4 8. Bd3 Nf6 9. Be2 d5 10. Qd3 O-O 11. c4 dxc4 12. Qxc4 Nc6 13. Bd1 b5 14. Qc2 Nxd4 15. Qd3 Bc6 16. Qg3 Bd6 17. Qh3 Re8+ 18. Be3 Ne4 19. Bxd4 Ng5+ 20. Qe3 Rxe3+ 21. fxe3 Bxg2 22. Be2 Bxh1 23. Nc3 Bxh2 24. Nf3 Nxf3+ 25. Kf2 Qh4+ 26. Kf1 Bg2+ 27. Kxg2 Qg3+ 28. Kh1 Ng1 29. e4 Nh3 30. Bxb5 Rd8 31. Ne2 Nf2+ 32. Bxf2 Qxf2 33. Rg1 Bxg1 34. Nxg1 Rd1 35. Bf1 Rxf1 36. a4 Rxg1# 0-1

PK
kasinp
Posts: 251
Joined: Sat Dec 02, 2006 10:47 pm
Location: Toronto
Full name: Peter Kasinski

Re: Chessbase Mating Pattern Statistics

Post by kasinp »

In searching for the pattern you can ask for the empty squares to be empty (which is what I did), or you can allow them to be occupied by whatever pieces.
PK
User avatar
AdminX
Posts: 6340
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Chessbase Mating Pattern Statistics

Post by AdminX »

Nordlandia wrote:Yes, is it possible.

I found 7 games which led to victory.

[pgn][Event "Hamburg-ch MA"]
[Site "Hamburg"]
[Date "2012.05.28"]
[Round "3"]
[White "Schulz, Hans Juergen"]
[Black "Weiss, Siegfried"]
[Result "1-0"]
[ECO "A85"]
[WhiteElo "2028"]
[BlackElo "2089"]
[SetUp "1"]
[FEN "r1b2r1k/ppp4B/8/2q1ppN1/1n6/6P1/PP2Q2P/1K1R3R w - - 0 28"]
[PlyCount "5"]
[EventDate "2012.05.26"]
[EventType "swiss"]
[EventRounds "9"]
[EventCountry "GER"]
[SourceTitle "CBM 148 Extra"]
[Source "ChessBase"]
[SourceDate "2012.06.22"]

28. Qh5 Kg7 29. Qg6+ Kh8 30. Nf7+ 1-0



[/pgn]

Recipe:

File - Open Database (Mega Database 2016) - ctrl + a (select all games) - right click - edit - filter games - Position fan - additional game data fan if necessary.


Thanks but I was wanting to know the percentage of how many times this mate occurs without having to work out the math. The filter gives me the position, but it is not always mate.
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
Norm Pollock
Posts: 1056
Joined: Thu Mar 09, 2006 4:15 pm
Location: Long Island, NY, USA

Re: Chessbase Mating Pattern Statistics

Post by Norm Pollock »

I would like to see a classification system for all the different "types" of checkmates, and stalemates. Similar to the classification for openings.

There are several obvious obstacles. First, each "checkmate" can occur with colors reversed, and in many different locations. For example, the original example must take place in a corner. With 4 corners times 2 for reversed colors, gives a multiplicity of 8. Another example, a KRk could occur on 30 squares, giving a multiplicity of 60 with reversed colors. To make things simple, all instances of the same mate would have the same classification.

The second obvious obstacle is that many mates are based on the mated side being restricted by its own pieces. For example, a KNkn mate is possible when one's own knight prevents the king from escaping. Because there are so many ways one's own pieces could help the opposition, these types of mates would have to be analyzed very carefully to see which of one's own pieces could be assisting the mate.

Be nice if someone could work this out. I could be of some help to anyone interested in doing the heavy lifting.
Norm Pollock
Posts: 1056
Joined: Thu Mar 09, 2006 4:15 pm
Location: Long Island, NY, USA

Re: Chessbase Mating Pattern Statistics

Post by Norm Pollock »

Addendum: The original mating example also has a symmetry factor. So its multiplicity should be 120.