Algorithmic Forecasting and Pattern Recognition
        Posted  
        
            by 
                Ryan King
            
        on Programmers
        
        See other posts from Programmers
        
            or by Ryan King
        
        
        
        Published on 2014-05-17T06:48:30Z
        Indexed on 
            2014/06/05
            9:42 UTC
        
        
        Read the original article
        Hit count: 350
        
design-patterns
|algorithms
Say a user could enter project data into my software. Each project has 2 variables "size" and "work" and they're related but the relationship is not known. Is there a way to programmatically determine the relationship between the variables based on previous data and forecast the amount of work provided if only given the size of the project in the future?
For Example, say the user had manually entered the following projects.
- Project 1 - Size:1, Work: 4
- Project 2 - Size:2, Work: 7
- Project 3 - Size:3, Work: 10
- Project 4 - Size:4, Work: x
What should I look into to be able to programmatically determine, that Work = Size*3+1 and therefor be able to say that x=13?
© Programmers or respective owner