Skip to content

Commit 99e58ae

Browse files
Julien RousselJulien Roussel
authored andcommitted
doc improvement
1 parent 79c6ab4 commit 99e58ae

3 files changed

Lines changed: 43 additions & 46 deletions

File tree

HISTORY.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@
22
History
33
=======
44

5-
0.1.10 (2024-??-??)
5+
0.1.11 (2025-12-30)
6+
------------------
7+
* PLKM test implemented and documented in the holes_characterization module
8+
9+
0.1.10 (2025-08-30)
610
------------------
711
* Long EM and RPCA operations wrapped with tqdm progress bars
812
* Readme code sample updated, and results table made consistent
913

10-
0.1.9 (2024-08-29)
14+
0.1.9 (2025-08-29)
1115
------------------
1216
* Tutorials reproducibility improved with random_state parameters
1317
* RPCA now accepts random_state parameters

examples/tutorials/plot_tuto_mcar.py

Lines changed: 37 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -231,33 +231,43 @@
231231
#
232232

233233
# %%
234-
235-
"""
236-
Calculation time
237-
================
238-
239-
+------------+------------+----------------------+
240-
| **n_rows** | **n_cols** | **Calculation_time** |
241-
+============+============+======================+
242-
| 200 | 2 | 2"12 |
243-
+------------+------------+----------------------+
244-
| 500 | 2 | 2"24 |
245-
+------------+------------+----------------------+
246-
| 500 | 4 | 2"18 |
247-
+------------+------------+----------------------+
248-
| 1000 | 4 | 2"48 |
249-
+------------+------------+----------------------+
250-
| 1000 | 6 | 2"42 |
251-
+------------+------------+----------------------+
252-
| 10000 | 6 | 20"54 |
253-
+------------+------------+----------------------+
254-
| 10000 | 10 | 14"48 |
255-
+------------+------------+----------------------+
256-
| 100000 | 10 | 4'51" |
257-
+------------+------------+----------------------+
258-
| 100000 | 15 | 3'06" |
259-
+------------+------------+----------------------+
260-
"""
234+
# Calculation time
235+
# ================
236+
#
237+
# .. list-table::
238+
# :header-rows: 1
239+
# :widths: 15 15 25
240+
#
241+
# * - **n_rows**
242+
# - **n_cols**
243+
# - **Calculation time**
244+
# * - 200
245+
# - 2
246+
# - 2"12
247+
# * - 500
248+
# - 2
249+
# - 2"24
250+
# * - 500
251+
# - 4
252+
# - 2"18
253+
# * - 1000
254+
# - 4
255+
# - 2"48
256+
# * - 1000
257+
# - 6
258+
# - 2"42
259+
# * - 10000
260+
# - 6
261+
# - 20"54
262+
# * - 10000
263+
# - 10
264+
# - 14"48
265+
# * - 100000
266+
# - 10
267+
# - 4'51"
268+
# * - 100000
269+
# - 15
270+
# - 3'06"
261271

262272
# %%
263273
# 2.1 Parameters and Hyperparameters
@@ -390,18 +400,3 @@
390400
# As a result, by removing the missing patterns induced by variable 2, the p-value rises
391401
# above the significance threshold set beforehand. Thus in this sense, the test detects that the
392402
# main culprit of the MAR mechanism lies in the second variable.
393-
394-
395-
# %%
396-
# Calculation time -> TO BE DELETED
397-
# | **n_rows** | **n_cols** | **Calculation_time** |
398-
# |------------|------------|----------------------|
399-
# | 200 | 2 | 2"12 |
400-
# | 500 | 2 | 2"24 |
401-
# | 500 | 4 | 2"18 |
402-
# | 1000 | 4 | 2"48 |
403-
# | 1000 | 6 | 2"42 |
404-
# | 10000 | 6 | 20"54 |
405-
# | 10000 | 10 | 14"48 |
406-
# | 100000 | 10 | 4'51" |
407-
# | 100000 | 15 | 3'06" |

qolmat/utils/utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,12 +414,10 @@ def _parallel_with_seeds_and_list(
414414
Seed or random state for reproducibility.
415415
416416
"""
417-
print("_parallel_with_seeds_and_list called with seed:", random_state)
418417
n_runs = len(args)
419418
rng = sku.check_random_state(random_state)
420419
ss = np.random.SeedSequence(rng.randint(0, 2**32))
421420
child_seeds = ss.spawn(n_runs)
422421
seeds = [np.random.default_rng(s).integers(0, 2**32) for s in child_seeds]
423-
print("Generated seeds:", seeds)
424422

425423
return Parallel(n_jobs=-1)(delayed(func)(seed, **arg) for seed, arg in zip(seeds, args))

0 commit comments

Comments
 (0)