Git Product home page Git Product logo

machinelearning7's Introduction

Linear Regression Using Least Squares LLS

abalone

image

In the csv file of the abalone, we are looking to predict its height by receiving the length of the abalone

plot

Display the Pairs plot (pairwise plot) in seaborn

Alt text

Display the confusion matrix diagram with matplotlib

Alt text

Display the slope of a line with matplotlib

Alt text


Students Performance (Regression)

Generate continuous random dataset for the problem of X = study hours and Y = grade of students (if you study more, you will get a higher grade)

Alt text


Draw some wrong red lines with a random slope

Alt text

Draw the correct blue line using your Object Oriented Linear Least Squares (LLS) method

Alt text

Draw a green line using linregress from scipy library. Compare your result with scipy's result.

Alt text


Boston house-prices (Regression)

Alt text

Display the confusion matrix diagram with matplotlib

Alt text


Display the Pairs plot (pairwise plot) in seaborn

Alt text


Exploratory Data Analysis

Exploratory Data Analysis is a very important step before training the model. In this section, we will use some visualizations to understand the relationship of the target variable with other features.

Let’s first plot the distribution of the target variable price. We will use the distplot function from the seaborn library.

Alt text


This dataset has 13 features for each house. According to data correlation and your analysis, choose 2 features for X, for example:

X = area and age

and choose 1 target for Y:

Y = price

Alt text

machinelearning7's People

Contributors

khadijehvalipour avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.