I was toying around with the idea to write something that would generate a ROM based on the current snapshot of stats for the MLB.
I wrote some code to scrape all the up-to-date stats from baseball-reference. So, at any time, I could run my code and within minutes I could have a ROM representing the current play of players today.
Granted, this wouldn't be extremely accurate, but until we get some more solidified numbers, it might be fun to play with guys as they are playing today. So, guys like Konerko would have a really big power rating. He's on pace to hit 60 homers or something like that, not that he will.
What do you guys think? Fun? Anyone intersted in this? I need something to do until the new hacks are ready...as I said, we wouldn't be going for accuracy as much as we would be going for a snapshot...maybe I'll finish this project and see what kind of ROM we get.
Interesting
Heh. Thanks. A response is a response, I guess!
It sounds like a cool technical project, if nothing else; I'm not sure how "accurate" the ROM would be, since like you said, it would have some odd results in the early going, but it would be pretty cool to see what it produces.
Quote from: Turd on 05/19/10, 03:59:55 PM
I wrote some code to scrape all the up-to-date stats from baseball-reference. So, at any time, I could run my code and within minutes I could have a ROM representing the current play of players today.
That's very cool, nice work on this alone...
I think the biggest issue is that you need people consistently playing to really know the changes in stats. If they only play once a week I doubt they'll notice a +/- change in 10 power points.
Yeah. It was just something to keep my interest going. I got it almost working. Just need to setup a page to edit the player names and set the lineup.
I'll post the results when I get them for fun, even if they don't get played a lot. May e do a monthly instead of weekly.
Plus it'll honestly help a shitload for my official ROM. And, maybe some of the RPC guys will play it.
I got a rough little script going that can generate the ratings based on some projection formulas for a given team. Anyone have a team they'd like me to try it with?
Toronto is hot right now, here's their numbers:
TOR,Lewis,Left,290,2,17,725,128
TOR,Hill,Right,168,4,37,748,121
TOR,Lind,Left,231,6,27,815,120
TOR,Wells,Right,309,11,14,950,125
TOR,Ovrbay,Left,199,4,32,748,122
TOR,AGnzlz,Right,262,10,22,950,122
TOR,Batsta,Right,238,11,25,950,128
TOR,Buck,Right,279,8,19,883,120
TOR,Encarn,Right,205,2,31,748,120
TOR,Ruiz,Right,150,1,40,737,120
TOR,Molina,Right,278,0,19,725,120
TOR,Reed,Left,250,0,24,725,120
I think it's a bit early yet to get good numbers, but I've got a great base to generate a ROM. I'll probably use this to make a AAA ROM after my 2010 ROM is done as well. Might be fun...I love projects.
I've attached a copy of what my still very rough formulas produced for the current snapshot of the MLB...
Any comments? Anyone care to have the ROM posted?
How are you coming up with your formulas? I am trying to use a base formula for hitters, (i know it wont be crazy accurate, but will work for me), and something for pitchers where their era allots them so many "points" to give them in the sink/curve attributes, but is slow going. IF you are using any stock formulas for any of the catagories, would you be willing to post that?
Yep, interested in seeing the current rom.....U da r0xstar
I use a combination of things that constantly changes as I get better at perfecting things. Usually homerun, at bats, batting average, OBP, triples, and stolen bases. Pitchers I rate based on strikeout effectiveness, wins, ERA, and real life ability (including true pitch speed). Then I tweak it because the base formulas usually over or underinflate their real life abilities. Not to mention it depends on what type of ROM you want...a team-based ROM or an individual based ROM. Team based ROMS cause individuals to have lowered/inflated abilities to make the team suck or flourish more, individual ROMS don't reflect the standings as much.
For instance, you'll see on my generated ROM that Atlanta is hot right now, but using individual based editing, they have one guy over 800 (Heyward, 922) and the next best guy is Glaus at 787. That's a bad hitting lineup. Take Prado for instance...725 with a 12 contact. With 4 HRs he's not hitting the big ball, but he is hitting for .324 in 207 AB, which is pretty good hitting. I'd give him a lot more power than 725 and lower contact so that he can hit the occasional long ball but really consistently hit some power shots that don't quite make it over the fence. The formulas are just a base, but I look at each player individually (most players anyways). If you read my 2010 release thread, obviously I miss some stuff (thankful for the communities feedback, that's for sure).
This year's ROM should be even better, I hope.
I'll post the latest ROM when I get to a computer.
Here's the ROM that got generated as of 12:21 CST today...
The only thing that's auto-generated are the batters...the pitchers are still my ratings and rotations from my 2010 ROM. I wont' be touching those until at least the all-star break...
One thing to note, that ROM I posted is juiced as you're all used to, but I also juiced CPU batting by 15 points...
I like the idea. I dled the rom and will play it tonight. I was up in your area of the woods last week. We went to vacation in Caledonia, WI for a week.
Thanks a lot
Luke
Hey Turd great idea man. If you can pull this off its RBI shangri-la! Wanna sim your frustrating loss to the Angels and turn the tables? One touch bam new rom with current trends intact. Really hot.
Thanks. It was fun to write, and as I said will save me uber time on the next official edit. Most of my time was spent on data entry. Now I can spend it on editing. And, it puts all the stats in one easy to read spot, and makes for less errors on switch bitters and stuff like that.