Giter VIP home page Giter VIP logo

automobile-regression's Introduction

Problem name: automobile

Data layout

  • Number of Instances: 205
  • Number of Attributes: 26 total
    • 15 continuous
    • 1 integer
    • 10 nominal

Process

1. Data Preparation

  • remove 'symboling' feature
  • change cat values to numeric ("num-of-doors", "num-of-cylinders")
  • apply "?" to NaN
  • remove samples with missing values in the target("normalized-losses"): 164 samples remained
  • impute missing values in features ("num-of-doors", "bore", "stroke", "horespower", "peak-rpm", "price")
  • divide "numeric" & "categorical" group

2. Data Split

  • Outer CV = 5
  • modeling set: 80%
    • Inner CV = 5
    • train: 80%
    • validation: 20%
  • test set: 20%

3. Preprocessing

  • Missing values: impute (knn)
  • Real variables: scaling
  • Categorical variables: dummies

4. Modeling

  • Linear Models
    • Rdige
    • Lasso
    • Elastic Net
    • Polynomial
  • Non-Linear Models
    • Kernel Ridge
    • SVR
    • Ensemble
    • Neural Network
    • Nearest Neighbors

5. Grid Search & Model Selection (train & validation)

  • Pipeline
    • model
    • parameters range
    • scoring: neg_mean_squared_error
  • Parameter Search
    • Scatter Plot (parameter X score)
    • best parameters
    • best score

5. Evaluation (test)

  • Outer CV = 5
    • predictions
    • scores & mean score

Reference

automobile-regression's People

Contributors

jkeun avatar

Watchers

James Cloos avatar  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.