Git Product home page Git Product logo

jhub-machine-learning's Introduction

Breast cancer deep learning ๐Ÿ

A project for the jHub Coding Scheme (JCS)

Plan

  1. Import dataset โœ”๏ธ
  2. Data preprocessing โœ”๏ธ
    1. Create X and y โœ”๏ธ
    2. Replace datetimes with strings โœ”๏ธ
    3. Replace ranges with mid point โœ”๏ธ
    4. Handle missing values โœ”๏ธ
    5. Encode catergorical variables โœ”๏ธ
      1. LabelEncoder โœ”๏ธ
      2. OneHotEncoder โœ”๏ธ
        1. Avoid the dummy variable trap โœ”๏ธ
    6. Feature scaling โœ”๏ธ
    7. Split to training and test set โœ”๏ธ
  3. Build Artificial Neural Network โœ”๏ธ
    1. Import Keras โœ”๏ธ
    2. Initialise the ANN โœ”๏ธ
    3. Add the input layer โœ”๏ธ
    4. Add the first hidden layer โœ”๏ธ
    5. Add the second hidden layer โœ”๏ธ
    6. Add the output layer โœ”๏ธ
    7. Compile the ANN โœ”๏ธ
    8. Fit the ANN to the training set โœ”๏ธ
  4. Evaluate with k-Fold Cross Evaluation โœ”๏ธ
    1. k-fold cross validation โœ”๏ธ
    2. Present results โœ”๏ธ
  5. Predict unseen data โœ”๏ธ
    1. Predict the test results โœ”๏ธ
    2. Make the confusion matrix โœ”๏ธ
    3. Present the confusion matrix โœ”๏ธ
  6. Improve model โœ”๏ธ
  7. Improve code โœ”๏ธ
    1. Tasks as functions โœ”๏ธ
  8. Comments and notes โœ”๏ธ
    1. Strategy explained โœ”๏ธ
  9. Run on Colab โœ”๏ธ

Task

  1. Using Python, create the best performing neural networks algorithm you can to predict recurrence rates of breast cancer based upon the variables provided in the attached breast cancer spreadsheet.
  2. Document:
    1. the settings you tested (and rationale for the strategy you took) along the way to optimal performance.
    2. a screenshot of you using the trained algorithm to make a prediction on an unseen piece of data.

Resources

  1. https://towardsdatascience.com/data-preprocessing-in-python-b52b652e37d5
  2. https://towardsdatascience.com/assessing-the-quality-of-data-e5e996a1681b

jhub-machine-learning's People

Contributors

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