Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tolerance argument in LatentClass Model #190

Merged
merged 5 commits into from
Nov 29, 2024
Merged

Conversation

VincentAuriau
Copy link
Collaborator

No description provided.

Copy link
Contributor

github-actions bot commented Nov 28, 2024

Coverage

Coverage Report for Python 3.10
FileStmtsMissCoverMissing
choice_learn
   __init__.py20100% 
   tf_ops.py480100% 
choice_learn/data
   __init__.py30100% 
   choice_dataset.py6473395%198, 250, 283, 421, 463–464, 589, 724, 738, 840, 842, 937, 957–961, 1140, 1159–1161, 1174–1176, 1204, 1209, 1218, 1235, 1276, 1288, 1302, 1341, 1356, 1361, 1390, 1403, 1438–1439
   indexer.py2372291%20, 31, 45, 60–67, 202–204, 219–230, 265, 291
   storage.py161696%22, 33, 51, 56, 61, 71
   store.py72720%3–275
choice_learn/datasets
   __init__.py40100% 
   base.py38920448%38, 63–70, 92–98, 120, 151–152, 226, 232–261, 266–335, 350–399, 414–446, 455–522, 609–621, 624–627, 630, 637–648, 652–665, 674–700, 708, 714, 781, 868, 913, 962, 1047, 1132
   expedia.py1029210%27–301
   tafeng.py49198%50
choice_learn/datasets/data
   __init__.py00100% 
choice_learn/models
   __init__.py14286%15–16
   base_model.py2546574%144, 186, 283, 302, 342, 349, 378, 397, 428–429, 438–439, 641–646, 668–749, 776–804
   baseline_models.py490100% 
   conditional_logit.py2357966%45, 48, 50, 81, 84, 87–91, 94–98, 132, 297, 334, 391, 466–472, 597, 630–632, 648–669, 694–718, 722–745
   latent_class_base_model.py28023118%54–60, 94–97, 147–182, 218–228, 248–250, 261–275, 293–320, 339–431, 458–488, 524–559, 590–755, 770–794, 797–823, 842–849, 870–888, 905–920, 930
   latent_class_mnl.py60690%245–249, 284
   learning_mnl.py67396%157, 182, 188
   nested_logit.py2919567%55, 77, 160, 269, 351, 405, 407, 426–432, 484, 512–543, 600, 679, 729, 763–765, 783–802, 827–874, 883–909
   reslogit.py1321291%28, 30, 32, 34, 36, 285, 360, 369, 374, 382, 391, 432
   rumnet.py236399%748–751, 982
   simple_mnl.py1386751%154, 166, 207, 239–241, 259–278, 303–327, 331–357
   tastenet.py945640%15, 64, 90–104, 140–142, 177–207, 223, 238–254, 273–289
choice_learn/toolbox
   __init__.py00100% 
   assortment_optimizer.py27270%4–180
   gurobi_opt.py2382380%3–675
   or_tools_opt.py2262260%3–666
TOTAL4055154062% 

Tests Skipped Failures Errors Time
115 0 💤 14 ❌ 0 🔥 1m 12s ⏱️

Copy link
Contributor

github-actions bot commented Nov 28, 2024

Coverage

Coverage Report for Python 3.9
FileStmtsMissCoverMissing
choice_learn
   __init__.py20100% 
   tf_ops.py480100% 
choice_learn/data
   __init__.py30100% 
   choice_dataset.py6473395%198, 250, 283, 421, 463–464, 589, 724, 738, 840, 842, 937, 957–961, 1140, 1159–1161, 1174–1176, 1204, 1209, 1218, 1235, 1276, 1288, 1302, 1341, 1356, 1361, 1390, 1403, 1438–1439
   indexer.py2372291%20, 31, 45, 60–67, 202–204, 219–230, 265, 291
   storage.py161696%22, 33, 51, 56, 61, 71
   store.py72720%3–275
choice_learn/datasets
   __init__.py40100% 
   base.py38920547%40–41, 63–70, 92–98, 120, 151–152, 226, 232–261, 266–335, 350–399, 414–446, 455–522, 609–621, 624–627, 630, 637–648, 652–665, 674–700, 708, 714, 781, 868, 913, 962, 1047, 1132
   expedia.py1029210%27–301
   tafeng.py49198%50
choice_learn/datasets/data
   __init__.py00100% 
choice_learn/models
   __init__.py14286%15–16
   base_model.py2546574%144, 186, 283, 302, 342, 349, 378, 397, 428–429, 438–439, 641–646, 668–749, 776–804
   baseline_models.py490100% 
   conditional_logit.py2357966%45, 48, 50, 81, 84, 87–91, 94–98, 132, 297, 334, 391, 466–472, 597, 630–632, 648–669, 694–718, 722–745
   latent_class_base_model.py28023118%54–60, 94–97, 147–182, 218–228, 248–250, 261–275, 293–320, 339–431, 458–488, 524–559, 590–755, 770–794, 797–823, 842–849, 870–888, 905–920, 930
   latent_class_mnl.py60690%245–249, 284
   learning_mnl.py67396%157, 182, 188
   nested_logit.py2919567%55, 77, 160, 269, 351, 405, 407, 426–432, 484, 512–543, 600, 679, 729, 763–765, 783–802, 827–874, 883–909
   reslogit.py1321291%28, 30, 32, 34, 36, 285, 360, 369, 374, 382, 391, 432
   rumnet.py236399%748–751, 982
   simple_mnl.py1386751%154, 166, 207, 239–241, 259–278, 303–327, 331–357
   tastenet.py945640%15, 64, 90–104, 140–142, 177–207, 223, 238–254, 273–289
choice_learn/toolbox
   __init__.py00100% 
   assortment_optimizer.py27270%4–180
   gurobi_opt.py2362360%3–675
   or_tools_opt.py2262260%3–666
TOTAL4053153962% 

Tests Skipped Failures Errors Time
115 0 💤 14 ❌ 0 🔥 1m 8s ⏱️

Copy link
Contributor

github-actions bot commented Nov 28, 2024

Coverage

Coverage Report for Python 3.11
FileStmtsMissCoverMissing
choice_learn
   __init__.py20100% 
   tf_ops.py480100% 
choice_learn/data
   __init__.py30100% 
   choice_dataset.py6473395%198, 250, 283, 421, 463–464, 589, 724, 738, 840, 842, 937, 957–961, 1140, 1159–1161, 1174–1176, 1204, 1209, 1218, 1235, 1276, 1288, 1302, 1341, 1356, 1361, 1390, 1403, 1438–1439
   indexer.py2372291%20, 31, 45, 60–67, 202–204, 219–230, 265, 291
   storage.py161696%22, 33, 51, 56, 61, 71
   store.py72720%3–275
choice_learn/datasets
   __init__.py40100% 
   base.py38920448%38, 63–70, 92–98, 120, 151–152, 226, 232–261, 266–335, 350–399, 414–446, 455–522, 609–621, 624–627, 630, 637–648, 652–665, 674–700, 708, 714, 781, 868, 913, 962, 1047, 1132
   expedia.py1029210%27–301
   tafeng.py49198%50
choice_learn/datasets/data
   __init__.py00100% 
choice_learn/models
   __init__.py14286%15–16
   base_model.py2546574%144, 186, 283, 302, 342, 349, 378, 397, 428–429, 438–439, 641–646, 668–749, 776–804
   baseline_models.py490100% 
   conditional_logit.py2357966%45, 48, 50, 81, 84, 87–91, 94–98, 132, 297, 334, 391, 466–472, 597, 630–632, 648–669, 694–718, 722–745
   latent_class_base_model.py28023118%54–60, 94–97, 147–182, 218–228, 248–250, 261–275, 293–320, 339–431, 458–488, 524–559, 590–755, 770–794, 797–823, 842–849, 870–888, 905–920, 930
   latent_class_mnl.py60690%245–249, 284
   learning_mnl.py67396%157, 182, 188
   nested_logit.py2919567%55, 77, 160, 269, 351, 405, 407, 426–432, 484, 512–543, 600, 679, 729, 763–765, 783–802, 827–874, 883–909
   reslogit.py1321291%28, 30, 32, 34, 36, 285, 360, 369, 374, 382, 391, 432
   rumnet.py236399%748–751, 982
   simple_mnl.py1386751%154, 166, 207, 239–241, 259–278, 303–327, 331–357
   tastenet.py945640%15, 64, 90–104, 140–142, 177–207, 223, 238–254, 273–289
choice_learn/toolbox
   __init__.py00100% 
   assortment_optimizer.py27270%4–180
   gurobi_opt.py2382380%3–675
   or_tools_opt.py2262260%3–666
TOTAL4055154062% 

Tests Skipped Failures Errors Time
115 0 💤 14 ❌ 0 🔥 1m 12s ⏱️

Copy link
Contributor

github-actions bot commented Nov 28, 2024

Coverage

Coverage Report for Python 3.12
FileStmtsMissCoverMissing
choice_learn
   __init__.py20100% 
   tf_ops.py480100% 
choice_learn/data
   __init__.py30100% 
   choice_dataset.py6473395%198, 250, 283, 421, 463–464, 589, 724, 738, 840, 842, 937, 957–961, 1140, 1159–1161, 1174–1176, 1204, 1209, 1218, 1235, 1276, 1288, 1302, 1341, 1356, 1361, 1390, 1403, 1438–1439
   indexer.py2372291%20, 31, 45, 60–67, 202–204, 219–230, 265, 291
   storage.py161696%22, 33, 51, 56, 61, 71
   store.py72720%3–275
choice_learn/datasets
   __init__.py40100% 
   base.py38920448%38, 63–70, 92–98, 120, 151–152, 226, 232–261, 266–335, 350–399, 414–446, 455–522, 609–621, 624–627, 630, 637–648, 652–665, 674–700, 708, 714, 781, 868, 913, 962, 1047, 1132
   expedia.py1029210%27–301
   tafeng.py49198%50
choice_learn/datasets/data
   __init__.py00100% 
choice_learn/models
   __init__.py14286%15–16
   base_model.py2546574%144, 186, 283, 302, 342, 349, 378, 397, 428–429, 438–439, 641–646, 668–749, 776–804
   baseline_models.py490100% 
   conditional_logit.py2357966%45, 48, 50, 81, 84, 87–91, 94–98, 132, 297, 334, 391, 466–472, 597, 630–632, 648–669, 694–718, 722–745
   latent_class_base_model.py28023118%54–60, 94–97, 147–182, 218–228, 248–250, 261–275, 293–320, 339–431, 458–488, 524–559, 590–755, 770–794, 797–823, 842–849, 870–888, 905–920, 930
   latent_class_mnl.py60690%245–249, 284
   learning_mnl.py67396%157, 182, 188
   nested_logit.py2919567%55, 77, 160, 269, 351, 405, 407, 426–432, 484, 512–543, 600, 679, 729, 763–765, 783–802, 827–874, 883–909
   reslogit.py1321291%28, 30, 32, 34, 36, 285, 360, 369, 374, 382, 391, 432
   rumnet.py236399%748–751, 982
   simple_mnl.py1386751%154, 166, 207, 239–241, 259–278, 303–327, 331–357
   tastenet.py945640%15, 64, 90–104, 140–142, 177–207, 223, 238–254, 273–289
choice_learn/toolbox
   __init__.py00100% 
   assortment_optimizer.py27270%4–180
   gurobi_opt.py2382380%3–675
   or_tools_opt.py2262260%3–666
TOTAL4055154062% 

Tests Skipped Failures Errors Time
115 0 💤 14 ❌ 0 🔥 1m 33s ⏱️

@VincentAuriau VincentAuriau merged commit a9db338 into main Nov 29, 2024
5 checks passed
@VincentAuriau VincentAuriau deleted the fix-tol-lcmodel branch November 29, 2024 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant