Giter VIP home page Giter VIP logo

kaggle_house_prices_transformer_pytorch's Introduction

Kaggle_House_Prices_Transformer_Pytorch

A light-weight Transformer model for Kaggle House Prices Regression Competition

Kaggle House Prices -Advance Regression Techniques

A simple Pytorch deep learning model for predicting the house price. Lightweight Transformer model is tested for accuracy. The Transformer architecture is utilized to capture pair-wise affinity of all the features.

Project Objective

This is my first project in PyTorch. The aim of the project is to perform a simple multivariate regression using Transformer model.

Python Packages

Get packages by using conda or pip.

  1. PyTorch=1.8.0
  2. numpy=1.19.2
  3. matplotlib=3.3.4
  4. pandas=1.1.5
  5. seaborn=0.11.2

Kaggle

Once finished, you can upload your prediction.csv to the kaggle website where you can compare your score with other users.

Model

5-Fold Validation

Test loss (rmse)

(on official test dataset)

Train loss (rmse)

Test loss (rmse)

MLP (1 Block)

0.127530

0.140763

0.15460

MLP (2 Blocks)

0.108675

0.163794

0.15125

Ours

0.017307

0.129986

0.12760

Supplementary

You need to have more than 4GB GPU memory to train the model with default settings, or you need to change batchsize or the network sturctures.

kaggle_house_prices_transformer_pytorch's People

Contributors

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