Changelogs » Aict-tools

PyUp Safety actively tracks 232,000 Python packages for vulnerabilities and notifies you when to upgrade.

Aict-tools

0.24.2

* report how many rows in which columns contain nans in preprocessing
  * Fix creation of bias and resolution plot

0.24.1

* Fix for setting azimuth unit (was reading in the zd unit)
  * Correctly convert altitude units (forgotten to convert in 0.24)
  * plot_disp_performance now calculates uncertainties from the cross validation for the energy dependent metrics

0.24.0

This is a pretty large release with lots of improvements regarding CTA integration.
  
  * Added config options for all columns where units are needed (e.g. az_pointing_unit).
  The defaults follow the conventions of the FACT-Tools analysis chain, for CTA you will need to define
  these options appropriately. (e.g. `delta_unit: deg`
  * Similarly, one can now provide either altitude or zenith distance, mutually exclusive
  * If the global config options `true_energy_column` or `size_column` are set, these values are stored in the cross validation output hdf5 file, to enable energy/size dependent performance evaluation.
  For now, this is only used in `plot_disp_performance`, where r2 score and sign accuracy are shown versus true energy.

0.23.0

Add script disp performance plotting script

0.22.2

FIx the newly introduced cta coordinate transformations, they were assuming altitude was stored in the zenith column, now corrected.

0.22.1

* fix for calculation of true disp to conform to the normal conventions.
  Training and predictions worked before but was rotated 180 degrees to the usual definition

0.22.0

* Add support for ctapipe coordinate transformation in the training of disp regressors.
  From now on, the configuration key `disp_config.coordinate_transformatin` is required and can be either `FACT` or `CTA`.
  
  If you want to use the `CTA` coordinate trafo conventions, `ctapipe` is required, use `pip install aict-tools[cta]` to make sure, this is the case.

0.21.0

* Allow application of multiple cuts to the same variable in `aict_apply_cuts`, the old format is still supported, but new files should use a list of cuts instead of a dict:
  
  Old:
  
  selection:
  width: ['<=', 20]
  
  
  New:
  
  selection:
  - width: ['<=', 20]
  - width: ['>=', 5]     now possible
  
  
  * call tight_layout before saving plots in `aict_plot_*_performance` 113
  * Add option for an alternative definition of the true value of disp, see 106

0.20.4

* Warning instead of error in case an empty feature generation config is given.

0.20.3

* Several fixes to make plots work with the matplotlib pgf backend

0.20.1

* Log ROC Aucs in aict_train_separation_model
  * Officially support python 3.8

0.20.0

* aict-tools can now apply models stored using onnx or pmml. However, application  of models stored to pickle is still the fastest option for most models.

0.19.0

* Fixing the configuration of the output names. These can now be set using `output_name: ` in the models section
  * Use onnxruntime v1.0

0.18.3

* Fix modification of input file timestamp in copy runs
  * All but the `apply_` scripts should now not modify their input filestamps now

0.18.2

* Fix for apply_cuts: modification date of input file is not modified anymore

0.18.1

* Add support for most sklearn models, before only `sklearn.ensemble` was supported

0.18.0

* Update to sklearn ~0.21.0, use joblib directly (fixes sklearn's DeprecationWarning)
  * Improve feature importance plot
  * Add citing instructions

0.17.0

* Enable zenodo doi
  * Refactored IO, removed the already sparse support for csv completely
  * Testing pmml on travis
  * Improved log output
  
  Merged PRs:
  
  * ade81cb Merge pull request 78 from fact-project/tables_compability
  * b6a41f3 Merge pull request 87 from fact-project/logging
  * c087f54 Merge pull request 88 from fact-project/enable_pmml
  * f930c2a Merge pull request 89 from fact-project/zenodo

0.16.3

Add optional support for serializing models into the onnx format.

0.16.1

Switch from pyyaml to ruamel.yaml

0.16.0

* Add random source position sampling for theta calculation in `fact_to_dl3`
  * Write the samplefraction into files created by `split_data` and copy it in `fact_to_dl3` if present
  
  Merged PRs
  
  * Merge pull request 81 from fact-project/add_sample_fraction
  * Merge pull request 80 from fact-project/random_source

0.14.0

Add chunked version of `split_data` for single telescope h5py files to deal with larger than memory files.

0.13.1

* Add long description and classifiers for PyPI

0.13.0

* Publish to PyPI
  * Require scikit-learn 0.20.*
  * Fix progress bars

0.12.4

Fixes an issue where files would not get opened in read-only mode essentially breaking make files.

0.12.3


        

0.12.2


        

0.12.1


        

0.12.0

The module and all executables got renamed to `aict_tools` and `aict_train_...` and `aict_apply_...`

0.11.0