Coder Social home page Coder Social logo

hungpham2002 / non-linear-regression-to-multivariable-non-linear-regression Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 510 KB

Tabular Data Project: Sales Prediction. Derived from the idea of Linear regression extend to non-linear regression and Mutilvariate Non-linear regression

Jupyter Notebook 100.00%

non-linear-regression-to-multivariable-non-linear-regression's Introduction

Non-Linear-Regression-to-Multivariable-non-Linear-Regression

  • Preprocessing data (dealing with null, ...)
  • EDA (Explore Data Analysis): Correlation between features and labels, Linear function or non-linear function, 2-degree or 3-degree,...
  • Representation: Data transformation by using Label Encoding / One hot encoding, ...
  • Modeling: training and evaluation
  • Deployment

Important Note:

  • Degree Choice: if too simple, model would not flexible enough (underfit), if too complicate, model would overfit
  • choiceofdegree
  • Good method for choice of the degree: k-fold cross-validation
    • Example: suppose we have 1000 samples: 800 training and 200 testing
      • focus on training set, testing set only be used to evaluate model.
      • The original dataset is divided into K equal-sized subsets or folds.
      • The model is trained and evaluated K times.
      • In each iteration, K-1 folds are used for training the model, and the remaining fold is used for testing/validation.
      • kfold
      • The performance metric (such as accuracy or mean squared error) is computed for each iteration.
      • The final performance measure is obtained by averaging the results from all K iterations.
      • Choose the degree which has the lowest out of sample error
  • Disadvantages: disadvantages

non-linear-regression-to-multivariable-non-linear-regression's People

Contributors

hungpham2002 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.