UPDATE GUIDES¶
From 0.8.* to 0.9¶
Make sure you view this update guide from the tag (version) of SecML you would like to install. In most cases this should be the highest numbered production tag (without rc in it).
To update the current v0.8.*
version to v0.9
, run the following steps:
1. Configuration file¶
The following new configuration settings are now available.
Please update your $SECML_HOME_DIR/secml.conf
file if needed,
otherwise default values will be used.
Added new section
[secml:pytorch]
to control the behaviour of the classes related topytorch
library support.
The following options are available:data_dir
. Directory for storingpytorch
data. Default:SECML_HOME_DIR/pytorch-data
.use_cuda
. True (default) if CUDA should be used by thepytorch
wrapper.
2. Deprecations¶
The following classes, methods or functions are now deprecated.
CClassifierKDE
: useCClassifierSkLearn
withsklearn.neighbors.KernelDensity
insteadCClassifierMCSLinear
: useCClassifierSkLearn
withsklearn.ensemble.BaggingClassifier
insteadCPreProcess.revert()
: use.inverse_transform()
method instead