Commit Graph

342 Commits

Author SHA1 Message Date
Mirko Bunse e83966f1ff Merge branch 'composable-doc' into devel 2024-07-02 12:15:34 +02:00
Mirko Bunse bf65c00349 Example on composable methods 2024-07-02 12:04:40 +02:00
Alejandro Moreo Fernandez 781ce82b90 np.product --> np.prod 2024-07-02 09:52:00 +02:00
Alejandro Moreo Fernandez ad11b86168 adding environment variables for N_JOBS, and adding a default classifier (sklearn's logistic regression) for when the classifier is not specified in aggregative quantifiers 2024-05-30 10:53:53 +02:00
Alejandro Moreo Fernandez 9ad36ef008 cleaning examples and adding basic example 2024-05-29 14:24:03 +02:00
Alejandro Moreo Fernandez acfb02c51f bugfix import and missing certifi in setup 2024-05-17 18:04:22 +02:00
Alejandro Moreo Fernandez 4db21b6945 smoothing the prevalences in kld error function, bugfix 2024-05-08 11:31:56 +02:00
Alejandro Moreo Fernandez 817aab1d99 Merge branch 'devel' of github.com:HLT-ISTI/QuaPy into devel 2024-04-30 09:55:50 +02:00
Alejandro Moreo Fernandez 7f39f4df66 file kept open in utils pickled resource, fixed 2024-04-30 09:55:28 +02:00
Alejandro Moreo Fernandez 8517338765
Merge branch 'devel' into ucimulti 2024-04-29 17:58:06 +02:00
Lorenzo Volpi 19524f9aa8 ucimulti datasets removed, cleaning 2024-04-29 17:36:13 +02:00
Lorenzo Volpi 498fd8b050 datasets removed from ucimulti 2024-04-24 17:23:01 +02:00
Alejandro Moreo Fernandez f1462897ef
Merge pull request #32 from mirkobunse/devel
Integrate composable methods from qunfold
2024-04-24 15:26:32 +02:00
Lorenzo Volpi f74b048e2d uci_multi dataset removed 2024-04-24 15:20:14 +02:00
Lorenzo Volpi ecfc175622 datasets removed, debug output added 2024-04-23 16:30:17 +02:00
Alejandro Moreo Fernandez bf33c134fc
Update _kdey.py
fix in KDEy: makes the method robust to cases in which the number of positives for any class is smaller than the number k of folds. In such cases, the kde for that class is created from the uniform prevalence vector
2024-04-19 14:23:35 +02:00
Mirko Bunse da99f78c0c Merge remote-tracking branch 'fork-origin/devel' into devel 2024-04-18 10:09:17 +02:00
Mirko Bunse 2000c33372 Composable methods integrated from qunfold, which is an extra dependency for quapy.method.composable 2024-04-18 10:08:49 +02:00
Alejandro Moreo Fernandez e6f380dc5f update changelog 2024-04-18 09:38:33 +02:00
Mirko Bunse a64620c377 Dataset.reduce() allows to fix the random_state to have reproducible unit tests. This is required to ensure that the expected hyper-parameters are always chosen, independent of randomness 2024-04-17 14:46:37 +02:00
Mirko Bunse 72b43bd2f8 Omit large datasets (LeQua, IFCB) during CI to avoid overful memory of GitHub Actions runners 2024-04-17 13:46:59 +02:00
Mirko Bunse 69b8327fe9 Remove an erroneous import in the unit tests and add extra test dependencies. 2024-04-17 11:44:23 +02:00
Alejandro Moreo Fernandez db6ff4ab9e refactored unittests 2024-04-16 17:46:58 +02:00
Alejandro Moreo Fernandez 561b672200 updated unit tests 2024-04-16 15:12:22 +02:00
Alejandro Moreo Fernandez 99bc8508ac Merge branch 'devel' of gitea-s2i2s.isti.cnr.it:moreo/QuaPy into devel 2024-04-15 18:00:56 +02:00
Alejandro Moreo Fernandez 9207114cfa improving unit tests 2024-04-15 18:00:38 +02:00
Alejandro Moreo Fernandez e0b80167b9 added max_train_instances to fetch_UCIMulticlassLabelledCollection 2024-04-12 18:24:12 +02:00
Alejandro Moreo Fernandez 4abec6629b integrating more uci-multiclass datasets 2024-04-12 18:08:00 +02:00
Alejandro Moreo Fernandez 3095d7092c Merge branch 'ucimulti' of github.com:lorenzovolpi/QuaPy into lorenzovolpi-ucimulti 2024-04-12 13:36:38 +02:00
Alejandro Moreo Fernandez b53d417240 merged 2024-04-12 13:35:13 +02:00
Lorenzo Volpi f69fca32b4 Added UCI multiclass datasets; added filter for min instances per class to UCI multiclass datasets 2024-04-11 20:08:52 +02:00
Alejandro Moreo Fernandez a04723a976 switching 2024-03-20 17:31:07 +01:00
Alejandro Moreo Fernandez aa894a3472 merging PR; I have taken this opportunity to refactor some issues I didnt like, including the normalization of prevalence vectors, and improving the documentation here and there 2024-03-19 15:01:42 +01:00
Alejandro Moreo Fernandez 36ac6db27d fixing doc 2024-03-18 23:39:55 +01:00
Paweł Czyż 5cdd158fcc Add invariant ratio estimators. 2024-03-15 18:14:42 +01:00
Paweł Czyż d34b086a76 Refactor solving routine 2024-03-15 17:58:23 +01:00
Paweł Czyż 4dd66b1921 Add projection onto the probability simplex 2024-03-15 17:15:16 +01:00
Alejandro Moreo Fernandez 3921b8368e merging BayesianCC implemented by Pawel Czyz 2024-03-15 16:24:45 +01:00
Paweł Czyż 2cc4908326 Sketch of the Bayesian quantification 2024-03-15 14:01:24 +01:00
Paweł Czyż 3705264529 Fix a typo. 2024-03-14 10:39:26 +01:00
Alejandro Moreo Fernandez 75af15ae4a force all samples be with replacement in base.LabelledCollection, irrespective of the sample size requested 2024-02-28 08:46:54 +01:00
Alejandro Moreo Fernandez b3ccf71edb Merge branch 'devel' of github.com:HLT-ISTI/QuaPy into devel 2024-02-23 16:30:11 +01:00
Alejandro Moreo Fernandez 320b3eac38 small fixes in kdey (now should work with string labels) and EMQ (in case some training prior prob was 0, it broke) 2024-02-23 16:29:53 +01:00
Alejandro Moreo Fernandez 9542eaee61 doing some benchmarking 2024-02-22 15:10:45 +01:00
Alejandro Moreo Fernandez d50a86daf4 sketching readme system by Lu and King, Hopings and King 2024-02-16 17:34:10 +01:00
Alejandro Moreo Fernandez 40cb8f78fe pytests before release 2024-02-14 12:27:19 +01:00
Alejandro Moreo Fernandez 7705c92c8c fixing ifcb and documenting 2024-02-12 12:39:18 +01:00
Alejandro Moreo Fernandez a8230827e2 testing IFCB dataset 2024-02-08 14:33:22 +01:00
Alejandro Moreo Fernandez 3c28a75b8c merging conflicts I didn see 2024-02-07 18:51:06 +01:00
Alejandro Moreo Fernandez a97978b85d merged 2024-02-07 18:45:42 +01:00
Alejandro Moreo Fernandez fcc3f8a0d9 fixing sphinx doc 2024-02-07 18:31:34 +01:00
Alejandro Moreo Fernandez 2f2e48d86a passing pytests 2024-01-29 09:43:29 +01:00
Alejandro Moreo Fernandez e6dcfbced1 adding M.Bunse's reference for the solver='minimize' option of ACC, PACC 2024-01-25 18:03:35 +01:00
Alejandro Moreo Fernandez 74efa9751d adding the approximate solution to ACC and PACC as suggested by Mirko Bunse 2024-01-25 16:43:00 +01:00
Alejandro Moreo Fernandez 7ac834bd2c refactoring aggregation methods 2024-01-25 14:33:41 +01:00
Alejandro Moreo Fernandez ff00de18cb updating documentation a bit 2024-01-19 18:24:38 +01:00
Alejandro Moreo Fernandez 7137e7ac40 updating change log file to give credit to T.Schumacher and colleagues for pointing out the errors in the threshold optimization methods 2024-01-19 18:18:38 +01:00
Alejandro Moreo Fernandez 8d22ba39f4 method MS2 (Medium Sweep 2) fixed 2024-01-19 18:11:22 +01:00
Alejandro Moreo Fernandez b68b58ad11 fixed optimization threshold methods (again) 2024-01-18 18:26:40 +01:00
Alejandro Moreo Fernandez c0d92a2083 optimization threshold variants fixed 2024-01-18 18:22:22 +01:00
Alejandro Moreo Fernandez 9b2470c992 testing optimization threshold variants, not working 2024-01-17 19:15:50 +01:00
Alejandro Moreo Fernandez 896fa042d6 fixing threshold optimization-based techniques 2024-01-17 09:33:39 +01:00
Alejandro Moreo Fernandez 6d53b68d7f refactoring aggregative 2024-01-10 15:39:27 +01:00
Alejandro Moreo Fernandez 2d12ce12b9 bugfix in APP 2023-12-18 17:15:53 +01:00
Alejandro Moreo Fernandez c56fe9c09c merged 2023-12-18 10:25:56 +01:00
Alejandro Moreo Fernandez 5caf555d65 mergin 2023-12-18 10:24:36 +01:00
Alejandro Moreo Fernandez eb9a3dde2a grid search almost complete 2023-11-21 18:59:36 +01:00
Alejandro Moreo Fernandez 6663b4c91d context timeout 2023-11-20 22:05:26 +01:00
Alejandro Moreo Fernandez f785a4eeef model selection with error handling 2023-11-16 19:56:30 +01:00
Alejandro Moreo Fernandez 513c78f1f3 model seletion in two levels, classifier oriented and quantifier oriented 2023-11-16 14:29:34 +01:00
Alejandro Moreo Fernandez e870d798b7 fango 2023-11-15 10:55:13 +01:00
Alejandro Moreo Fernandez 173db83c28 solved __ issue in hierarchical classes 2023-11-13 17:03:24 +01:00
Andrea Esuli c2544b50ce Removed private method 2023-11-13 14:45:34 +01:00
Alejandro Moreo Fernandez c9c4511c0d hierarchical class problem? 2023-11-13 12:42:57 +01:00
Alejandro Moreo Fernandez 44bfc7921f refactoring agg quantifiers 2023-11-13 09:57:34 +01:00
Alejandro Moreo Fernandez 0a6185d908 refactoring the aggregative quantifiers 2023-11-12 14:45:03 +01:00
Alejandro Moreo Fernandez 25f1cc29a3 refactoring aggregative quantifiers 2023-11-12 13:04:19 +01:00
Alejandro Moreo Fernandez 29db15ae25 added DMx and DMy, with a classmethod that returns HDx and HDy respectively 2023-11-09 18:13:54 +01:00
Alejandro Moreo Fernandez daca2bd1cb added MedianEstimator quantifier 2023-11-09 14:20:41 +01:00
Alejandro Moreo Fernandez 66ad7295df fix in DistributionMatchingX 2023-11-08 18:11:45 +01:00
Alejandro Moreo Fernandez c3cf0e2d49 adding DistributionMatchingX, the covariate-specific equivalent counterpart of DistributionMatching 2023-11-08 16:13:48 +01:00
Alejandro Moreo Fernandez 76cf784844 added HDx and an example comparing HDy vs HDx 2023-11-08 15:34:17 +01:00
Alejandro Moreo Fernandez 8a6579428b implementing the 'total' function of IFCB protocols 2023-11-08 11:31:33 +01:00
Alejandro Moreo Fernandez f18bce5f80 added dataset IFCB plankton 2023-11-08 11:07:47 +01:00
Alejandro Moreo Fernandez 3d4ffcea62 merging cross-val fix 2023-11-08 10:00:25 +01:00
Lorenzo Volpi 5c7fbb2554 cross_val_predict fix added 2023-11-06 02:00:06 +01:00
Lorenzo Volpi 13fe531e12 fix added for cross_val_predict 2023-11-06 01:58:36 +01:00
Lorenzo Volpi 51c3d54aa5 fix added for len of a LabelledCollection 2023-11-06 01:53:52 +01:00
Andrea Esuli 69e78edbee Added NAE, NRAE 2023-11-03 15:45:46 +01:00
Alejandro Moreo Fernandez e71f82105e doc fix for LeQua2022 2023-10-30 09:47:01 +01:00
Alejandro Moreo Fernandez b36fda5f10 adding plankton 2023-10-24 11:54:19 +02:00
Alejandro Moreo Fernandez 3fc736d873 changelog added 2023-10-23 11:39:47 +02:00
Alejandro Moreo Fernandez ea71559722 revised 2023-10-18 17:50:46 +02:00
pglez82 ffab2131a8 fixing requests 2023-10-18 14:12:40 +02:00
pglez82 a9f10f77f4 fixing mistakes 2023-10-17 18:44:28 +02:00
pglez82 239549eb4d fixing mistakes 2023-10-17 18:44:02 +02:00
pglez82 72fd21471d fixing mistakes 2023-10-17 18:43:33 +02:00
pglez82 d7192430e4 uci multiclass datasets 2023-10-17 18:24:33 +02:00
Alejandro Moreo Fernandez 2df89c83e8 bugfix, method order set to method names if None is passed 2023-04-05 12:16:29 +02:00
Alejandro Moreo Fernandez 67906f6f2d adding uci_experiments to examples folder 2023-03-23 15:46:03 +01:00