I have a sample data set of water level in the format given below. I have to predict the future water level by analyzing this data set.
The output should be like the user should pass the date (date in future) as input and the system should give the water level during that date..This should be solved in spark-shell or eclipse using scala. Please help me
Are you familiar with linear regression? I woud start by doing a linear regression between the left column and the following column, since the waterlevels (if that is what the second column is) are clearly dependent on the date. Now, either you look for a library that can handle such regressions (I know that Apache has a dedicated library), search the internet for appropriate formulas, or you can use my Matrix class, that has an in-built linear regression. Matrix.java
I hate signatures!
It's hard to fight evil. The little things, like a nice sandwich, really helps. Right tiny ad?