|
9 | 9 |
|
10 | 10 | ### Improvements/Changes |
11 | 11 |
|
| 12 | +* `evaluation`: |
| 13 | + * `*ModelEvaluation`: Explicitly allow `io_data` to be None (for "no fitting" case) |
| 14 | + * `RegressionMetricFromBinaryClassificationMetric`: Allow any `ClassificationMetric` to be used (limitation |
| 15 | + to `BinaryClassificationMetric` was unnecessary) |
| 16 | + * `VectorModelEvaluationData`: Allow model and data to be removed |
| 17 | + * `VectorClassificationModelEvaluationData`: Add method `to_data_frame` |
| 18 | +* `featuregen`: |
| 19 | + * `FeatureGeneratorRegistry`: Add method `get_feature_generators` |
| 20 | + * `FeatureCollector`: Add method `add_features` (allowing features to be appended after construction) |
| 21 | + * `FeatureGeneratorFlattenColumns`, `FeatureGeneratorTakeColumns`: Add support for regular expressions for matching columns |
| 22 | + * `FeatureGeneratorFlattenColumns`: Optimize performance by avoiding data frame modifications and instead precomputing the column names |
| 23 | + and arrays for the construction of a new DataFrame |
| 24 | +* `data_transformation`: |
| 25 | + * `DataFrameTransformer`: |
| 26 | + * Add method `chain` for convenience |
| 27 | + * Add method `get_column_change_tracker` |
| 28 | + * `DFTFromFeatureGenerator`: Add option to extend the existing data frame |
12 | 29 | * `util`: |
13 | 30 | * `util.cache`: |
14 | 31 | * `cache_mysql.MySQLPersistentKeyValueCache`: |
|
17 | 34 | * Use autocommit and remove option of using deferred commits as it's the only way to guarantee |
18 | 35 | that no stale data is read due to transactions going on too long |
19 | 36 | * Handle duplicate key upon insertion due to race condition by providing a more informative Exception |
| 37 | + * `SqlitePersistentKeyValueCache`: |
| 38 | + * Auto-create base dir if necessary |
| 39 | + * Periodically commit (after a given number of inserts/updates) |
| 40 | + * Add method `finalise` to ensure that all new entries are committed |
20 | 41 | * `util.logging`: |
21 | | - * `configure`: Allow the output stream to be configured |
| 42 | + * `configure`: Allow the output stream to be configured |
| 43 | + * Add `SuspendedLoggersContext` |
| 44 | + * Add `LogLevelsChangedContext` |
| 45 | + * Add `loggers_in_hierarchy` |
| 46 | + * Add `format_log_message` |
22 | 47 | * `util.git`: |
23 | | - * `git_status`: Add option `log_error` |
| 48 | + * `git_status`: Add option `log_error` |
| 49 | + * `util.pickle`: |
| 50 | + * `dump_pickle`, `load_pickle`: Add bz2 compression support |
| 51 | + * `util.plot`: |
| 52 | + * Add `MetricComparisonBarPlot` |
| 53 | + * `util.string`: |
| 54 | + * Add `TextBuilder` |
| 55 | + * `util.test`: |
| 56 | + * `snapshot_compatible`: |
| 57 | + * Support additional types in `json_mapper` (tuples, numbers) for |
| 58 | + * Make defaults configurable |
| 59 | + * `util.pandas`: |
| 60 | + * Add `ColumnMatcher` and `ColumnMatcherCollection` as well as specialisations `ColumnName` and `ColumnRegex` |
| 61 | + * `util.sequences`: |
| 62 | + * Add `all_equal` |
| 63 | + * `util.io`: |
| 64 | + * Add `filename_compatible` |
| 65 | + * `ResultWriter`: Add method `write_data_frame_excel_file` |
| 66 | +* `torch`: |
| 67 | + * Loading models: Explicitly set `weights_only=False`, fixing support for torch version 2.4+ |
| 68 | + * Sequence models: |
| 69 | + * Add `EncoderDecoderVectorClassificationModel` (adding classification support) |
| 70 | + * `DecoderFactory.create_decoder`: Add output_dim to interface, removing the parameter from the constructor of `TargetSequenceDecoderFactory` |
| 71 | + * `RnnEncoderModule.RnnType`: Add missing inheritance from `Enum` |
| 72 | + * `RnnEncoderFactory`: |
| 73 | + * Remove redundant constructor arguments; ensure that sequence lengths are on the CPU (torch requirement) |
| 74 | + * Add `num_layers` parameter (also added in `RnnEncoderModule`, accordingly) |
| 75 | + * `NNLossEvaluationClassification` and `TorchVectorClassificationModel`: Add support for class weights |
| 76 | +* `hyperopt`: |
| 77 | + * Add function `iter_subsets` |
| 78 | + * Add `OptionGenerator` abstraction for flexible combinatorics when experimenting with options (and various implementation) |
| 79 | + |
| 80 | +### Fixes |
24 | 81 |
|
| 82 | +* `util.logging.LogTime`: Fix completion log message appearing in case of exception; log error instead |
25 | 83 |
|
26 | 84 | ## 1.4.0 (2025-01-21) |
27 | 85 |
|
|
0 commit comments