Coder Social home page Coder Social logo

spandan2308 / critical-temperature-prediction Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 8.61 MB

The critical temperature of a superconductor is predicted using XGBoost algorithm.

Jupyter Notebook 100.00%
computational-physics critical-temperature-prediction superconductors supervised-machine-learning xgboost-regression

critical-temperature-prediction's Introduction

Critical Temperature

It is the temperature below which the resistance of a superconductor drops to zero. The given dataset has around 80 features and the task is to predict Tc using the XGBoost algorithm.

Data

The data contains 21,263 unique superconductors. The given Tc values are highly right-skewed. Hence, BoxCox transformation was first applied to distribute the Tc values normally.

A Mutual information-based feature selection method was used to select the top 8 contributing features.

An XGBoost algorithm with the following set of parameters was trained on the training dataset.

parameters = {
    "objective": "reg:squarederror",
    "tree_method": "exact",
    "grow_policy": "lossguide",
    "max_depth": 6,
    "reg_alpha": 4,
    "learning_rate": 0.1,   
    "eval_metric": "rmse",
    "seed": 42
}

Error Scores

The MAE score is 0.967 and the R2 score is 0.878. The skewness of Tc seems to affect the prediction efficiency even after applying the transformation.

critical-temperature-prediction's People

Contributors

spandan2308 avatar

Stargazers

 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.