UDST / choicemodels

Python library for discrete choice modeling
https://udst.github.io/choicemodels
BSD 3-Clause "New" or "Revised" License
74 stars 33 forks source link

[0.2.dev6] Cleanup #49

Closed smmaurer closed 5 years ago

smmaurer commented 5 years ago

This PR implements a variety of small fixes and cleanup.

  1. Resolves deprecation warnings from older code:

    • df.values -> df.as_matrix
    • df.ix -> df.iloc
    • logger.warn -> logger.warning
    • no more imports from numpy.core.umath_tests
    • no more direct calling of pytest fixtures
  2. Removes local copy of mnl_simulate (originally from urbansim.urbanchoice.mnl), as this has been fully replaced by choicemodels.tools.simulation

  3. Removes wrapper for binary logit, which was a proof of concept for MNL and didn't provide much value on its own

Versioning

Increments version number to 0.2.dev6

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.4%) to 74.885% when pulling 3b12d7bf576f913d2d7be455769f69febd26e9cc on cleanup into 0626ab378c0b6810721b6b48858662f3272cf0c3 on master.