Code Monkey home page Code Monkey logo

regression_techniques's Introduction

Regression Techniques on Datasets (California Housing Dataset, Boston Housing prices, Banking Finance Dataset)

  1. This is a repositoty consisting of ML techniques implemented on Housing dataset (XGBoost, Linear Regression, Random Forest)

Key Definitions of R^2, RMSE and MSE

  1. R-squared, also known as the coefficient of determination, is a statistical measure that represents the proportion of the variance in the dependent variable that is explained by the independent variable(s) in a regression model.

It ranges from 0 to 1, where 0 means that none of the variance in the dependent variable is explained by the independent variable(s) and 1 means that all of the variance in the dependent variable is explained by the independent variable(s).

In other words, R-squared measures the goodness of fit of the regression model, indicating how well the model fits the observed data points.

  1. RMSE stands for Root Mean Squared Error, which is a commonly used statistical measure of the differences between the values predicted by a model and the actual observed values.

It is calculated by taking the square root of the average of the squared differences between the predicted values and the actual values. Mathematically, it can be represented as:

RMSE = sqrt(1/n * Sum[(predicted_i - actual_i)^2])

where n is the number of observations, predicted_i is the predicted value for observation i, and actual_i is the actual observed value for observation i.

  1. MSE stands for Mean Squared Error, which is a statistical measure of the average squared differences between the values predicted by a model and the actual observed values.

It is calculated by taking the average of the squared differences between the predicted values and the actual values. Mathematically, it can be represented as:

MSE = 1/n * Sum[(predicted_i - actual_i)^2]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.