Skip to content

Commit cc038be

Browse files
committed
Publish version 2.0.2
1 parent 6007f3f commit cc038be

46 files changed

Lines changed: 112 additions & 112 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

doc-sources/changelog.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
Changelog
55
=========
66

7-
Version 2.0.2rc0 (2025-10-14)
8-
=============================
7+
Version 2.0.2 (2025-10-14)
8+
==========================
99

1010
- Support Python 3.14
1111
- Provide ``manylinux_2_35`` wheels instead of ``manylinux_2_31`` (because GitHub Actions dropped Ubuntu 20.04 runners)

doc-sources/conceptual-overview/conceptual-overview.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"name": "stdout",
2222
"output_type": "stream",
2323
"text": [
24-
"# Reproduction command (with lincs version 2.0.2rc1.dev0): lincs classify problem.yml model.yml alternatives.csv\n",
24+
"# Reproduction command (with lincs version 2.0.2): lincs classify problem.yml model.yml alternatives.csv\n",
2525
"name,Math,Physics,Literature,History,category\n",
2626
"A,1,1,1,1,\"Full scholarship\"\n",
2727
"B,1,1,1,0,\"Full scholarship\"\n",

doc-sources/get-started.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ The generated ``problem.yml`` should look like:
7373

7474
.. code:: yaml
7575
76-
# Reproduction command (with lincs version 2.0.2rc1.dev0): lincs generate classification-problem 4 3 --random-seed 40
76+
# Reproduction command (with lincs version 2.0.2): lincs generate classification-problem 4 3 --random-seed 40
7777
kind: classification-problem
7878
format_version: 1
7979
criteria:
@@ -144,7 +144,7 @@ It should look like:
144144

145145
.. code:: yaml
146146
147-
# Reproduction command (with lincs version 2.0.2rc1.dev0): lincs generate classification-model problem.yml --random-seed 41 --model-type mrsort
147+
# Reproduction command (with lincs version 2.0.2): lincs generate classification-model problem.yml --random-seed 41 --model-type mrsort
148148
kind: ncs-classification-model
149149
format_version: 1
150150
accepted_values:
@@ -217,7 +217,7 @@ It should start with something like this, and contain 1000 alternatives:
217217

218218
.. code:: text
219219
220-
# Reproduction command (with lincs version 2.0.2rc1.dev0): lincs generate classified-alternatives problem.yml model.yml 1000 --random-seed 42 --misclassified-count 0
220+
# Reproduction command (with lincs version 2.0.2): lincs generate classified-alternatives problem.yml model.yml 1000 --random-seed 42 --misclassified-count 0
221221
name,"Criterion 1","Criterion 2","Criterion 3","Criterion 4",category
222222
"Alternative 1",0.37454012,0.796543002,0.95071429,0.183434784,"Best category"
223223
"Alternative 2",0.731993914,0.779690981,0.598658502,0.596850157,"Intermediate category 1"
@@ -253,7 +253,7 @@ so it is numerically different:
253253

254254
.. code:: yaml
255255
256-
# Reproduction command (with lincs version 2.0.2rc1.dev0): lincs learn classification-model problem.yml learning-set.csv --model-type mrsort --mrsort.strategy weights-profiles-breed --mrsort.weights-profiles-breed.models-count 9 --mrsort.weights-profiles-breed.accuracy-heuristic.random-seed 43 --mrsort.weights-profiles-breed.initialization-strategy maximize-discrimination-per-criterion --mrsort.weights-profiles-breed.weights-strategy linear-program --mrsort.weights-profiles-breed.linear-program.solver glop --mrsort.weights-profiles-breed.profiles-strategy accuracy-heuristic --mrsort.weights-profiles-breed.accuracy-heuristic.processor cpu --mrsort.weights-profiles-breed.breed-strategy reinitialize-least-accurate --mrsort.weights-profiles-breed.reinitialize-least-accurate.portion 0.5 --mrsort.weights-profiles-breed.target-accuracy 1.0
256+
# Reproduction command (with lincs version 2.0.2): lincs learn classification-model problem.yml learning-set.csv --model-type mrsort --mrsort.strategy weights-profiles-breed --mrsort.weights-profiles-breed.models-count 9 --mrsort.weights-profiles-breed.accuracy-heuristic.random-seed 43 --mrsort.weights-profiles-breed.initialization-strategy maximize-discrimination-per-criterion --mrsort.weights-profiles-breed.weights-strategy linear-program --mrsort.weights-profiles-breed.linear-program.solver glop --mrsort.weights-profiles-breed.profiles-strategy accuracy-heuristic --mrsort.weights-profiles-breed.accuracy-heuristic.processor cpu --mrsort.weights-profiles-breed.breed-strategy reinitialize-least-accurate --mrsort.weights-profiles-breed.reinitialize-least-accurate.portion 0.5 --mrsort.weights-profiles-breed.target-accuracy 1.0
257257
kind: ncs-classification-model
258258
format_version: 1
259259
accepted_values:

doc-sources/get-started/get-started.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"name": "stdout",
4949
"output_type": "stream",
5050
"text": [
51-
"# Reproduction command (with lincs version 2.0.2rc1.dev0): lincs generate classification-problem 4 3 --random-seed 40\n",
51+
"# Reproduction command (with lincs version 2.0.2): lincs generate classification-problem 4 3 --random-seed 40\n",
5252
"kind: classification-problem\n",
5353
"format_version: 1\n",
5454
"criteria:\n",
@@ -126,7 +126,7 @@
126126
"name": "stdout",
127127
"output_type": "stream",
128128
"text": [
129-
"# Reproduction command (with lincs version 2.0.2rc1.dev0): lincs generate classification-model problem.yml --random-seed 41 --model-type mrsort\n",
129+
"# Reproduction command (with lincs version 2.0.2): lincs generate classification-model problem.yml --random-seed 41 --model-type mrsort\n",
130130
"kind: ncs-classification-model\n",
131131
"format_version: 1\n",
132132
"accepted_values:\n",
@@ -211,7 +211,7 @@
211211
"name": "stdout",
212212
"output_type": "stream",
213213
"text": [
214-
"# Reproduction command (with lincs version 2.0.2rc1.dev0): lincs generate classified-alternatives problem.yml model.yml 1000 --random-seed 42 --misclassified-count 0\n",
214+
"# Reproduction command (with lincs version 2.0.2): lincs generate classified-alternatives problem.yml model.yml 1000 --random-seed 42 --misclassified-count 0\n",
215215
"name,\"Criterion 1\",\"Criterion 2\",\"Criterion 3\",\"Criterion 4\",category\n",
216216
"\"Alternative 1\",0.37454012,0.796543002,0.95071429,0.183434784,\"Best category\"\n",
217217
"\"Alternative 2\",0.731993914,0.779690981,0.598658502,0.596850157,\"Intermediate category 1\"\n",
@@ -260,7 +260,7 @@
260260
"name": "stdout",
261261
"output_type": "stream",
262262
"text": [
263-
"# Reproduction command (with lincs version 2.0.2rc1.dev0): lincs learn classification-model problem.yml learning-set.csv --model-type mrsort --mrsort.strategy weights-profiles-breed --mrsort.weights-profiles-breed.models-count 9 --mrsort.weights-profiles-breed.accuracy-heuristic.random-seed 43 --mrsort.weights-profiles-breed.initialization-strategy maximize-discrimination-per-criterion --mrsort.weights-profiles-breed.weights-strategy linear-program --mrsort.weights-profiles-breed.linear-program.solver glop --mrsort.weights-profiles-breed.profiles-strategy accuracy-heuristic --mrsort.weights-profiles-breed.accuracy-heuristic.processor cpu --mrsort.weights-profiles-breed.breed-strategy reinitialize-least-accurate --mrsort.weights-profiles-breed.reinitialize-least-accurate.portion 0.5 --mrsort.weights-profiles-breed.target-accuracy 1.0\n",
263+
"# Reproduction command (with lincs version 2.0.2): lincs learn classification-model problem.yml learning-set.csv --model-type mrsort --mrsort.strategy weights-profiles-breed --mrsort.weights-profiles-breed.models-count 9 --mrsort.weights-profiles-breed.accuracy-heuristic.random-seed 43 --mrsort.weights-profiles-breed.initialization-strategy maximize-discrimination-per-criterion --mrsort.weights-profiles-breed.weights-strategy linear-program --mrsort.weights-profiles-breed.linear-program.solver glop --mrsort.weights-profiles-breed.profiles-strategy accuracy-heuristic --mrsort.weights-profiles-breed.accuracy-heuristic.processor cpu --mrsort.weights-profiles-breed.breed-strategy reinitialize-least-accurate --mrsort.weights-profiles-breed.reinitialize-least-accurate.portion 0.5 --mrsort.weights-profiles-breed.target-accuracy 1.0\n",
264264
"kind: ncs-classification-model\n",
265265
"format_version: 1\n",
266266
"accepted_values:\n",

doc-sources/user-guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ They produce a different kind of model, with the sufficient coalitions specified
512512

513513
.. code:: yaml
514514
515-
# Reproduction command (with lincs version 2.0.2rc1.dev0): lincs learn classification-model problem.yml learning-set.csv --model-type ucncs --ucncs.strategy sat-by-coalitions
515+
# Reproduction command (with lincs version 2.0.2): lincs learn classification-model problem.yml learning-set.csv --model-type ucncs --ucncs.strategy sat-by-coalitions
516516
kind: ncs-classification-model
517517
format_version: 1
518518
accepted_values:

doc-sources/user-guide/alglib-learning/alglib-learning.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"name": "stdout",
2828
"output_type": "stream",
2929
"text": [
30-
"# Reproduction command (with lincs version 2.0.2rc1.dev0): lincs learn classification-model problem.yml learning-set.csv --model-type mrsort --mrsort.strategy weights-profiles-breed --mrsort.weights-profiles-breed.models-count 9 --mrsort.weights-profiles-breed.accuracy-heuristic.random-seed 43 --mrsort.weights-profiles-breed.initialization-strategy maximize-discrimination-per-criterion --mrsort.weights-profiles-breed.weights-strategy linear-program --mrsort.weights-profiles-breed.linear-program.solver alglib --mrsort.weights-profiles-breed.profiles-strategy accuracy-heuristic --mrsort.weights-profiles-breed.accuracy-heuristic.processor cpu --mrsort.weights-profiles-breed.breed-strategy reinitialize-least-accurate --mrsort.weights-profiles-breed.reinitialize-least-accurate.portion 0.5 --mrsort.weights-profiles-breed.target-accuracy 1.0\n",
30+
"# Reproduction command (with lincs version 2.0.2): lincs learn classification-model problem.yml learning-set.csv --model-type mrsort --mrsort.strategy weights-profiles-breed --mrsort.weights-profiles-breed.models-count 9 --mrsort.weights-profiles-breed.accuracy-heuristic.random-seed 43 --mrsort.weights-profiles-breed.initialization-strategy maximize-discrimination-per-criterion --mrsort.weights-profiles-breed.weights-strategy linear-program --mrsort.weights-profiles-breed.linear-program.solver alglib --mrsort.weights-profiles-breed.profiles-strategy accuracy-heuristic --mrsort.weights-profiles-breed.accuracy-heuristic.processor cpu --mrsort.weights-profiles-breed.breed-strategy reinitialize-least-accurate --mrsort.weights-profiles-breed.reinitialize-least-accurate.portion 0.5 --mrsort.weights-profiles-breed.target-accuracy 1.0\n",
3131
"kind: ncs-classification-model\n",
3232
"format_version: 1\n",
3333
"accepted_values:\n",

doc-sources/user-guide/gpu-learning/gpu-learning.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"name": "stdout",
2828
"output_type": "stream",
2929
"text": [
30-
"# Reproduction command (with lincs version 2.0.2rc1.dev0): lincs learn classification-model problem.yml learning-set.csv --model-type mrsort --mrsort.strategy weights-profiles-breed --mrsort.weights-profiles-breed.models-count 9 --mrsort.weights-profiles-breed.accuracy-heuristic.random-seed 43 --mrsort.weights-profiles-breed.initialization-strategy maximize-discrimination-per-criterion --mrsort.weights-profiles-breed.weights-strategy linear-program --mrsort.weights-profiles-breed.linear-program.solver glop --mrsort.weights-profiles-breed.profiles-strategy accuracy-heuristic --mrsort.weights-profiles-breed.accuracy-heuristic.processor gpu --mrsort.weights-profiles-breed.breed-strategy reinitialize-least-accurate --mrsort.weights-profiles-breed.reinitialize-least-accurate.portion 0.5 --mrsort.weights-profiles-breed.target-accuracy 1.0\n",
30+
"# Reproduction command (with lincs version 2.0.2): lincs learn classification-model problem.yml learning-set.csv --model-type mrsort --mrsort.strategy weights-profiles-breed --mrsort.weights-profiles-breed.models-count 9 --mrsort.weights-profiles-breed.accuracy-heuristic.random-seed 43 --mrsort.weights-profiles-breed.initialization-strategy maximize-discrimination-per-criterion --mrsort.weights-profiles-breed.weights-strategy linear-program --mrsort.weights-profiles-breed.linear-program.solver glop --mrsort.weights-profiles-breed.profiles-strategy accuracy-heuristic --mrsort.weights-profiles-breed.accuracy-heuristic.processor gpu --mrsort.weights-profiles-breed.breed-strategy reinitialize-least-accurate --mrsort.weights-profiles-breed.reinitialize-least-accurate.portion 0.5 --mrsort.weights-profiles-breed.target-accuracy 1.0\n",
3131
"kind: ncs-classification-model\n",
3232
"format_version: 1\n",
3333
"accepted_values:\n",

doc-sources/user-guide/sat-learning/sat-learning.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"name": "stdout",
2323
"output_type": "stream",
2424
"text": [
25-
"# Reproduction command (with lincs version 2.0.2rc1.dev0): lincs learn classification-model problem.yml learning-set.csv --model-type ucncs --ucncs.strategy sat-by-coalitions\n",
25+
"# Reproduction command (with lincs version 2.0.2): lincs learn classification-model problem.yml learning-set.csv --model-type ucncs --ucncs.strategy sat-by-coalitions\n",
2626
"kind: ncs-classification-model\n",
2727
"format_version: 1\n",
2828
"accepted_values:\n",
@@ -58,7 +58,7 @@
5858
"name": "stdout",
5959
"output_type": "stream",
6060
"text": [
61-
"# Reproduction command (with lincs version 2.0.2rc1.dev0): lincs learn classification-model problem.yml learning-set.csv --model-type ucncs --ucncs.strategy max-sat-by-separation --ucncs.max-sat-by-separation.solver eval-max-sat --ucncs.max-sat-by-separation.eval-max-sat.nb-minimize-threads 0 --ucncs.max-sat-by-separation.eval-max-sat.timeout-fast-minimize 60 --ucncs.max-sat-by-separation.eval-max-sat.coef-minimize-time 2\n",
61+
"# Reproduction command (with lincs version 2.0.2): lincs learn classification-model problem.yml learning-set.csv --model-type ucncs --ucncs.strategy max-sat-by-separation --ucncs.max-sat-by-separation.solver eval-max-sat --ucncs.max-sat-by-separation.eval-max-sat.nb-minimize-threads 0 --ucncs.max-sat-by-separation.eval-max-sat.timeout-fast-minimize 60 --ucncs.max-sat-by-separation.eval-max-sat.coef-minimize-time 2\n",
6262
"kind: ncs-classification-model\n",
6363
"format_version: 1\n",
6464
"accepted_values:\n",

doc-sources/user-guide/synthetic-data/synthetic-data.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"name": "stdout",
1515
"output_type": "stream",
1616
"text": [
17-
"# Reproduction command (with lincs version 2.0.2rc1.dev0): lincs generate classification-problem 4 3 --random-seed 57\n",
17+
"# Reproduction command (with lincs version 2.0.2): lincs generate classification-problem 4 3 --random-seed 57\n",
1818
"kind: classification-problem\n",
1919
"format_version: 1\n",
2020
"criteria:\n",
@@ -63,7 +63,7 @@
6363
"name": "stdout",
6464
"output_type": "stream",
6565
"text": [
66-
"# Reproduction command (with lincs version 2.0.2rc1.dev0): lincs generate classification-model problem.yml --random-seed 58 --model-type mrsort\n",
66+
"# Reproduction command (with lincs version 2.0.2): lincs generate classification-model problem.yml --random-seed 58 --model-type mrsort\n",
6767
"kind: ncs-classification-model\n",
6868
"format_version: 1\n",
6969
"accepted_values:\n",
@@ -101,7 +101,7 @@
101101
"name": "stdout",
102102
"output_type": "stream",
103103
"text": [
104-
"# Reproduction command (with lincs version 2.0.2rc1.dev0): lincs generate classified-alternatives problem.yml model.yml 100 --random-seed 59 --misclassified-count 0\n",
104+
"# Reproduction command (with lincs version 2.0.2): lincs generate classified-alternatives problem.yml model.yml 100 --random-seed 59 --misclassified-count 0\n",
105105
"name,\"Criterion 1\",\"Criterion 2\",\"Criterion 3\",\"Criterion 4\",category\n",
106106
"\"Alternative 1\",0.924035132,0.804616809,0.157870576,0.637420833,\"Best category\"\n",
107107
"\"Alternative 2\",0.866915047,0.979161799,0.0841569453,0.397855282,\"Best category\"\n",
@@ -224,7 +224,7 @@
224224
"name": "stdout",
225225
"output_type": "stream",
226226
"text": [
227-
"# Reproduction command (with lincs version 2.0.2rc1.dev0): lincs learn classification-model problem.yml learning-set.csv --model-type mrsort --mrsort.strategy weights-profiles-breed --mrsort.weights-profiles-breed.models-count 9 --mrsort.weights-profiles-breed.accuracy-heuristic.random-seed 60 --mrsort.weights-profiles-breed.initialization-strategy maximize-discrimination-per-criterion --mrsort.weights-profiles-breed.weights-strategy linear-program --mrsort.weights-profiles-breed.linear-program.solver glop --mrsort.weights-profiles-breed.profiles-strategy accuracy-heuristic --mrsort.weights-profiles-breed.accuracy-heuristic.processor cpu --mrsort.weights-profiles-breed.breed-strategy reinitialize-least-accurate --mrsort.weights-profiles-breed.reinitialize-least-accurate.portion 0.5 --mrsort.weights-profiles-breed.target-accuracy 1.0\n",
227+
"# Reproduction command (with lincs version 2.0.2): lincs learn classification-model problem.yml learning-set.csv --model-type mrsort --mrsort.strategy weights-profiles-breed --mrsort.weights-profiles-breed.models-count 9 --mrsort.weights-profiles-breed.accuracy-heuristic.random-seed 60 --mrsort.weights-profiles-breed.initialization-strategy maximize-discrimination-per-criterion --mrsort.weights-profiles-breed.weights-strategy linear-program --mrsort.weights-profiles-breed.linear-program.solver glop --mrsort.weights-profiles-breed.profiles-strategy accuracy-heuristic --mrsort.weights-profiles-breed.accuracy-heuristic.processor cpu --mrsort.weights-profiles-breed.breed-strategy reinitialize-least-accurate --mrsort.weights-profiles-breed.reinitialize-least-accurate.portion 0.5 --mrsort.weights-profiles-breed.target-accuracy 1.0\n",
228228
"kind: ncs-classification-model\n",
229229
"format_version: 1\n",
230230
"accepted_values:\n",

docs/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: d949ef774bc9ee5dff4053d0e912715c
3+
config: e225c3b07069faee90e423595a206d72
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

0 commit comments

Comments
 (0)