Skip to content

Commit

Permalink
README remove implemented from plans
Browse files Browse the repository at this point in the history
  • Loading branch information
gecko984 committed Feb 24, 2020
1 parent 6fdb736 commit c27f763
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,6 @@ _Thanks to [u/aboutscientific](https://www.reddit.com/user/aboutscientific/) for
- Tuning of the randomized algorithm for more optimal results (experiments are underway).
- Implement some way to inspect individual intersections (probably label them with alphabetic codes like columns in
Excel tables, and `supervenn` function returns a dict with these codes as keys and intersection sets as values).
- Ensure reproducibility of results: for same input, the randomized column reordering algorithm should always return
the same permutation.
- Tests for the `_plots` module.
- Web-based app for non-pythonistas.

Expand Down
3 changes: 1 addition & 2 deletions supervenn/_algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,6 @@ def run_randomized_greedy_algorithm(arr, row_weights=None, seeds=DEFAULT_SEEDS,

arr = arr.astype(int)


# Compute similarities matrix
similarities = columns_similarities_matrix(arr, row_weights=row_weights)

Expand Down Expand Up @@ -397,7 +396,7 @@ def get_permutations(chunks, composition_array, chunks_ordering='minimize gaps',
permutation = np.argsort(case['array'].sum(0))
elif case['ordering'] == 'random':
permutation = np.array(range(len(case['sizes'])))
np.random.seed(datetime.datetime.now().microsecond)
#np.random.seed(datetime.datetime.now().microsecond)
np.random.shuffle(permutation)
elif case['ordering'] is None:
permutation = np.array(range(len(case['sizes'])))
Expand Down

0 comments on commit c27f763

Please sign in to comment.