Positional Strength/Most Controlled territory

Discussion of chess software programming and technical issues.

Moderator: Ras

Dann Corbit
Posts: 12792
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Positional Strength/Most Controlled territory

Post by Dann Corbit »

Besides dividing by chessmen, I think it would also be interesting to divide by color.

And, having divided by color, I think it would be interesting to divide again by long and short castle for the opponent.

It seems that the variations could be endless. What a fabulous idea to study this!
User avatar
jshriver
Posts: 1360
Joined: Wed Mar 08, 2006 9:41 pm
Location: Morgantown, WV, USA

Re: Positional Strength/Most Controlled territory

Post by jshriver »

Dann Corbit wrote:
+1 for Miguel's suggestion about exploring divided out by chessman.

I think you will probably have to share the script or the requests will be far more than you can ever process. But even if you don't I suspect that an hour of code will make a clever count routine (but the pretty colors will take someone who likes to do GUI stuff -- personally I hate to write that stuff but I love to use it).
Well it's available for people to use. I didn't put a file limit, but prefer if people didn't try putting 1gig+ images up there as it's a shared system.

However 10meg or less should be fairly quick to process. So check it out for yourself. It's automated.
User avatar
jshriver
Posts: 1360
Joined: Wed Mar 08, 2006 9:41 pm
Location: Morgantown, WV, USA

Re: Positional Strength/Most Controlled territory

Post by jshriver »

Actually I see someone tried to upload a 300+ meg file (which is fine) and exposed an error. Looks like php is configured to have a 8meg POST content cap not my program itself. So files have to be 8megs or smaller.
Sorry about, unfortunately since it's a shared system I doubt I can get the provider to change it.
User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Re: Positional Strength/Most Controlled territory

Post by michiguel »

jshriver wrote:Actually I see someone tried to upload a 300+ meg file (which is fine) and exposed an error. Looks like php is configured to have a 8meg POST content cap not my program itself. So files have to be 8megs or smaller.
Sorry about, unfortunately since it's a shared system I doubt I can get the provider to change it.
Sorry Josh, it was me :oops:

I just selected a random pgn and I clicked a heavy one. I interrupted it when I saw that it was taking too long.

Miguel
Dann Corbit
Posts: 12792
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Positional Strength/Most Controlled territory

Post by Dann Corbit »

michiguel wrote:
jshriver wrote:Actually I see someone tried to upload a 300+ meg file (which is fine) and exposed an error. Looks like php is configured to have a 8meg POST content cap not my program itself. So files have to be 8megs or smaller.
Sorry about, unfortunately since it's a shared system I doubt I can get the provider to change it.
Sorry Josh, it was me :oops:

I just selected a random pgn and I clicked a heavy one. I interrupted it when I saw that it was taking too long.

Miguel
Good thing I got the defect report before I submitted 3.4 GB.
;-)
User avatar
jshriver
Posts: 1360
Joined: Wed Mar 08, 2006 9:41 pm
Location: Morgantown, WV, USA

Re: Positional Strength/Most Controlled territory (WOW)

Post by jshriver »

I was able to do those runs as you requested but the images all look fairly the same. I'm going to redo the mapping code so it does blue -> yellow -> red instead of just shades of red. This'll give it a bit more depth because as of right now if you have 1 or 10 million games the strength is only a factor of 0-255.

Hoping this will make the data visually more useful.
-Josh
Dann Corbit
Posts: 12792
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Positional Strength/Most Controlled territory (WOW)

Post by Dann Corbit »

Do you have the raw numbers?
I can visualize from that.
User avatar
jshriver
Posts: 1360
Joined: Wed Mar 08, 2006 9:41 pm
Location: Morgantown, WV, USA

Re: Positional Strength/Most Controlled territory (WOW)

Post by jshriver »

Dann Corbit wrote:Do you have the raw numbers?
I can visualize from that.

Sent via email. Also updated the page a bit. Noticed some people tried uploading files with () in the filename which was causing problems. It's fixed now.
Dann Corbit
Posts: 12792
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Positional Strength/Most Controlled territory

Post by Dann Corbit »

jshriver wrote:I wrote a little program mostly as a visual to see what squares are "hot". Meaning if you watched a game or series of games, what places are commonly considered strong positions to control.

The images pretty much summed up common knowledge (center square). But personally was a little intrigued to find some variations. I pushed, Fischer's pgn database against it and found it the hottest spot was d4, and while a lot of GM's had the center 4 squares as their hottest, Kasparov for example had d4 e4 even moreso than the rest.

I personally find it useful for seeing trends, but can also be used on a per game instance. Just feed it t a PGN file.

http://olympuschess.com/strength/

Curious what you all think, and any input is appreciated.
-Josh
For the color version, I suggest doing like a relief map (deep purple ocean basin is lowest number, green just above sea level, orange mountain, and white cap snow peaks on the highest number.

Just a thought. I suggest that it would be easy to recognize due to familiarity.
Dann Corbit
Posts: 12792
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Positional Strength/Most Controlled territory

Post by Dann Corbit »

jshriver wrote:I wrote a little program mostly as a visual to see what squares are "hot". Meaning if you watched a game or series of games, what places are commonly considered strong positions to control.

The images pretty much summed up common knowledge (center square). But personally was a little intrigued to find some variations. I pushed, Fischer's pgn database against it and found it the hottest spot was d4, and while a lot of GM's had the center 4 squares as their hottest, Kasparov for example had d4 e4 even moreso than the rest.

I personally find it useful for seeing trends, but can also be used on a per game instance. Just feed it t a PGN file.

http://olympuschess.com/strength/

Curious what you all think, and any input is appreciated.
-Josh
Here is a recent paper that has visualization very similar to your idea:
http://mysite.verizon.net/vzesz4a6/current/jerz.pdf