A project based on Linear Regression Model to predict housing prices
Above is a Java Program which works on a univariate dataset which can be used to predict the optimal pricing of a house.
Tools used :
- Common Maths library 3.6
- JavaFX for Graph Rendering
Linear Regression model is used to fit a straight line in a scatter plot.
Works appropriately for
- Clustered regualar datasets
- Randomized datasets
Steps to run this application :
-
Download the Apache Commons Maths library from http://commons.apache.org/proper/commons-math/download_math.cgi
-
Extract the same in your destined Java Project folder.
-
Go to the Netbeans IDE and in the Libraries submenu under Tools, click on 'New Library' button and then give it a proper name and add the commons math3 jar file.
-
Add the same in your project, handle the path issues and relocate the packages carefully to get the project working properly.