Safe-ds

Latest version: v0.26.0

Safety actively analyzes 641872 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

0.26.0

[0.26.0](https://github.com/Safe-DS/Library/compare/v0.25.0...v0.26.0) (2024-05-29)


Features

* `Table.count_row_if` ([788](https://github.com/Safe-DS/Library/issues/788)) ([4137131](https://github.com/Safe-DS/Library/commit/41371310bede90ed79133f5d5601ead4e4a5660e)), closes [#786](https://github.com/Safe-DS/Library/issues/786)
* added method to load pretrained models from huggingface ([790](https://github.com/Safe-DS/Library/issues/790)) ([dd8394b](https://github.com/Safe-DS/Library/commit/dd8394bd6e2a22ddcaebbd34e3e80da48fe65102))
* infer input size of forward and LSTM layers ([808](https://github.com/Safe-DS/Library/issues/808)) ([098a07f](https://github.com/Safe-DS/Library/commit/098a07fc3bd658f1d48005a5585741c94efa7475))
* outline around dots of scatterplot ([785](https://github.com/Safe-DS/Library/issues/785)) ([ee8acf7](https://github.com/Safe-DS/Library/commit/ee8acf762cef001a111c2d19c8f640ca6790de0c))
* remove output conversions ([792](https://github.com/Safe-DS/Library/issues/792)) ([46f2f5d](https://github.com/Safe-DS/Library/commit/46f2f5d23c38cd011b1097a08b00b9229586abe5)), closes [#732](https://github.com/Safe-DS/Library/issues/732)
* shorten some excessively long names ([787](https://github.com/Safe-DS/Library/issues/787)) ([1c3ea59](https://github.com/Safe-DS/Library/commit/1c3ea599150d4a94cb41b5fcae5d1364c7f5915c)), closes [#772](https://github.com/Safe-DS/Library/issues/772)
* specify column names in constructor of table transformers ([795](https://github.com/Safe-DS/Library/issues/795)) ([69a780c](https://github.com/Safe-DS/Library/commit/69a780cab1a5dcab33c8c7a36f03bd2eb3367683))
* store window size and forecast horizon in dataset ([794](https://github.com/Safe-DS/Library/issues/794)) ([f07bc5a](https://github.com/Safe-DS/Library/commit/f07bc5a51c737ce47fb1c90e6ca68b837cdd6989))
* string operations on cells ([791](https://github.com/Safe-DS/Library/issues/791)) ([4a17f76](https://github.com/Safe-DS/Library/commit/4a17f76845683eb5493b6c177ed25638217b24e0))


Bug Fixes

* handling of boolean columns in column statistics ([778](https://github.com/Safe-DS/Library/issues/778)) ([f61cceb](https://github.com/Safe-DS/Library/commit/f61cceb0e6dba534ae940046efc75555648bccda))
* sort x values of line plot ([782](https://github.com/Safe-DS/Library/issues/782)) ([74d8649](https://github.com/Safe-DS/Library/commit/74d8649dd4d84b8a1eb89b404146a240e8c69b91))

Special thanks to all contributors:

* Marsmaennchen221
* SamanHushi

0.25.0

[0.25.0](https://github.com/Safe-DS/Library/compare/v0.24.0...v0.25.0) (2024-05-15)


Features

* $R^2$ metric for regressors
* allow using tabular datasets in `predict`
* implement tabular containers and all transformer (except `Discretizer`) with polars
* move NN converters and layers to separate packages ([759](https://github.com/Safe-DS/Library/issues/759)) ([c6a4073](https://github.com/Safe-DS/Library/commit/c6a40731094cc8649280843063ca0a8cf51ac256))
* remove deprecated methods from tabular containers
* specify partial order in label encoder ([763](https://github.com/Safe-DS/Library/issues/763)) ([6fbe537](https://github.com/Safe-DS/Library/commit/6fbe5379ae7676906bf8d0f21fe00926d792c60f)), closes [#639](https://github.com/Safe-DS/Library/issues/639)
* specify value separator when reading CSV file
* standalone metrics package

Special thanks to all contributors:

* Gerhardsa0
* Marsmaennchen221

0.24.0

[0.24.0](https://github.com/Safe-DS/Library/compare/v0.23.0...v0.24.0) (2024-05-09)

This release features completely rewritten [containers for tabular data](https://library.safeds.com/en/v0.24.0/reference/safeds/data/tabular/containers/ExperimentalTable/) (currently experimental). They use the extremely fast [polars](https://docs.pola.rs/) library as their backend. Together with a drastically more efficient implementation of our own interface, operations on tabular data are now as fast as they should be.

Previously, even operations on small tables (10000 rows x 50 columns) took very long, as this comparison of `Table` methods shows:

| method | old (s) | new (s) | speedup (factor) |
|------------------------------------|---------|---------|------------------|
| `remove_duplicate_rows` | 0.25474 | 0.01306 | 19.5 |
| `remove_rows_with_missing_values` | 0.25159 | 0.00946 | 26.6 |
| `remove_rows_with_outliers` | 0.28816 | 0.01034 | 27.9 |
| `remove_rows` | 2.69647 | 0.00242 | **1114.2** |
| `shuffle_rows` | 0.24690 | 0.00204 | 121.0 |
| `slice_rows` | 0.12313 | 0.00011 | **1119.4** |
| `sort_rows` | 4.67574 | 0.00372 | **1256.9** |
| `split_rows` | 0.24764 | 0.00219 | 113.1 |
| `transform_column` | 2.89572 | 0.00030 | **9652.4** ❗ |

You can find a full list of changes below. Special thanks to all contributors:

* Gerhardsa0
* Marsmaennchen221
* SamanHushi

Features

* `Column.plot_histogram()` using `Table.plot_histograms` for consistent results ([726](https://github.com/Safe-DS/Library/issues/726)) ([576492c](https://github.com/Safe-DS/Library/commit/576492cde80de2be4ab16b9926106beab13872f1))
* `Regressor.summarize_metrics` and `Classifier.summarize_metrics` ([729](https://github.com/Safe-DS/Library/issues/729)) ([1cc14b1](https://github.com/Safe-DS/Library/commit/1cc14b16a5394e98bd64ad0aa39562af5c89b94d)), closes [#713](https://github.com/Safe-DS/Library/issues/713)
* Add `ImageDataset` and Layer for ConvolutionalNeuralNetworks ([645](https://github.com/Safe-DS/Library/issues/645)) ([5b6d219](https://github.com/Safe-DS/Library/commit/5b6d21988dd4513add7ef0068670d7b0cb9d6a9f)), closes [#579](https://github.com/Safe-DS/Library/issues/579) [#580](https://github.com/Safe-DS/Library/issues/580) [#581](https://github.com/Safe-DS/Library/issues/581)
* added load_percentage parameter to ImageList.from_files to load a subset of the given files ([739](https://github.com/Safe-DS/Library/issues/739)) ([0564b52](https://github.com/Safe-DS/Library/commit/0564b523c46df74ac235c22783dcbf3d515ed122)), closes [#736](https://github.com/Safe-DS/Library/issues/736)
* added rnn layer and TimeSeries conversion ([615](https://github.com/Safe-DS/Library/issues/615)) ([6cad203](https://github.com/Safe-DS/Library/commit/6cad203c951bd1a6f11bbaa8c513df6ed0ad226e)), closes [#614](https://github.com/Safe-DS/Library/issues/614) [#648](https://github.com/Safe-DS/Library/issues/648) [#656](https://github.com/Safe-DS/Library/issues/656) [#601](https://github.com/Safe-DS/Library/issues/601)
* Basic implementation of cell with polars ([734](https://github.com/Safe-DS/Library/issues/734)) ([004630b](https://github.com/Safe-DS/Library/commit/004630b8195f3fca0d04311186c71abe486b8bf2)), closes [#712](https://github.com/Safe-DS/Library/issues/712)
* deprecate `Table.add_column` and `Table.add_row` ([723](https://github.com/Safe-DS/Library/issues/723)) ([5dd9d02](https://github.com/Safe-DS/Library/commit/5dd9d026e404e02bfe0905e8328d5b621f36c219)), closes [#722](https://github.com/Safe-DS/Library/issues/722)
* deprecated `Table.from_excel_file` and `Table.to_excel_file` ([728](https://github.com/Safe-DS/Library/issues/728)) ([c89e0bf](https://github.com/Safe-DS/Library/commit/c89e0bf4b2ecdd1d9be2694331c399994e565a06)), closes [#727](https://github.com/Safe-DS/Library/issues/727)
* Larger histogram plot if table only has one column ([716](https://github.com/Safe-DS/Library/issues/716)) ([31ffd12](https://github.com/Safe-DS/Library/commit/31ffd12fbf3526f2150b67109931d1a103eb462d))
* polars implementation of a column ([738](https://github.com/Safe-DS/Library/issues/738)) ([732aa48](https://github.com/Safe-DS/Library/commit/732aa480372fb8ce7c8d522c3f4ccddb4383b73f)), closes [#712](https://github.com/Safe-DS/Library/issues/712)
* polars implementation of a row ([733](https://github.com/Safe-DS/Library/issues/733)) ([ff627f6](https://github.com/Safe-DS/Library/commit/ff627f66e45e3cdac5c5c956346251222566664d)), closes [#712](https://github.com/Safe-DS/Library/issues/712)
* polars implementation of table ([744](https://github.com/Safe-DS/Library/issues/744)) ([fc49895](https://github.com/Safe-DS/Library/commit/fc498953ad30dbff5547557d35c06f8c3267cd79)), closes [#638](https://github.com/Safe-DS/Library/issues/638) [#641](https://github.com/Safe-DS/Library/issues/641) [#649](https://github.com/Safe-DS/Library/issues/649) [#712](https://github.com/Safe-DS/Library/issues/712)
* regularization for decision trees and random forests ([730](https://github.com/Safe-DS/Library/issues/730)) ([102de2d](https://github.com/Safe-DS/Library/commit/102de2d90a129d33c78f58597d590df1f0da3ad3)), closes [#700](https://github.com/Safe-DS/Library/issues/700)
* Remove device information in image class ([735](https://github.com/Safe-DS/Library/issues/735)) ([d783caa](https://github.com/Safe-DS/Library/commit/d783caa11bb2dc0e466e781eb55df6ed8a8b51a3)), closes [#524](https://github.com/Safe-DS/Library/issues/524)
* return fitted transformer and transformed table from `fit_and_transform` ([724](https://github.com/Safe-DS/Library/issues/724)) ([2960d35](https://github.com/Safe-DS/Library/commit/2960d3558851691bb6986cbb05dcfa514b6f3ab6)), closes [#613](https://github.com/Safe-DS/Library/issues/613)


Bug Fixes

* make `Image.clone` internal ([725](https://github.com/Safe-DS/Library/issues/725)) ([215a472](https://github.com/Safe-DS/Library/commit/215a4726cd0e3615b95329f317433e3c48bd208d)), closes [#626](https://github.com/Safe-DS/Library/issues/626)


Performance Improvements

* improved performance of `TabularDataset.__eq__` by a factor of up to 2 ([697](https://github.com/Safe-DS/Library/issues/697)) ([cd7f55b](https://github.com/Safe-DS/Library/commit/cd7f55ba4f882c2af9233dece53d8e8b6191a6fb))

0.23.0

[0.23.0](https://github.com/Safe-DS/Library/compare/v0.22.1...v0.23.0) (2024-05-04)


Features

* add `Column.to_table` ([705](https://github.com/Safe-DS/Library/issues/705)) ([36e4a7a](https://github.com/Safe-DS/Library/commit/36e4a7abc03bb826a4f55bf02575e45fd5412bf8)), closes [#695](https://github.com/Safe-DS/Library/issues/695)
* added Column.summarize_statistics() ([715](https://github.com/Safe-DS/Library/issues/715)) ([71730a9](https://github.com/Safe-DS/Library/commit/71730a99a8af16b3e1e0e3c478250768785ca4d9)), closes [#701](https://github.com/Safe-DS/Library/issues/701)
* replace other values than NaN with imputer ([707](https://github.com/Safe-DS/Library/issues/707)) ([4a059e0](https://github.com/Safe-DS/Library/commit/4a059e09a4c66397cf266f71c4248543e2e972e5)), closes [#643](https://github.com/Safe-DS/Library/issues/643)


Bug Fixes

* use UTF-8 encoding when opening files ([704](https://github.com/Safe-DS/Library/issues/704)) ([f8c27bc](https://github.com/Safe-DS/Library/commit/f8c27bcd5e1edb0243a1d785740b1883b477db4b))

0.22.1

[0.22.1](https://github.com/Safe-DS/Library/compare/v0.22.0...v0.22.1) (2024-05-02)


Bug Fixes

* make `_Layer`, `_InputConversion`, `_OutputConversion` public ([692](https://github.com/Safe-DS/Library/issues/692)) ([eb226f4](https://github.com/Safe-DS/Library/commit/eb226f4e83267ab6c3b1fa1b862aeda8a55b1ff8)), closes [#690](https://github.com/Safe-DS/Library/issues/690) [#691](https://github.com/Safe-DS/Library/issues/691)

0.22.0

[0.22.0](https://github.com/Safe-DS/Library/compare/v0.21.0...v0.22.0) (2024-05-01)


Features

* `is_fitted` is now always a property ([662](https://github.com/Safe-DS/Library/issues/662)) ([b1db881](https://github.com/Safe-DS/Library/commit/b1db8812f3105e93f9b1423d51c785499014bbaa)), closes [#586](https://github.com/Safe-DS/Library/issues/586)
* add `Column.missing_value_count` ([682](https://github.com/Safe-DS/Library/issues/682)) ([f084916](https://github.com/Safe-DS/Library/commit/f08491689552132a2be93bbe923cb15c3010ee54)), closes [#642](https://github.com/Safe-DS/Library/issues/642)
* Add `InputConversion` & `OutputConversion` for nn interface ([625](https://github.com/Safe-DS/Library/issues/625)) ([fd723f7](https://github.com/Safe-DS/Library/commit/fd723f7fc9198e4b8c62b9c5ebefe4e5dac81ad3)), closes [#621](https://github.com/Safe-DS/Library/issues/621)
* Add hash,eq and sizeof in ForwardLayer ([634](https://github.com/Safe-DS/Library/issues/634)) ([72f7fde](https://github.com/Safe-DS/Library/commit/72f7fdea123645d3c4f9d304fbd249bf5e5f8ab3)), closes [#633](https://github.com/Safe-DS/Library/issues/633)
* allow using tables that already contain target for prediction ([687](https://github.com/Safe-DS/Library/issues/687)) ([e9f1cfb](https://github.com/Safe-DS/Library/commit/e9f1cfb72bfc952d7be149056dc1d6939e443d88)), closes [#636](https://github.com/Safe-DS/Library/issues/636)
* callback `Row.sort_columns` takes four parameters instead of two tuples ([683](https://github.com/Safe-DS/Library/issues/683)) ([9c3e3de](https://github.com/Safe-DS/Library/commit/9c3e3de6b458c29cc76b14ac8131df008cb5a7e2)), closes [#584](https://github.com/Safe-DS/Library/issues/584)
* rename `group_rows_by` in `Table` to `group_rows` ([661](https://github.com/Safe-DS/Library/issues/661)) ([c1644b7](https://github.com/Safe-DS/Library/commit/c1644b72763d302e91bf3e6064659ac5f00a2730)), closes [#611](https://github.com/Safe-DS/Library/issues/611)
* rename `number_of_column` in `Row` to `number_of_columns` ([660](https://github.com/Safe-DS/Library/issues/660)) ([0a08296](https://github.com/Safe-DS/Library/commit/0a08296d25de673e9995f5aec7c808d2e25996b5)), closes [#646](https://github.com/Safe-DS/Library/issues/646)
* rework `TaggedTable` ([680](https://github.com/Safe-DS/Library/issues/680)) ([db2b613](https://github.com/Safe-DS/Library/commit/db2b61365b4a035d9b58f7725f82836821e08b71)), closes [#647](https://github.com/Safe-DS/Library/issues/647)
* show missing value count/ratio in summarized statistics ([684](https://github.com/Safe-DS/Library/issues/684)) ([74b8a35](https://github.com/Safe-DS/Library/commit/74b8a3528bfa8315eb617e269cdc6cfd718d0e8f)), closes [#619](https://github.com/Safe-DS/Library/issues/619)
* specify `extras` instead of `features` in `to_tabular_dataset` ([685](https://github.com/Safe-DS/Library/issues/685)) ([841657f](https://github.com/Safe-DS/Library/commit/841657f6f7ba7b726fc11dda0c0678d91551adbb)), closes [#623](https://github.com/Safe-DS/Library/issues/623)


Bug Fixes

* actually use `kernel` of support vector machines for training ([681](https://github.com/Safe-DS/Library/issues/681)) ([09c5082](https://github.com/Safe-DS/Library/commit/09c5082215b399a4853fe6dac2a0e44a7915f8f5)), closes [#602](https://github.com/Safe-DS/Library/issues/602)


Performance Improvements

* Faster plot_histograms and more reliable plots ([659](https://github.com/Safe-DS/Library/issues/659)) ([b5f0a12](https://github.com/Safe-DS/Library/commit/b5f0a12c4d406a4dbe6f92d313be9ae537cb47f8))

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.