Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
juanbc committed May 6, 2022
1 parent 43e747b commit f90b2b6
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
25 changes: 25 additions & 0 deletions docs/source/_dynamic/CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
.. FILE AUTO GENERATED !!
Version 0.7
-----------


*
**New method**\ : ``ELECTRE2``.

*
Now the ``RankingResult``\ , support repeated/tied rankings and some were
implemented to deal with these cases.


* ``RankingResult.has_ties_`` to see if there are tied values.
* ``RankingResult.ties_`` to see how often values are repeated.
* ``RankingResult.untided_rank_`` to get a ranking with no repeated values.
repeated values.

*
``KernelResult`` now implements several new properties:


* ``kernel_alternatives_`` to know which alternatives are in the kernel.
* ``kernel_size_`` to know the number of alternatives in the kernel.
* ``kernel_where_`` was replaced by ``kernel_where_`` to standardize the api.

Version 0.6
-----------

Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"sphinx.ext.autosummary",
"nbsphinx",
"sphinxcontrib.bibtex",
"sphinx_copybutton"
"sphinx_copybutton",
]
# =============================================================================
# EXTRA CONF
Expand Down
1 change: 0 additions & 1 deletion tests/madm/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ def test_KernelResult(kernel, kernel_size, kernel_where, kernel_alternatives):
assert np.all(result.kernelwhere_ == kernel_where)



@pytest.mark.parametrize("values", [[1, 2, 5], [True, False, 1], [1, 2, 3]])
def test_KernelResult_invalid_rank(values):
method = "foo"
Expand Down

0 comments on commit f90b2b6

Please sign in to comment.