Commit Graph

375 Commits

Author SHA1 Message Date
Alejandro Moreo Fernandez 075be93a23 refactoring w/o labelled collection 2025-04-20 22:05:46 +02:00
Alejandro Moreo Fernandez f64654d6f0 plot update 2025-04-07 09:44:54 +02:00
Alejandro Moreo Fernandez 3129187df8 Merge branch 'devel' of github.com:HLT-ISTI/QuaPy into devel 2024-12-04 10:09:42 +01:00
Alejandro Moreo Fernandez e876e5539c
Merge pull request #43 from lorenzovolpi/ucibin
fixed read_csv call for deprecation
2024-12-04 10:08:28 +01:00
Alejandro Moreo Fernandez 8876d311e7 working on SCMQ, MCSQ, MCMQ ensembles 2024-12-02 17:39:06 +01:00
Alejandro Moreo Fernandez c8235ddb2a improving conf regions docs 2024-12-02 12:03:15 +01:00
Alejandro Moreo Fernandez c79b76516c repair unittest 2024-11-29 18:23:47 +01:00
Alejandro Moreo Fernandez 8c01e0927f repair unittest 2024-11-29 18:21:29 +01:00
Alejandro Moreo Fernandez 2728dfbaa6 bayesian cc now inherits from the new abstract class WithConfidenceABC, just like AggregativeBootstrap 2024-11-29 18:15:09 +01:00
Alejandro Moreo Fernandez a0c84c5510 documented confidence.py 2024-11-29 13:46:46 +01:00
Alejandro Moreo Fernandez ce4c0006d5 solving unit tests 2024-11-29 11:09:15 +01:00
Alejandro Moreo Fernandez 1c733f3d77 Merge branch 'devel' of github.com:HLT-ISTI/QuaPy into devel 2024-11-29 10:57:14 +01:00
Alejandro Moreo Fernandez 20343920dc adding confidence regions with bootstrap 2024-11-28 18:19:25 +01:00
Alejandro Moreo Fernandez ea92c45405 bugfix in bayesian cc, merged 2024-11-27 17:45:40 +01:00
Alejandro Moreo Fernandez 68d2f84de3 bugfix in bayesian method; float conversion was needed 2024-11-27 17:43:22 +01:00
Alejandro Moreo Fernandez b59d8cbc9e bugfix in save text util 2024-11-22 11:51:14 +01:00
Alejandro Moreo Fernandez e6ae1e7d77 bugfix in protocols, return_type='index' not working 2024-11-19 16:00:03 +01:00
Lorenzo Volpi 82fe293d3f fixed read_csv call for deprecation 2024-10-30 14:01:41 +01:00
Alejandro Moreo Fernandez 24c28edfd9 adding scmq 2024-10-16 16:00:23 +02:00
Mirko Bunse db8a870495 Instruct the user how to install qunfold in the case of an unsuccessful import 2024-09-17 10:48:53 +02:00
Alejandro Moreo Fernandez 55c62a9dd2 adding name to datasets un fetch_UCIMulticlassDataset 2024-09-16 13:22:36 +02:00
Alejandro Moreo Fernandez e580e33b83 removing the warning supression in datasets 2024-08-22 18:11:47 +02:00
Alejandro Moreo Fernandez 13beb45274 import fix 2024-07-23 16:18:02 +02:00
Alejandro Moreo Fernandez 73d53820c2 import fix 2024-07-23 16:07:24 +02:00
Alejandro Moreo Fernandez 3f20aa06b1 adding standardization for the uci datasets, binary and multi, which is by default set to True 2024-07-23 15:46:05 +02:00
Alejandro Moreo Fernandez 89d02043be merging from pull request uci binary 2024-07-20 17:08:56 +02:00
Alejandro Moreo Fernandez 9a7e50f6c5 Merge branch 'devel' of github.com:lorenzovolpi/QuaPy into lorenzovolpi-devel 2024-07-20 16:55:05 +02:00
Lorenzo Volpi b543857c08 fix UCI multiclass features 2024-07-12 18:03:42 +02:00
Alejandro Moreo Fernandez 5da9fa0b09 adding lequa2024 datasets and example 4b 2024-07-12 09:41:40 +02:00
Alejandro Moreo Fernandez b4571d96c7 bugfix in preprocessing standardize 2024-07-10 16:58:01 +02:00
Alejandro Moreo Fernandez 2034845988 allow max_train_instances be deactivated in UCI multiclass datasets 2024-07-10 10:45:03 +02:00
Alejandro Moreo Fernandez 7e4e0e20a1 wiki datasets merged 2024-07-03 16:39:52 +02:00
Lorenzo Volpi 8237c121de UCI binary fetch function rewritten using UCI python api 2024-07-02 16:08:55 +02:00
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