Giter Club home page Giter Club logo

hazardous's Introduction

HΛZΛRDOUS

Predictive Competing Risks and Survival Analysis.

Tests

Installation and usage

XXX: the following will work only once the 0.1.0 release is out!

pip install hazardous

or

conda install -c conda-forge hazardous

Then browse the online documentation and run the examples/ to get started.

Development and testing

Install in "editable" mode in your current Python env (after a standard installation to install the dependencies):

pip install flit
pip install . -v
pip install -e ".[dev]" --no-build-isolation -v
pre-commit install

Run the tests with nox to test in an environment that matches exactly on specific CI build, for instance:

nox -p 3.11 -s test_latest_from_pypi -r

The -r flag makes it possible to reuse an existing env.

You can also install the test dependencies in the current env and use pytest directly with arbitrary command line arguments:

pip install -e ".[test]" --no-build-isolation -v
pytest -vl -x -k test_name_pattern

Building the doc

Using nox:

nox -s doc -r

or manually:

pip install -e ".[doc]" --no-build-isolation -v
cd doc
make html

The resulting html files are generated under the doc/_build folder.

Building a release

pip install build
python -m build
ls dist/

TODO: make it possible to automate a release using GitHub Actions for a given tag.

hazardous's People

Contributors

ogrisel avatar vincent-maladiere avatar glemaitre avatar jualberge avatar gaelvaroquaux avatar jovan-stojanovic avatar judithabk6 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.