Commit Graph

166 Commits

Author SHA1 Message Date
Andrea Esuli 32b25146c1 Tests 2021-05-10 10:26:51 +02:00
Andrea Esuli 147b2f2212 Added back n_classes to Dataset 2021-05-06 16:28:30 +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
Andrea Esuli 8f284e540a Tests 2021-04-30 17:22:58 +02:00
Andrea Esuli 44cec7a046 Added encoding option with default to utf-8. 2021-04-30 17:00:46 +02:00
Andrea Esuli d86c402916 Added first tests 2021-04-29 16:07:39 +02:00
Alejandro Moreo Fernandez 1d12e96867 cleaning 2021-04-28 11:27:25 +02:00
Alejandro Moreo Fernandez 252e143ef6 fine grained sld updates... 2021-04-28 10:04:21 +02:00
Alejandro Moreo Fernandez f3b505eb4e Merge branch 'master' of gitea-s2i2s.isti.cnr.it:moreo/QuaPy 2021-04-27 11:27:52 +02:00
Alejandro Moreo Fernandez ca4c344c55 imports fix 2021-03-19 17:34:09 +01:00
Alejandro Moreo Fernandez 8381bce3a8 more fgsld 2021-03-11 19:00:40 +01:00
Alejandro Moreo Fernandez 3491ed7d72 plot fix 2021-03-11 09:27:14 +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 a2ec72496a adding eval_budget to evaluation functions 2021-02-09 11:48:16 +01:00
Alejandro Moreo Fernandez 98b6e2b82d readme updated 2021-02-08 19:16:43 +01:00
Alejandro Moreo Fernandez 91f8d8f3e1 readme updated 2021-02-02 12:10:57 +01:00
Alejandro Moreo Fernandez b6f80077d7 standard scaller added 2021-01-29 10:21:13 +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 1d89301089 more uci datasets, plots improved (higher fonts), and evaluation script that shows numerical results in command line 2021-01-27 22:49:54 +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 301e8b9088 adding uci ml datasets 2021-01-25 18:38:56 +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 9c7c017acd import fix 2021-01-15 17:47:55 +01:00
Alejandro Moreo Fernandez 27c688eb2e import fix 2021-01-15 17:44:28 +01:00
Alejandro Moreo Fernandez 865dafaefc setting a timeout for model_selection combinations in order to prevent some combinations to stuck the model selection 2021-01-15 17:42:19 +01:00
Alejandro Moreo Fernandez c5ae2f8b1f adding table manager 2021-01-15 08:33:39 +01:00
Alejandro Moreo Fernandez 3c5a53bdec testing quapy via replicating Tweet Quantification experiments 2021-01-12 17:39:00 +01:00
Alejandro Moreo Fernandez 3e07feda3c import bug fixed 2021-01-12 09:35:49 +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 3ec711c96e model selection for quantification added 2020-12-23 11:14:35 +01:00
Alejandro Moreo Fernandez 7bed93dcbf added model selection for quantification 2020-12-22 17:43:23 +01:00
Alejandro Moreo Fernandez 7d6f523e4b uniform sampling added if *prevs is empty 2020-12-17 18:17:17 +01:00
Alejandro Moreo Fernandez 71949e9a03 cleaning 2020-12-15 15:20:35 +01:00
Alejandro Moreo Fernandez 649d412389 dataset fetch for polarity reviews (hp, kindle, imdb) and twitter sentiment (11 datasets) added 2020-12-14 18:36:19 +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
Alejandro Moreo Fernandez 78988c87f9 svmperf wrapper added 2020-12-03 16:59:13 +01:00
Alejandro Moreo Fernandez e81009e665 fixing dataset loading 2020-12-03 16:36:54 +01:00
Alejandro Moreo Fernandez b6820e8dba data loading 2020-12-03 16:24:21 +01:00