1. #71
    ChuckyTheGoat
    ChuckyTheGoat's Avatar SBR PRO
    Join Date: 04-04-11
    Posts: 31,511
    Betpoints: 24869

    Quote Originally Posted by jjgold View Post
    I promoted this kid as a gaming shape and math wizard

    Men he fooled me
    Gaming shape? As in square?

  2. #72
    flocko76
    flocko76's Avatar SBR PRO
    Join Date: 10-01-10
    Posts: 1,447
    Betpoints: 3316

    Quote Originally Posted by zizoudane10 View Post
    Use the numbers 2, 3, 4 and 5 and the symbols + and = to make a true equation Deemer.
    Deemer won't be back.
    your answer is 3 squared = 4+5. It works writing it on paper.
    Nomination(s):
    This post was nominated 1 time . To view the nominated thread please click here. People who nominated: zizoudane10

  3. #73
    BigDeem5
    2013-2016 NBA: 461-378-24 +52.65u
    BigDeem5's Avatar Become A Pro!
    Join Date: 02-26-11
    Posts: 17,190
    Betpoints: 2158


  4. #74
    artyfudgepacker
    artyfudgepacker's Avatar Become A Pro!
    Join Date: 01-06-13
    Posts: 2,205
    Betpoints: 6480

    Quote Originally Posted by SamDiamond View Post
    Fuk the iPhone.

    Isn't he a chinaman?

    He should be able to do that sleeping.

  5. #75
    Chi_archie
    GASPING FOR AIR
    Chi_archie's Avatar SBR PRO
    Join Date: 07-22-08
    Posts: 63,130
    Betpoints: 2368

    Quote Originally Posted by jjgold View Post
    Deemer you might have to leave site


    This was real bad

    I am embarrassed



    Think Tank???

    paging Ganch, Durito, RickySteve, and MonkeyF0cker... I need to know how much i'd make a year delivering Chinese food if I make $400 a week
    Nomination(s):
    This post was nominated 1 time . To view the nominated thread please click here. People who nominated: CrimsonQueen

  6. #76
    sweep
    USA! USA! USA!
    sweep's Avatar Become A Pro!
    Join Date: 10-09-10
    Posts: 16,753
    Betpoints: 2457


  7. #77
    allin1
    Update your status
    allin1's Avatar Become A Pro!
    Join Date: 11-07-11
    Posts: 4,555

    Quote Originally Posted by opie1988 View Post
    Only way this could have been any better is if he ACTUALLY posted this in the Think Tank


    I'm sure those guys would've enjoyed it
    He did posted in the think tank, it was moved, but there is still a link there to it.

  8. #78
    Chi_archie
    GASPING FOR AIR
    Chi_archie's Avatar SBR PRO
    Join Date: 07-22-08
    Posts: 63,130
    Betpoints: 2368

    Quote Originally Posted by allin1 View Post
    He did posted in the think tank, it was moved, but there is still a link there to it.
    yeah the thread is in the think tank (moved/s-linked by a mod to be funny i'm sure)

    right below a thread with this opening post....


    Quote Originally Posted by ljump12 View Post
    I'm writing this post to serve as an intro into using computers for sports betting. Programming isn't as hard as most people think, and the basic skills can be picked up on a weekend. This will be by no means an extensive resource, but will rather be a brief introduction. It is my belief that the best way to beat the books is with extensive research and backtesting. What is taught here will not give you the answers, there are no 20*play GOTY locks in this thread, only the tools that will allow you to succeed. Also note this is very much a work in progress, I will post new sections as I write them. If you have suggestions, would like to contribute etc. etc. just post!

    Sections:
    1) Intro to programming (Taught in Python)
    a) What you need to get started
    b) Basics of programming
    c) Basics of data input & output
    d) How to scrape the internet for data
    e) How to manipulate the data for excel
    2) Intro to excel
    a) How to load in data files
    b) What can be done in excel
    3) Intro to standard wagering ideas
    a) Arbitrage
    b) Kelly Criterion
    Python is one of many programming languages, and it allows us to work gather,manipulate and apply data. I believe Python is the best language for a beginner to learn becuase it reads like english, but is still extremely powerful.

    Section A) What you need to get started..

    Since you're reading this thread i'll assume you have a computer. Python is a platform independent scripting language, which means that it *should* run the same across different operating systems [Windows, Mac, Unix etc]. For this tutorial, i'm going to assume you have Mac/Linux becuase that is what I'm familiar with. However, it should be pretty easy to generalize to Windows.

    Downloading Python
    If you're on windows you will need to download Python and Idle [ http://www.python.org/download/ ]
    Get version 2.6.* -- don't get version 3. A lot has changed in version 3, and most old code is not supported, making it a pain in the ass. Trust me on this. Version 2.6.* is what you want.

    Good news, If you're on Mac or Linux, you probably already have python!
    Open up terminal [Mac users hit apple+space to bring up spotlight, and type in terminal].
    Type in "python -V" and press enter. It should tell you which version of python is installed. Even if it's not version 2.6.*, it will probably still do, as long as it's > 2.3 and < 3.0

    Writing Python Programs
    Python programs should be writted in a text editor, in a monospaced font...
    Windows Users: There's a good editor called "notepad++" google it. Alternatively when you download python it will come with an editor. You could use that...
    Mac Users: I like a program called "TextMate", though you need to pay for it. There's probably a free trial somewhere.

    Section B) Basics of Programming..

    Learning Python:
    I could type up a basic tutorial in python, but i'd be reinventing the wheel. John wrote a great introduction to programming that you can find here: http://books.google.com/books?id=aJQ...age&q=&f=false

    I'd suggest you read this through. Read at least the first 4 chapters. Spend a day and DO THE EXAMPLES. The only way to learn programming is by doing. It's really not hard stuff, it just takes some time to get the basics. Again, don't just read it or you will learn nothing. Take some time and practice practice practice. You can post questions or snippets of code in this thread if you're having problems. I'm sure I, or someone else can find and fix your problem.

    Section C) Basics of data input & output..

    If you have gotten to this point, you should already know the basics of python. You should know what an "if statement" is, what a "for loop" is, and how to print "Hello World!".

    In general the tasks we are trying to do with python will either be taking data from excel and manipulating/running tests on it, or getting data from the internet, and writing it to an excel file for easier access. We can do both with python! Excel takes in what is known as a "CSV" or comma separated file, and displays it in spreadsheet format, so all we have to do is have our python program output a file that is comma separated -- and we can load it right into excel.

    Let's start with a simple example. I have uploaded a .csv file to my website, it contains MLB game information for a single day. Download and save this file into the same directory that your python script will run from. If you open the file in excel, you will get a better idea of what is inside it. You'll find the file here: http://atbgreen.com/mlb_ex_1.csv

    [Opening and Reading a .csv File]
    PHP Code:
    ## Created on 4/1/10
    ## This example should shows how to open and read a .csv file.
    ##
    ## Notes: The file mlb_ex_1.csv should be downloaded and in the same folder
    ## .. as this scrpt

    ## Tell python to import the .csv module, becuase we will be reading a .csv
    import csv

    ## First we need to open the file
    mlb_file    open("mlb_ex_1.csv","r"## Open the MLB .csv file for reading

    ## Now we need to tell python to read it as a csv file
    ## We are opening the mlb_file as defined above, it is deliminated by commas,
    ## and our quote characted is a regular quote (")
    mlbReader csv.reader(mlb_filedelimiter=','quotechar='"'

    ## Grab the first line, becuase it is the headers..
    headers mlbReader.next()

    ## It's now time to iterate through the file row by row...
    for row in mlbReader:
        
    ## Let's try and only print the Over/Under Line, and the actual runs scored
        ## .. in the game. If you look at the .csv in excel you will see these are
        ## .. in the 6 & 7 columns. But since the computer starts counting at 0, 
        ## .. we would say they are in the 5th and 6th columns
        
    ou_line     float(row[5]) ## This should be a float, becase it can be .5
         
    runs_scored int(row[6])   ## This will be an int, becuase runs are integers

        
    print "The line was",ou_line,"and",runs_scored,"runs were scored"

    ## End of program 
    Save and run the code. I've commented it generously so you can tell exactly whats going on. It looks long, but it's only becuase i've tried to make it as clear as possible. If I wanted, i could compress the code into 3 lines -- but it's not nearly as easy to understand.

    [Opening and Reading a .csv File (in 3 lines)]
    PHP Code:
    import csv
    mlbReader 
    csv.reader(open("mlb_ex_1.csv"),delimiter=',',quotechar='"')
    for 
    row in mlbReader: print "The line was",row[5],"and",row[6],"runs were scored" 
    Let's go a step further this time, and do some calculations with our file. Let's determine whether the game went over or under.
    [Opening and Reading a .csv File, and determining over or under]
    PHP Code:
    ## Created on 4/1/10
    ## This example should shows how to open and read a .csv file, and perform
    ## .. some simple calculations
    ##
    ## Notes: The file mlb_ex_1.csv should be downloaded and in the same folder
    ## .. as this scrpt

    ## Tell python to import the .csv module, becuase we will be reading a .csv
    import csv

    total_overs 
    0     ## Initialize the total number of overs to 0
    total_unders 0   ## Initialize the total number of unders to 0

    ## First we need to open the file
    mlb_file    open("mlb_ex_1.csv","r"## Open the MLB .csv file for reading

    ## Now we need to tell python to read it as a csv file
    ## We are opening the mlb_file as defined above, it is deliminated by commas,
    ## and our quote characted is a regular quote (")
    mlbReader csv.reader(mlb_filedelimiter=','quotechar='"'

    ## Grab the first line, becuase it is the headers..
    headers mlbReader.next()

    ## It's now time to iterate through the file row by row...
    for row in mlbReader:
        
    ## First we need to get the OU_Line, and runs scored out of the file.
        
    ou_line     float(row[5]) ## This should be a float, becase it can be .5
        
    runs_scored int(row[6])   ## This will be an int, becuase runs are integers

        ## Now lets compare the two with an if statement to see what happened:
        
    if ou_line runs_scored:
            
    ou_result "Under"
            
    total_unders += 1
        elif ou_line 
    runs_scored:
            
    ou_result "Over"
            
    total_overs += 1
        
    else:
            
    ou_result "Push"

        
    ## Calculate the percent of games that went over, and round it to 2 decimal places.
        
    over_under_percentage round((total_overs float(total_overs total_unders)),2)*100
        
    ## Finally let's put it all together in one print statement
        
    print "The line was",ou_line,"and",runs_scored,"runs were scored, so the game went",ou_result
        
    ## END OF FOR LOOP

    print "There were",total_overs,"Overs"
    print "There were",total_unders,"Unders"
    print over_under_percentage,"percent of games went Over"

    ## End of program 
    That's really all there is to reading in a file. What you do after you have read the file in is completely up to you. All the columns are accessible in the "row" array, and can be accessed by asking for a position out of the array. Remember the position is always one less then its column number. For example, if you want the 7th column, you would do row[6].

    Let's move on to data output. Let's further expand on our old example, and say after we calculate whether the game went over or under, we want to write it to a new file. We want our new file to have three columns. Date, Teams, OverUnder. If we look in our sheet we will see that the date and teams are in columns 1 and 3 respectively. We will call our new file MLB_output.csv

    PHP Code:
    ## Created on 4/1/10
    ## This example should shows how to open and read a .csv file, and perform
    ## .. some simple calculations
    ##
    ## Notes: The file mlb_ex_1.csv should be downloaded and in the same folder
    ## .. as this scrpt

    ## Tell python to import the .csv module, becuase we will be reading a .csv
    import csv

    ## First we need to open both files
    mlb_file    open("mlb_ex_1.csv","r"## Open the MLB .csv file for reading
    output_file open("MLB_output.csv","w"## Open the output file for writing

    ## Now we need to tell python to read it as a csv file
    ## We are opening the mlb_file as defined above, it is deliminated by commas,
    ## and our quote characted is a regular quote (")
    mlbReader csv.reader(mlb_filedelimiter=','quotechar='"'

    ## We'll do the same for our writer. We need to tell it where we will be writing
    ## .. to, and what kind of delimiters we want to use.
    mlbWriter csv.writer(output_filedelimiter=','quotechar='"')

    ## Grab the first line, becuase it is the headers..
    headers mlbReader.next()

    ## It's now time to iterate through the file row by row...
    for row in mlbReader:
        
    ## First we need to get the OU_Line, and runs scored out of the file.
        
    ou_line     float(row[5]) ## This should be a float, becase it can be .5
        
    runs_scored int(row[6])   ## This will be an int, becuase runs are integers

        ## Now lets get the other information we need out (Date and Teams)
        
    date    row[0]
        
    teams   row[2]

        
    ## Now lets compare the two with an if statement to see what happened:
        
    if ou_line runs_scored:
            
    ou_result "Under"
        
    elif ou_line runs_scored:
            
    ou_result "Over"
        
    else:
            
    ou_result "Push"

        
    ## Instead of printing here like we did before, we want to write to the file
        
    mlbWriter.writerow([date,teams,ou_result])
        
    ## END OF FOR LOOP

    output_file.close() ## Close the file after we have written everything
    print "The program has written everything!"
    ## End of program 
    Try running the program. After you do, you should see a new file has been created. This file will contain exactly what we expect

    Code:
    9/21/09,atl at nyn,Under
    9/21/09,bal at tor,Under
    9/21/09,bos at kca,Under
    9/21/09,chn at mil,Under
    9/21/09,min at cha,Over
    9/21/09,nya at ana,Over
    9/21/09,sdn at pit,Under
    9/21/09,sln at hou,Under
    9/21/09,tex at oak,Under
    That's really all there is to basic input and output of files!

    Section D) How to scrape the internet for data

    To be continued......


  9. #79
    bigboydan
    bigboydan's Avatar Become A Pro!
    Join Date: 08-10-05
    Posts: 55,425

    Quote Originally Posted by BigDeem5 View Post
    This may be for the Think Tank, but I assume we have enough guys in PT that can figure it out..

    Assuming -110 juice, and I believe 52.2 or 52.3% is break even.

    If you make 250 plays and hit 55% at $25 a game how much should you make?

    Same question at $100 a game?
    With capping like that I guess we could call it ""Murphy8276"s law

  10. #80
    I/O
    I/O's Avatar Become A Pro!
    Join Date: 05-26-11
    Posts: 7,922

    Quote Originally Posted by tony_come View Post
    What did accomplish here
    Watch it Tony

    SBR Grammar Police working over time these days



    especially the steers, I mean queers

  11. #81
    leetreaper
    leetreaper's Avatar Become A Pro!
    Join Date: 10-23-10
    Posts: 34,841
    Betpoints: 2140

    Quote Originally Posted by BigDeem5 View Post
    This may be for the Think Tank, but I assume we have enough guys in PT that can figure it out..

    Assuming -110 juice, and I believe 52.2 or 52.3% is break even.

    If you make 250 plays and hit 55% at $25 a game how much should you make?

    Same question at $100 a game?
    This question is like teaching a kid a multiplication table.

  12. #82
    eidolon
    USA
    eidolon's Avatar Become A Pro!
    Join Date: 01-02-08
    Posts: 9,531
    Betpoints: 15766

    darkhat likes to play with pseudo dead cats

  13. #83
    darkhat
    darkhat's Avatar Become A Pro!
    Join Date: 08-18-10
    Posts: 5,722
    Betpoints: 2882

    Quote Originally Posted by eidolon View Post
    darkhat likes to play with pseudo dead cats
    Pseudo being the key word

  14. #84
    sweep
    USA! USA! USA!
    sweep's Avatar Become A Pro!
    Join Date: 10-09-10
    Posts: 16,753
    Betpoints: 2457

    Points Awarded:

    darkhat gave sweep 1 SBR Point(s) for this post.

    SharkAA gave sweep 1 Betpoint(s) for this post.

    Nomination(s):
    This post was nominated 1 time . To view the nominated thread please click here. People who nominated: leetreaper

  15. #85
    zizoudane10
    SPECIAL MODERATOR
    zizoudane10's Avatar Become A Pro!
    Join Date: 03-27-12
    Posts: 7,276
    Betpoints: 287

    Posting from the gym
    Think Tank
    Not able to use a calculator but posting

  16. #86
    kaliboyz
    Update your status
    kaliboyz's Avatar Become A Pro!
    Join Date: 10-30-09
    Posts: 3,074
    Betpoints: 497

    I never wanted to be an internet bully, but this sh*t making me laugh in the last few days. Deemer used his cell phone to post his thread, i guess Deemer is using a really old phone that doesn't have a calculator. hahhha.

    Quote Originally Posted by zizoudane10 View Post
    Posting from the gym
    Think Tank
    Not able to use a calculator but posting

  17. #87
    byronbb
    byronbb's Avatar Become A Pro!
    Join Date: 11-13-08
    Posts: 3,067
    Betpoints: 2284

    Poor Deemer, the Chris Bosh of SBR.

  18. #88
    MoneyLineDawg
    Update your status
    MoneyLineDawg's Avatar Become A Pro!
    Join Date: 01-01-09
    Posts: 13,253
    Betpoints: 13

    Quote Originally Posted by BigDeem5 View Post
    This may be for the Think Tank, but I assume we have enough guys in PT that can figure it out..

  19. #89
    MiDNiTe
    MiDNiTe's Avatar Become A Pro!
    Join Date: 11-11-13
    Posts: 7,684
    Betpoints: 5520

    priceless

  20. #90
    andywend
    andywend's Avatar Become A Pro!
    Join Date: 05-20-07
    Posts: 4,805
    Betpoints: 244

    Quote Originally Posted by tto827 View Post
    You can't do this math Deemer this is like 8th grade shit.

    ~$372 at $25 a game

    $1,375 at $100 a game

    The fact that breakeven is whatever percent is irrelevant. These numbers are assuming 110 to win 100 and 27.50 to win 25 FYI.

    250 games... 55%..... 137.5 winners..... 112.5 losers

    You win $100/$25 depending, and lose $110/$27.50..... calculate total amount won minus total amount lost and you're done.
    If you're claiming that he would lose $372 @ $25 a game picking 55% winners, you have to be wrong. I'm sure someone commented on your math error unless you meant a profit of $372 and inadvertently put in that negative squiggle.

  21. #91
    Optional
    Optional's Avatar Moderator
    Join Date: 06-10-10
    Posts: 57,796
    Betpoints: 9194

    The ~ squiggle is called a tilde.

    It means circa. Or approximately.
    Nomination(s):
    This post was nominated 1 time . To view the nominated thread please click here. People who nominated: MatI

  22. #92
    Albert Pujols
    Albert Pujols's Avatar Become A Pro!
    Join Date: 06-01-10
    Posts: 1,670
    Betpoints: 80

    I have high IQ. I just can't add and subtract.

    Bahahahahahahahah

  23. #93
    MoneyLineDawg
    Update your status
    MoneyLineDawg's Avatar Become A Pro!
    Join Date: 01-01-09
    Posts: 13,253
    Betpoints: 13

    Quote Originally Posted by andywend View Post
    If you're claiming that he would lose $372 @ $25 a game picking 55% winners, you have to be wrong. I'm sure someone commented on your math error unless you meant a profit of $372 and inadvertently put in that negative squiggle.


    That squiggle doesn't have anything to do with negative....it means approximately

  24. #94
    TxBulldog
    Grinding it out!
    TxBulldog's Avatar Become A Pro!
    Join Date: 08-03-10
    Posts: 185
    Betpoints: 4603

    I may not know the answer to the Deemer's question, but this thread is ~Priceless

  25. #95
    Sam Odom
    Sam Odom's Avatar Become A Pro!
    Join Date: 10-30-05
    Posts: 58,063
    Betpoints: 37

    Quote Originally Posted by BigDeem5 View Post

    This may be for the Think Tank

    Did we figure this out ?

  26. #96
    dbear808
    dbear808's Avatar Become A Pro!
    Join Date: 02-16-11
    Posts: 36
    Betpoints: 1067

    3+4=2+5

  27. #97
    opie1988
    I have a MAJOR fukkin clue..
    opie1988's Avatar Become A Pro!
    Join Date: 09-12-10
    Posts: 23,429
    Betpoints: 1012

    what a dumbfukk

    Classic thread.

    SBR
    Poster of
    Year 2011


  28. #98
    edawg
    edawg's Avatar SBR PRO
    Join Date: 07-09-11
    Posts: 2,818
    Betpoints: 5030

    Deemer got some gym math for bench 8x3 with 55% max 60 to 72 hours later do a russian latter to 6 with 75% max will add 20 to 30 pounds to max in 3 months.

  29. #99
    MoneyLineDawg
    Update your status
    MoneyLineDawg's Avatar Become A Pro!
    Join Date: 01-01-09
    Posts: 13,253
    Betpoints: 13

    Deemer uses the elliptical and does lots of bicep curls at the gym

  30. #100
    gauchojake
    Have Some Asthma
    gauchojake's Avatar SBR PRO
    Join Date: 09-17-10
    Posts: 33,725
    Betpoints: 13200

    He's just a kid who has recessive Asian genes okay?

  31. #101
    tony_come
    tony_come's Avatar Become A Pro!
    Join Date: 03-31-10
    Posts: 21,695
    Betpoints: 1122

    Jake knows his biology courses

  32. #102
    Sam Odom
    Sam Odom's Avatar Become A Pro!
    Join Date: 10-30-05
    Posts: 58,063
    Betpoints: 37

    PBS is doing a special show on this question... Calling it "The Deemer Paradox" hosted by Stephen Hawking

  33. #103
    No coincidences
    Baseball at The Corner
    No coincidences's Avatar Become A Pro!
    Join Date: 01-18-10
    Posts: 76,300
    Betpoints: 16541



    Never seen this thread before.

    You've gotta be fvcking kidding me.

  34. #104
    t-wizzle
    t-wizzle's Avatar Become A Pro!
    Join Date: 12-18-09
    Posts: 38,099
    Betpoints: 2191

    I thought Asians were good at math?

    Apparently not the case for this kid.

  35. #105
    The Kraken
    The Kraken's Avatar Become A Pro!
    Join Date: 12-24-11
    Posts: 28,917
    Betpoints: 532

    Deemer once fried his eggs for over 15 minutes, after they were already done.

    Not a guy I'm gonna be fukking with.

First 1234 Last
Top