{ "info": { "author": "pbc", "author_email": "ctsit@ctsi.ufl.edu", "bugtrack_url": null, "classifiers": [], "description": "# MDAT\n\n## Medical Decision Aid Tool\n\n[![Build Status](https://travis-ci.org/ctsit/mdat.svg?branch=master)](https://travis-ci.org/ctsit/mdat)\n[![Build Status](https://travis-ci.org/ctsit/mdat.svg?branch=develop)](https://travis-ci.org/ctsit/mdat)\n\nThe MDAT is a set of software libraries to implement a _medical decision aid_. These libraries are designed to select the best of two or more alternatives given responses to a list of criteria. \n\n## Installation\n\nTo install from source, use setup.py\n\n python setup.py install\n\n## Usage Instructions\n\n_mdat --help_ provides current usage instructions:\n \n usage: mdat [-h] [-i {json}] [-o {json,brief,csv,csvnoheader}]\n [infile] [outfile]\n \n Select the best of two or more alternatives given responses to a list of\n criteria\n \n positional arguments:\n infile\n outfile\n \n optional arguments:\n -h, --help show this help message and exit\n -i {json}, --input {json}\n Specify the file type used as input. Valid types: json\n -o {json,brief,csv,csvnoheader}, --output {json,brief,csv,csvnoheader}\n Specify the file type used as input. Valid types:\n json, brief, csv, csvnoheader\n\n## Input data\n\nSample input data should be a json file with two or more labeled alternatives, one or more labeled criteria, and the numeric responses to each criteria for each alternative. This example input file shows response data for 4 criteria that could be used to determine the preferred type of colorectal cancer screening:\n\n {\n \"Accuracy\": {\n \"Fecal Immunochemical Test\": 0.1,\n \"Flexible Sigmoidoscopy\": 0.2,\n \"Colonoscopy\": 0.3\n },\n \"Amount of colon examined\": {\n \"Fecal Immunochemical Test\": 0.5,\n \"Flexible Sigmoidoscopy\": 0.7,\n \"Colonoscopy\": 0.8\n },\n \"Complications\": {\n \"Fecal Immunochemical Test\": 0.2,\n \"Flexible Sigmoidoscopy\": 0.1,\n \"Colonoscopy\": 0.9\n },\n \"Cost\": {\n \"Fecal Immunochemical Test\": 0.4,\n \"Flexible Sigmoidoscopy\": 0.8,\n \"Colonoscopy\": 0.9\n },\n \"Discomfort\": {\n \"Fecal Immunochemical Test\": 0.1,\n \"Flexible Sigmoidoscopy\": 0.3,\n \"Colonoscopy\": 0.9\n },\n \"Sedation\": {\n \"Fecal Immunochemical Test\": 1.0,\n \"Flexible Sigmoidoscopy\": 0.8,\n \"Colonoscopy\": 0.9\n },\n \"Test Preparation\": {\n \"Fecal Immunochemical Test\": 0.1,\n \"Flexible Sigmoidoscopy\": 0.2,\n \"Colonoscopy\": 1.0\n }\n }\n\n## Output data\n\nmdat can output data in three formats.\n\n $ mdat sample_data/test.json \n Colonoscopy\n \n $ mdat -o csv sample_data/test.json \n Fecal Immunochemical Test,Flexible Sigmoidoscopy,Colonoscopy\n 0.4403085839715581,0.4472662851726272,0.887231735365237\n \n $ mdat -o json sample_data/test.json \n {\"best_alternative\": \"Colonoscopy\", \"choquet_scores\": {\"Fecal Immunochemical Test\": 0.43414030720240016, \"Flexible Sigmoidoscopy\": 0.4729342460226981, \"Colonoscopy\": 0.9068722937866821}}\n\n## Requirements\n\nThis project requires Python 2.7 or greater.\n \nThis project uses Travis CI for automated testing. Please revise the .travis.yml to reflect any changes in required libraries as changes are made to the software.\n\n## Contributions\n\nThe MDAT Team welcomes contributions to this project. Please fork and send pull requests with your revisions. Any code changes must be accompanied by corresponding unit tests to be accepted. Please configure your account at https://travis-ci.org to test your commits to your fork so you get quick feedback on any issues created by your changes.", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ctsit/mdat", "keywords": null, "license": "Apache 2.0", "maintainer": null, "maintainer_email": null, "name": "mdat", "package_url": "https://pypi.org/project/mdat/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/mdat/", "project_urls": { "Homepage": "https://github.com/ctsit/mdat" }, "release_url": "https://pypi.org/project/mdat/0.3.1.2/", "requires_dist": null, "requires_python": null, "summary": "A decision aid designed to select the best of two or more alternatives given responses to a list of criteria", "version": "0.3.1.2" }, "last_serial": 1616658, "releases": { "0.3.1.2": [ { "comment_text": "", "digests": { "md5": "2a2f66fcf5c905891c079804db426ef8", "sha256": "77eff1aee98c00733dba6af5a66138ab54f762513cebae9b9f77739fd120a3ee" }, "downloads": -1, "filename": "mdat-0.3.1.2.zip", "has_sig": false, "md5_digest": "2a2f66fcf5c905891c079804db426ef8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19571, "upload_time": "2015-07-02T15:31:48", "url": "https://files.pythonhosted.org/packages/c5/07/9b350df88d3167a74572c69ddaae38eea68bc9f6b1083144cd27e0b8371c/mdat-0.3.1.2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2a2f66fcf5c905891c079804db426ef8", "sha256": "77eff1aee98c00733dba6af5a66138ab54f762513cebae9b9f77739fd120a3ee" }, "downloads": -1, "filename": "mdat-0.3.1.2.zip", "has_sig": false, "md5_digest": "2a2f66fcf5c905891c079804db426ef8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19571, "upload_time": "2015-07-02T15:31:48", "url": "https://files.pythonhosted.org/packages/c5/07/9b350df88d3167a74572c69ddaae38eea68bc9f6b1083144cd27e0b8371c/mdat-0.3.1.2.zip" } ] }