Git Product home page Git Product logo

multi-class-prediction-of-cirrhosis-outcomes's Introduction

Multi-Class-Prediction-of-Cirrhosis-Outcomes

Overview

In Season 3, Episode 26 of the Playground Series on Kaggle, our goal is to construct a model capable of forecasting the likelihood of a patient having a specific disease, leveraging a multitude of features.

Table of Contents

Overview

As always, the primary objective is to create a model, whether in white-box or black-box fashion, that minimizes the loss on the test dataset. To initiate the process, my initial focus was on cleaning the data. This involved handling missing values and converting all data to numerical format.

The data preprocessing culminated in the utilization of One-Hot Encoding for all features, a strategy known for its effectiveness in enhancing model performance by representing categorical variables in a numerical format.

Dependencies

I chose to leverage PyCaret, a comprehensive library that performs model comparison and ranking for numerous state-of-the-art models based on your dataset. Additionally, I incorporated Optuna, a recently discovered library designed for optimizing and fine-tuning my model's hyperparameters. This combination allows for efficient model selection and hyperparameter optimization, streamlining the process of developing a high-performing machine learning model without delving into the details of other common libraries such as sklearn, scipy, matplotlib, seaborn, etc.

Model Architecture

I chose stacking, a widely used machine learning model architecture that combines heterogeneous models. Stacking involves training a meta-learner, another model, which learns the optimal aggregating weights to minimize the stacking model's performance on the training dataset. This meta-learner is responsible for efficiently combining predictions from diverse base models to improve overall predictive accuracy.

Stacking

Result

Kaggle Ranking As you can see, I ranked top 38% up-to-day

Issues and Future Improvements

Numerous approaches could be adopted to improve the accuracy of this model:
    - Avoid overfitting in The stacking layer by encorporating Regularization
    - Feature engineering
    - hyperparameter optimization using optuna
    - eventually using a NN

multi-class-prediction-of-cirrhosis-outcomes's People

Contributors

mr-green1337 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.