|
JCapper Message Board
|
|
By |
Building a UPR |
Cole 4/18/2008 4:38:29 PM | I am fairly new to JCapper and this is my first attempt to build a UPR. My question is how do I build a UPR and utilize more than 1 factor in the UPR. I can build a UPR but how do I add factors using the Wizard, ie. Save, Next, NEW or what?
Thanks
PS. I probably need step-by-step directions.
| jeff 4/18/2008 7:33:28 PM | I'll present the steps for building a VERY SIMPLE two factor UPR for route races. To add more factors you simply run data for another factor and create a set of table entries for that factor.
IMPORTANT - before we get started: make a backup copy of the following file:
c:\2004\JCapper.mdb
That file contains the Default GroupName table entries that drive JPR. Never under any circumstances (unless YOU want to change JPR to something other than what I gave you) make table entries to the DEFAULT GroupName.
Step 1 - Run some Data Window studies. As an example I've run all route races through my calendar year 07 database. It looks something like this:
code: | Data Window Settings: 999 Divisor Odds Cap: None Dirt (All*) ROUTES (From Index File: C:\2007\pl_Complete_History.txt)
Data Summary Win Place Show Mutuel Totals 94396.00 93433.10 92966.50 Bet -120146.00-120146.00-120146.00 Gain -25750.00 -26712.90 -27179.50
Wins 7910 15714 23028 Plays 60073 60073 60073 PCT .1317 .2616 .3833
ROI 0.7857 0.7777 0.7738 Avg Mut 11.93 5.95 4.04 |
And if I break that out by two factors, it looks something like this:
code: | By: Compound Late Rank
Rank Gain Bet Roi Wins Plays Pct Impact 1 -1985.30 15542.00 0.8723 1627 7771 .2094 1.5901 2 -2193.20 15510.00 0.8586 1392 7755 .1795 1.3632 3 -2538.40 15524.00 0.8365 1221 7762 .1573 1.1947 4 -3130.30 15490.00 0.7979 1038 7745 .1340 1.0178 5 -4050.60 15288.00 0.7350 884 7644 .1156 0.8783 6 -3394.30 14102.00 0.7593 707 7051 .1003 0.7615 7 -3349.50 11358.00 0.7051 491 5679 .0865 0.6566 8 -2225.00 7894.00 0.7181 281 3947 .0712 0.5407 9 -1322.80 4852.00 0.7274 147 2426 .0606 0.4602 10 -433.70 2714.00 0.8402 87 1357 .0641 0.4869 11 -693.60 1186.00 0.4152 22 593 .0371 0.2818 12 -386.40 582.00 0.3361 9 291 .0309 0.2349 13 1.10 56.00 1.0196 4 28 .1429 1.0849 14 -36.00 36.00 0.0000 0 18 .0000 0.0000 15 -2.00 2.00 0.0000 0 1 .0000 0.0000 16 -2.00 2.00 0.0000 0 1 .0000 0.0000 17 -2.00 2.00 0.0000 0 1 .0000 0.0000 18 -2.00 2.00 0.0000 0 1 .0000 0.0000 19 -4.00 4.00 0.0000 0 2 .0000 0.0000 |
code: | By: Compound E1 Rank
Rank Gain Bet Roi Wins Plays Pct Impact 1 -2665.00 15528.00 0.8284 1466 7764 .1888 1.4340 2 -3511.20 15528.00 0.7739 1259 7764 .1622 1.2315 3 -2648.00 15512.00 0.8293 1172 7756 .1511 1.1476 4 -3156.80 15502.00 0.7964 1043 7751 .1346 1.0219 5 -3630.00 15290.00 0.7626 932 7645 .1219 0.9259 6 -3215.00 14106.00 0.7721 806 7053 .1143 0.8679 7 -2585.60 11350.00 0.7722 550 5675 .0969 0.7360 8 -1891.80 7894.00 0.7603 323 3947 .0818 0.6215 9 -1406.90 4846.00 0.7097 192 2423 .0792 0.6018 10 -559.70 2716.00 0.7939 113 1358 .0832 0.6319 11 -15.70 1192.00 0.9868 39 596 .0654 0.4970 12 -407.50 578.00 0.2950 12 289 .0415 0.3153 13 -43.20 56.00 0.2286 1 28 .0357 0.2712 14 -1.60 36.00 0.9556 2 18 .1111 0.8438 15 -2.00 2.00 0.0000 0 1 .0000 0.0000 16 -2.00 2.00 0.0000 0 1 .0000 0.0000 17 -2.00 2.00 0.0000 0 1 .0000 0.0000 18 -2.00 2.00 0.0000 0 1 .0000 0.0000 19 -4.00 4.00 0.0000 0 2 .0000 0.0000 |
Step 2 - Launch the IVTable Wizard. From the Main Module click System Settings followed by Impact Values Table Wizard.
Step 3 - GroupName - Decide on a GroupName for your UPR. In your case, if you want to create a new UPR maybe something like COLEUPR1 would work. If you want to create your first UserFactor then use USERFACTOR1. I'll illustrate how to create a new UPR. You would use the same procedure to create a new UserFactor - the only difference would be the GroupName used.
Click the NEW button on the Impact Values Table Wizard. Key COLEUPR1 into the GroupName textbox.
Step 4 - table entries for a Factor Select a factor from the factors drop down. In this case we'll use COMPOUNDLATE since that's one of the factors I chose to run.
Click the Active checkbox.
Behavior - Key a 0 (that's a numeric zero not the letter O for the Oscar my last girlfriend deserved when she convinced me it was time to get the kitchen redone) into the behavior textbox. 0 means rank and I'm using that because that's how the data is presented in the sample I ran.
Weight - Pick a numeric weight for your factor. Ultimately factor weight represents the amount of importance YOU are assigning to any one factor in your overall factor mix. But let's keep things simple here and just enter 40 into the textbox for weight.
Track - Just like you would for a UDM you could enter track code(s) if you want your UPR to require specific tracks. Example: HOL-SAX-OSA-DMR etc. But in this case just leave the track textbox blank.
AvoidTrack - Just like you would for a UDM you could enter track code(s) if you want your UPR to avoid specific tracks. Example: HOL-SAX-OSA-DMR etc. But in this case just leave the track textbox blank.
Surface - Enter a * (or wildcard character) for surface... unless you want your UPR to only react to a specific surface - in which case you'd use:
D* all dirt D main or outer dirt course only d inner dirt course only T main or outer turf course only t inner turf course only A articifial surface only
MinDist - I'm illustrating a route only UPR so key a numeric 8 character into the MinDist textbox... as in 8 which is the number of fulrongs in a 1 mile race. Note: If you were creating a UPR for sprint races you might want to use -999 as your min dist.
MaxDist - I'm illustrating a route only UPR so key 999 into the MaxDist textbox... as in we don't care how far they run. Note: If you were creating a UPR for sprint races you might want to use 7.9 as your max dist.
Class Descriptor - If you want your UPR to react to specific Class Descriptors you would enter Class Descriptor codes just like you would for a UDM (C-M-A-G, etc.) But in this case we'll have the UPR react to all Class Descriptors so just leave it blank.
High Score - LOOK at your data. In this case the top impact value for CompoundLate rank 1 is 1.5901 so key that into the HighScore textbox.
DefaultImpact - Again, LOOK at your data. In this case the impact value for CompoundLate rank 12 is .2349 so key that into the DefaultImpact textbox. The interface will use that as a default IV for any value you fail to specify when you key in individual IVs.
Matched Pairs - The process for entering matched pair data is the same whether it is for rank 1 or rank 20. You are entering a number into the RANGE field which describes a data range. You follow that up by entering the impact value for that range into the IMPACT field.
Example: For CompoundLate rank 1 you would enter the following matched pair data:
code: | RANGE IMPACT 1 1.5901 |
For CompoundLate rank 2 you would enter the following matched pair data:
code: | RANGE IMPACT 2 1.3632 |
Do this for as many matched pairs (ranges) as you have valid data for. I generally do it for ranks 1-12 and leave it at that. Generally the deeper you go the stronger/more accurate your UPR will be. I get far better results going 12 deep than I got going 8 deep when I first started out. Until you know better use the Impact Values right from your Data Window output. Once you have more experience you can use your human powers of observation to interpolate a little bit... for example if rank 9 has a higher IV than rank 10 which is a likely occurance when you don't have enough data.
After you have entered matched pair data for ranks 1-12 look it over for typos. Then hit the SAVE button when you are satisfied that you have keyed the correct numbers.
At this point the table entries for the first factor in your UPR is complete.
Note: This post is getting rather long so I'll end here and then come back and add more as time allows.
-jp
.
| jeff 4/18/2008 7:43:59 PM | Adding a factor to a UPR Now it's time to add the second factor to your UPR.
Click the NEW button on the Impact Values Table Wizard. Key COLEUPR1 into the GroupName textbox.
Step 4 - table entries for a Factor Select a factor from the factors drop down. In this case we'll use COMPOUNDE1 since that's the other factor I chose to run.
Click the Active checkbox.
Behavior - Key a 0 (that's a numeric zero not the letter O for the Oscar my last girlfriend deserved when she convinced me it was time to get the kitchen redone) into the behavior textbox. 0 means rank and I'm using that because that's how the data is presented in the sample I ran.
Weight - Pick a numeric weight for your second factor. Ultimately factor weight represents the amount of importance YOU are assigning to any one factor in your overall factor mix. But let's keep things simple here and just enter 60 into the textbox for weight.
Notice that 40 was the weight used for late. And now we're using 60 for early. What I'm expressing here is something along the lines of: --quote:"I think late represents 40 pct of the total handicapping puzzle and I think early represents 60 pct." --end quote We can go back in and edit these numbers afterwards. But for now our UPR is 40 pct late and 60 pct early.
Track - Just like you would for a UDM you could enter track code(s) if you want your UPR to require specific tracks. Example: HOL-SAX-OSA-DMR etc. But in this case just leave the track textbox blank.
AvoidTrack - Just like you would for a UDM you could enter track code(s) if you want your UPR to avoid specific tracks. Example: HOL-SAX-OSA-DMR etc. But in this case just leave the track textbox blank.
Surface - Enter a * (or wildcard character) for surface... unless you want your UPR to only react to a specific surface - in which case you'd use:
D* all dirt D main or outer dirt course only d inner dirt course only T main or outer turf course only t inner turf course only A articifial surface only
MinDist - I'm illustrating a route only UPR so key a numeric 8 character into the MinDist textbox... as in 8 which is the number of fulrongs in a 1 mile race. Note: If you were creating a UPR for sprint races you might want to use -999 as your min dist.
MaxDist - I'm illustrating a route only UPR so key 999 into the MaxDist textbox... as in we don't care how far they run. Note: If you were creating a UPR for sprint races you might want to use 7.9 as your max dist.
Class Descriptor - If you want your UPR to react to specific Class Descriptors you would enter Class Descriptor codes just like you would for a UDM (C-M-A-G, etc.) But in this case we'll have the UPR react to all Class Descriptors so just leave it blank.
High Score - LOOK at your data. In this case the top impact value for CompoundE1 rank 1 is 1.4340 so key that into the HighScore textbox.
DefaultImpact - Again, LOOK at your data. In this case the impact value for CompoundE1 rank 12 is .3153 so key that into the DefaultImpact textbox. The interface will use that as a default IV for any value you fail to specify when you key in individual IVs.
Matched Pairs - The process for entering matched pair data is the same whether it is for rank 1 or rank 20. You are entering a number into the RANGE field which describes a data range. You follow that up by entering the impact value for that range into the IMPACT field.
Example: For CompoundE1 rank 1 you would enter the following matched pair data:
code: | RANGE IMPACT 1 1.4340 |
For CompoundE1 rank 2 you would enter the following matched pair data:
code: | RANGE IMPACT 2 1.2315 |
Do this for as many matched pairs (ranges) as you have valid data for. I generally do it for ranks 1-12 and leave it at that. Generally the deeper you go the stronger/more accurate your UPR will be. I get far better results going 12 deep than I got going 8 deep when I first started out. Until you know better use the Impact Values right from your Data Window output. Once you have more experience you can use your human powers of observation to interpolate a little bit when rank 9 has a higher IV than rank 10 which is a likely occurance when you don't have enough data.
After you have entered matched pair data for ranks 1-12 look it over for typos. Then hit the SAVE button when you are satisfied that you have keyed the correct numbers.
At this point the table entries for the second factor in your UPR is complete.
To add more factors just keep repeating this step. Of course as you add more factors you may want to re-weight them according to how important you think they are as part of the whole.
-jp
.
| jeff 4/18/2008 7:53:13 PM | Ok. That's the table entry process for creating a very simple 2 factor UPR.
Next it's time to evaluate the UPR itself.
Any time that you create a new UPR or make changes to an existing UPR, the next step is running a Database Build From Scratch on a target folder.
After running a Database Build From Scratch on a target folder, THEN you can use the Data Window to evaluate the performance of the UPR.
This is where the FUN begins. After evaluating the UPR try changing something about it... start with the factor weights. Pick ONE factor and increase the weight. Then run a Database Build From Scratch and look at it again.
If your UPR improved take note of what you did. Maybe you want to increase the weight for that one factor even more. If your change weakened the UPR from what you originally had, maybe you want to drop the weight for that one factor from what you origianlly thought.
It can be a long drawn out process. But if you keep at it you can create some VERY powerful ratings. And the really cool thing about this is that YOU are the ONLY one on the planet that has access to what you create.
-jp
.
| Cole 4/19/2008 6:12:46 AM | Jeff,
Thank You very, very much. I sure do appreciate it.
You have been more than helpful to me.
Bill
|
|