Skip to content

ML program written in C language, to predict based on Boston Housing data

Notifications You must be signed in to change notification settings

ankitrajmehta/Boston-Housing-Predictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boston Housing Price Prediction

This is a C program to predict the housing prices in Boston as per the Boston Hosing dataset. It also has functions to check RMSE, Accuracy (in %) and cost.

Usage

For MacOS/Linux:

To run the application, navigate to the root folder into which you have cloned this repo and execute the following command:

make

The makefile assumes the use of gcc to compile. If you use any other compiler, for example "clang", go into the makefile and change "CC = gcc" to:

CC = name-of-complier

For Windows:

Makefile is not inherently supported in Windows. Instead of using a makefile, enter this into your terminal.

gcc main.c -o main -lm

Note: Replace "gcc" with the name of your compiler if you are using a different compiler.

Then to run it, simply enter:

main

Files

  • main.c: Contains all the C code

  • data.csv: Contains the Boston Housing Data (For training)

  • data.csv: Contains the Boston Housing Data (For testing)

  • makefile: To compile the file(s)

About

ML program written in C language, to predict based on Boston Housing data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published