Coder Social home page Coder Social logo

cancer-drug-pred's Introduction

cancer-drug-pred

This repo contains the source code for Cancer Drug Prediction based on Genetic Mutations

  1. Download the .py file and open in a Python IDE, using Python 3.6
  2. Dowload Ananconda, specifically scikit-learn 0.19.1, pandas 0.20.3, and pydot 1.2.3
  3. Download the given datafiles
  4. Run the program.
  5. The program will output a decision tree structure in .png format, a drug prediction accuracy value as a decimal between 0 and 1, and a drug prediction for a randomly selected patient.

Note: cv_results_ may need to be replaced with grid_scores_ in older versions of pandas.

cancer-drug-pred's People

Contributors

annaritz avatar dsmandera avatar

Watchers

 avatar

cancer-drug-pred's Issues

Last Experiment: Identifying Unknown Patient Status

The Goal: show how this can be useful for unknown-status patients.
One example: take patients with little data (or unknown end-status), predict drugs, and then see if (a) those drugs were administered or (b) if those drugs weren't.

  • Look into datafiles & formatting.
  • Go into big original file. (a) Find a patient & format data, run code, etc. (b) find multiple patients to do this & show results in some table.
  • Just want code to stop at the prediction (instead doing the validation).

Small Edits for Code Base

  • Update all packages to latest version, fix any compatibility issues.
  • Rename CancerReadme to README.md
  • Add some details about the parameters you've fixed
  • I think you can remove the step about renaming files. Remove the commented files.
  • Check out the typo in the annotated.py file.
  • In the README.md, explain what the script outputs.

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.