Skip to content

Releases: Safe-DS/Library

v0.29.0

26 Nov 18:19
Compare
Choose a tag to compare

0.29.0 (2024-11-26)

Features

  • remove Image.__array__ (#964) (d2f59c9)
  • rename count_row_if to count_rows_if (#960) (f5d6324)
  • rename epoch_size to epoch_count (#962) (fa62e9b)
  • rename flip_vertically and flip_horizontally methods (#946) (a3607d7), closes #945
  • rename load_pretrained_model to from_pretrained_model (#957) (5b32acc)
  • rename Row.get_value to Row.get_cell (#947) (e77cb6c)

Bug Fixes

  • avoid performance warning when accessing column_count (#949) (c24b6d5)
  • handle deprecations in third-party libraries (#963) (e10e6bb)
  • index tensor on cpu (#961) (afafd43)

v0.28.1

26 Sep 11:24
Compare
Choose a tag to compare

0.28.1 (2024-09-26)

Bug Fixes

v0.28.0

17 Sep 15:57
Compare
Choose a tag to compare

0.28.0 (2024-09-17)

Features

  • hyperparameter optimization for classical models (#843) (d8f7491), closes #264

v0.27.0

19 Jul 13:00
Compare
Choose a tag to compare

0.27.0 (2024-07-19)

Features

Bug Fixes

Performance Improvements

  • improved performance in various methods in Image and ImageList (#879) (134e7d8)

Major thanks to all contributors:

v0.26.0

29 May 12:26
Compare
Choose a tag to compare

0.26.0 (2024-05-29)

Features

Bug Fixes

  • handling of boolean columns in column statistics (#778) (f61cceb)
  • sort x values of line plot (#782) (74d8649)

Special thanks to all contributors:

v0.25.0

15 May 17:30
Compare
Choose a tag to compare

0.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) (c6a4073)
  • remove deprecated methods from tabular containers
  • specify partial order in label encoder (#763) (6fbe537), closes #639
  • specify value separator when reading CSV file
  • standalone metrics package

Special thanks to all contributors:

v0.24.0

09 May 13:30
Compare
Choose a tag to compare

0.24.0 (2024-05-09)

This release features completely rewritten containers for tabular data (currently experimental). They use the extremely fast polars 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:

Features

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

Bug Fixes

Performance Improvements

  • improved performance of TabularDataset.__eq__ by a factor of up to 2 (#697) (cd7f55b)

v0.23.0

04 May 16:13
Compare
Choose a tag to compare

0.23.0 (2024-05-04)

Features

Bug Fixes

  • use UTF-8 encoding when opening files (#704) (f8c27bc)

v0.22.1

02 May 15:02
Compare
Choose a tag to compare

0.22.1 (2024-05-02)

Bug Fixes

v0.22.0

01 May 19:42
Compare
Choose a tag to compare

0.22.0 (2024-05-01)

Features

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

Bug Fixes

  • actually use kernel of support vector machines for training (#681) (09c5082), closes #602

Performance Improvements

  • Faster plot_histograms and more reliable plots (#659) (b5f0a12)