1
0
Fork 0
Commit Graph

126 Commits

Author SHA1 Message Date
Alejandro Moreo Fernandez e28abfc362 more examples, one-vs-all fixed 2023-02-09 19:39:16 +01:00
Alejandro Moreo Fernandez 2485117f05 adding documentation and adding one new example 2023-02-08 19:06:53 +01:00
Alejandro Moreo Fernandez ceb88792c5 added DistributionMatching method, a generic model for distribution matching for multiclass quantification problems that takes the divergence and number of bins as hyperparameters 2023-01-31 15:08:58 +01:00
Alejandro Moreo Fernandez f9a199d859 fixing hyperparameters with prefixes, and replacing learner with classifier in aggregative quantifiers 2023-01-27 18:13:23 +01:00
Alejandro Moreo Fernandez 09abcfc935 adding calibration methods from the abstension package to quapy 2023-01-18 19:46:19 +01:00
Alejandro Moreo Fernandez 6e910075ab adding calibration methods from abstension package 2023-01-17 13:53:48 +01:00
Alejandro Moreo Fernandez 8b0b9f522a some bugfixes, unittest and minor changes 2023-01-16 13:51:29 +01:00
Alejandro Moreo Fernandez c20d9d5ea4 the heuristic exact_train_prev is performed via kFCV, using a new function qp.model_selection.cross_val_predict 2022-12-12 17:32:30 +01:00
Alejandro Moreo Fernandez eb860e9678 adding the possibility to estimate the training prevalence, instead of using the true training prevalence, as a starting point in emq 2022-12-12 09:34:09 +01:00
Alejandro Moreo Fernandez e40c409609 bugfix in NeuralClassifierTrainer; it was only configured to work well in binary problems 2022-10-04 11:03:08 +02:00
Alejandro Moreo Fernandez 543003f914
Merge pull request #13 from pglez82/dys_implementation
Dys implementation
2022-07-12 13:05:35 +02:00
Pablo González c91961cff5 adding to __init__.py 2022-07-11 14:10:04 +02:00
Pablo González 428f10fb2d adding SMM 2022-07-11 14:06:14 +02:00
Alejandro Moreo Fernandez ecd0ad7ec7 unit test for replicability based on qp.util.temp_seed 2022-07-11 14:00:25 +02:00
Pablo González 46e294002f dys implementation 2022-07-11 12:21:49 +02:00
Pablo González 750814ef2a fixing bug in ACC when using cross validation 2022-06-24 14:20:08 +02:00
Alejandro Moreo Fernandez 2cc7db60cc updating parallel policy to take n_jobs from environment (not yet tested) 2022-06-14 09:35:39 +02:00
Alejandro Moreo Fernandez 45642ad778 lequa as dataset 2022-06-01 18:28:59 +02:00
Alejandro Moreo Fernandez eba6fd8123 optimization conditional in the prediction function 2022-05-26 17:59:23 +02:00
Alejandro Moreo Fernandez 4bc9d19635 many changes, see change log 2022-05-25 19:14:33 +02:00
Alejandro Moreo Fernandez fd339839a5 removing redundant code 2022-05-19 13:43:32 +02:00
Alejandro Moreo Fernandez fa577abdd2 merging from pool request and adding documentation 2022-03-15 14:16:37 +01:00
Alejandro Moreo Fernandez 8ee5e499f5 bugfix when the number of positive elemnts for one of the classes is 0 2022-03-14 16:42:41 +01:00
Alejandro Moreo Fernandez 164f7d8d5c documenting quanet 2021-12-15 16:39:57 +01:00
Alejandro Moreo Fernandez 9cf9c73824 adding documentation for ensembles 2021-12-15 15:46:15 +01:00
Alejandro Moreo Fernandez 3835f89e9d adding documentation 2021-12-15 15:27:43 +01:00
Alejandro Moreo Fernandez 5deb92b457 update doc 2021-12-07 17:16:39 +01:00
Alejandro Moreo Fernandez 65b2c2ce74 setting baseline experiments with data format 2021-10-21 17:14:40 +02:00
Alejandro Moreo Fernandez f9b80ae437 bugfix in quanet 2021-07-02 10:20:42 +02:00
Alejandro Moreo Fernandez b4aeaa97b7 fixing issue regarding fit_learner=False in QuaNetTrainer 2021-06-21 12:55:39 +02:00
Alejandro Moreo Fernandez a1cdc9ef43 fixing fit_learner=False case in QuaNet 2021-06-21 11:13:14 +02:00
Alejandro Moreo Fernandez 8239947746 refit=True default value in GridSearchQ 2021-06-16 13:53:54 +02:00
Alejandro Moreo Fernandez 4f07680381 adding Forman's methods 2021-06-16 12:03:37 +02:00
Alejandro Moreo Fernandez be2f54de9c renaming functions to match the app and npp nomenclature; adding npp as an option for GridSearchQ 2021-06-16 11:45:40 +02:00
Alejandro Moreo Fernandez 460efe7105 OneVsAll does not have attribute learner_ solved 2021-06-01 16:07:01 +02:00
Andrea Esuli 79fbbd9d80 pip package 2021-05-10 13:36:35 +02:00
Andrea Esuli 5b772c7eda Bug fixes on use of classes_. Tests. 2021-05-05 17:12:44 +02:00
Andrea Esuli bfbfe08116 Added classes_ property to all quantifiers. 2021-05-04 17:09:13 +02:00
Andrea Esuli 70a3d4bd0f Tests for non aggregative and meta methods. 2021-05-04 12:14:14 +02:00
Alejandro Moreo Fernandez 1d12e96867 cleaning 2021-04-28 11:27:25 +02:00
Alejandro Moreo Fernandez 8381bce3a8 more fgsld 2021-03-11 19:00:40 +01:00
Alejandro Moreo Fernandez 775417c8eb bugfix in PACC 2021-02-18 13:48:41 +01:00
Alejandro Moreo Fernandez 854d759dc4 making everything work like in the wiki 2021-02-17 18:05:22 +01:00
Alejandro Moreo Fernandez 70da8f7925 updating the documentation 2021-02-16 19:38:52 +01:00
Alejandro Moreo Fernandez 3aaf57f2f3 all uci datasets from Pérez-Gállego added, quantification report added 2021-01-28 18:22:43 +01:00
Alejandro Moreo Fernandez e609c262b4 parallel functionality added to quapy in order to allow for multiprocess parallelization (and not threading) handling quapy's environment variables 2021-01-27 09:54:41 +01:00
Alejandro Moreo Fernandez 8a53cfe677 parallel in threading mode (another) 2021-01-25 16:46:59 +01:00
Alejandro Moreo Fernandez 2fda46fc13 qp.environment was not reachable within Parallel processes; changing backend to threading 2021-01-25 09:58:39 +01:00
Alejandro Moreo Fernandez e7527bd7ed bugfix 2021-01-25 09:02:11 +01:00
Alejandro Moreo Fernandez 2001c6d852 running ensembles 2021-01-25 08:54:10 +01:00
Alejandro Moreo Fernandez 03cf73aff6 refactor: methods requiring a val_split can now declare a default value in the __init__ method that will be used in case the fit method is called without specifying the val_split, which now is by default None in the fit, i.e., by default takes the value of the init, that is generally set to 0.4; some uci datasets added; ensembles can now be optimized for quantification, and can be trained on samples of smaller size 2021-01-22 18:01:51 +01:00
Alejandro Moreo Fernandez 54dc2980e6 creating checkpointdir in fit 2021-01-22 10:03:08 +01:00
Alejandro Moreo Fernandez bf1cc74ba1 quapy fixed 2021-01-22 09:58:12 +01:00
Alejandro Moreo Fernandez 1ba0748b59 experimental method ave-pool, not working due to the fact that onevsall is aggregative and ave-pool is not 2021-01-20 17:03:12 +01:00
Alejandro Moreo Fernandez 99132c8166 fixing quanet 2021-01-20 12:35:14 +01:00
Alejandro Moreo Fernandez f69eb59eb8 launching quanet 2021-01-20 09:01:04 +01:00
Alejandro Moreo Fernandez 482e4453a8 refactor of ensembles, launching EPACC with Ptr policy 2021-01-19 18:26:40 +01:00
Alejandro Moreo Fernandez 1399125fb8 adding QuaNet to experiments of Twitter; trying new stuff in 'NewMethods' 2021-01-18 19:14:04 +01:00
Alejandro Moreo Fernandez b30c40b7a0 some refactor made in order to accomodate OneVsAll to operate with aggregative probabilistic quantifiers; launching OneVsAll(HDy) 2021-01-18 16:52:19 +01:00
Alejandro Moreo Fernandez 8ef9e6a633 bugfix 2021-01-18 10:53:22 +01:00
Alejandro Moreo Fernandez 5e64d2588a import fixes 2021-01-15 18:32:32 +01:00
Alejandro Moreo Fernandez c5ae2f8b1f adding table manager 2021-01-15 08:33:39 +01:00
Alejandro Moreo Fernandez 2ec3400d15 adding tweet sent quant experiments 2021-01-11 18:31:12 +01:00
Alejandro Moreo Fernandez 41347b50f9 cleaning and adding some uci datasets 2021-01-11 12:55:06 +01:00
Alejandro Moreo Fernandez d1b449d2e9 plot functionality added 2021-01-07 17:58:48 +01:00
Alejandro Moreo Fernandez 5894d46b31 cleaning 2021-01-06 15:00:48 +01:00
Alejandro Moreo Fernandez 326a8ab803 added Ensemble methods (methods ALL, ACC, Ptr, DS from Pérez-Gallego et al 2017 and 2019) and some UCI ML datasets used in those articles (only 5 datasets out of 32 they used) 2021-01-06 14:58:29 +01:00
Alejandro Moreo Fernandez d8e2f7556e QuaNet added, two examples of TextClassifiers added (CNN, LSTM) 2020-12-29 20:33:59 +01:00
Alejandro Moreo Fernandez 7bed93dcbf added model selection for quantification 2020-12-22 17:43:23 +01:00
Alejandro Moreo Fernandez 71949e9a03 cleaning 2020-12-15 15:20:35 +01:00
Alejandro Moreo Fernandez c8a1a70c8a refactoring aggregative methods as methods that not only implement 'classify' and 'quantify', but that also implement 'aggregate' and that, by default, have a default implementation of 'quantify' as a pipeline of 'classify' and 'aggregate'; this helps speeding up evaluations A LOT, since the documents can be pre-classified and the samples are carried out across pre-classified values (labels, or posterior probabilities), and thus only aggregate is called many times within the artificial sampling protocol 2020-12-11 19:28:17 +01:00
Alejandro Moreo Fernandez e55caf82fd merged 2020-12-10 19:08:22 +01:00
Alejandro Moreo Fernandez 9bc3a9f28a evaluation by artificial prevalence sampling added. New methods added. New util functions added to quapy.functional and quapy.utils 2020-12-10 19:04:33 +01:00
Alejandro Moreo Fernandez 2361186a01 aggregation methods updated 2020-12-09 12:46:50 +01:00
Alejandro Moreo Fernandez 9c8d29156c aggregative methods adapted. Explicit loss minimization methods (SVMQ, SVMKLD, ...) added and with support to binary or single-label. HDy added 2020-12-04 19:32:08 +01:00
Alejandro Moreo Fernandez a882424eeb many aggregative methods added 2020-12-03 18:12:28 +01:00