Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Commit

Permalink
build(deps): bump safe-ds from 0.21.0 to 0.26.0 (#169)
Browse files Browse the repository at this point in the history
Bumps [safe-ds](https://github.com/Safe-DS/Library) from 0.21.0 to
0.26.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/Safe-DS/Library/releases">safe-ds's
releases</a>.</em></p>
<blockquote>
<h2>v0.26.0</h2>
<h2><a
href="https://github.com/Safe-DS/Library/compare/v0.25.0...v0.26.0">0.26.0</a>
(2024-05-29)</h2>
<h3>Features</h3>
<ul>
<li><code>Table.count_row_if</code> (<a
href="https://redirect.github.com/Safe-DS/Library/issues/788">#788</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/41371310bede90ed79133f5d5601ead4e4a5660e">4137131</a>),
closes <a
href="https://redirect.github.com/Safe-DS/Library/issues/786">#786</a></li>
<li>added method to load pretrained models from huggingface (<a
href="https://redirect.github.com/Safe-DS/Library/issues/790">#790</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/dd8394bd6e2a22ddcaebbd34e3e80da48fe65102">dd8394b</a>)</li>
<li>infer input size of forward and LSTM layers (<a
href="https://redirect.github.com/Safe-DS/Library/issues/808">#808</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/098a07fc3bd658f1d48005a5585741c94efa7475">098a07f</a>)</li>
<li>outline around dots of scatterplot (<a
href="https://redirect.github.com/Safe-DS/Library/issues/785">#785</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/ee8acf762cef001a111c2d19c8f640ca6790de0c">ee8acf7</a>)</li>
<li>remove output conversions (<a
href="https://redirect.github.com/Safe-DS/Library/issues/792">#792</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/46f2f5d23c38cd011b1097a08b00b9229586abe5">46f2f5d</a>),
closes <a
href="https://redirect.github.com/Safe-DS/Library/issues/732">#732</a></li>
<li>shorten some excessively long names (<a
href="https://redirect.github.com/Safe-DS/Library/issues/787">#787</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/1c3ea599150d4a94cb41b5fcae5d1364c7f5915c">1c3ea59</a>),
closes <a
href="https://redirect.github.com/Safe-DS/Library/issues/772">#772</a></li>
<li>specify column names in constructor of table transformers (<a
href="https://redirect.github.com/Safe-DS/Library/issues/795">#795</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/69a780cab1a5dcab33c8c7a36f03bd2eb3367683">69a780c</a>)</li>
<li>store window size and forecast horizon in dataset (<a
href="https://redirect.github.com/Safe-DS/Library/issues/794">#794</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/f07bc5a51c737ce47fb1c90e6ca68b837cdd6989">f07bc5a</a>)</li>
<li>string operations on cells (<a
href="https://redirect.github.com/Safe-DS/Library/issues/791">#791</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/4a17f76845683eb5493b6c177ed25638217b24e0">4a17f76</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>handling of boolean columns in column statistics (<a
href="https://redirect.github.com/Safe-DS/Library/issues/778">#778</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/f61cceb0e6dba534ae940046efc75555648bccda">f61cceb</a>)</li>
<li>sort x values of line plot (<a
href="https://redirect.github.com/Safe-DS/Library/issues/782">#782</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/74d8649dd4d84b8a1eb89b404146a240e8c69b91">74d8649</a>)</li>
</ul>
<p>Special thanks to all contributors:</p>
<ul>
<li><a
href="https://github.com/Marsmaennchen221"><code>@​Marsmaennchen221</code></a></li>
<li><a
href="https://github.com/SamanHushi"><code>@​SamanHushi</code></a></li>
</ul>
<h2>v0.25.0</h2>
<h2><a
href="https://github.com/Safe-DS/Library/compare/v0.24.0...v0.25.0">0.25.0</a>
(2024-05-15)</h2>
<h3>Features</h3>
<ul>
<li>$R^2$ metric for regressors</li>
<li>allow using tabular datasets in <code>predict</code></li>
<li>implement tabular containers and all transformer (except
<code>Discretizer</code>) with polars</li>
<li>move NN converters and layers to separate packages (<a
href="https://redirect.github.com/Safe-DS/Library/issues/759">#759</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/c6a40731094cc8649280843063ca0a8cf51ac256">c6a4073</a>)</li>
<li>remove deprecated methods from tabular containers</li>
<li>specify partial order in label encoder (<a
href="https://redirect.github.com/Safe-DS/Library/issues/763">#763</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/6fbe5379ae7676906bf8d0f21fe00926d792c60f">6fbe537</a>),
closes <a
href="https://redirect.github.com/Safe-DS/Library/issues/639">#639</a></li>
<li>specify value separator when reading CSV file</li>
<li>standalone metrics package</li>
</ul>
<p>Special thanks to all contributors:</p>
<ul>
<li><a
href="https://github.com/Gerhardsa0"><code>@​Gerhardsa0</code></a></li>
<li><a
href="https://github.com/Marsmaennchen221"><code>@​Marsmaennchen221</code></a></li>
</ul>
<h2>v0.24.0</h2>
<h2><a
href="https://github.com/Safe-DS/Library/compare/v0.23.0...v0.24.0">0.24.0</a>
(2024-05-09)</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/Safe-DS/Library/blob/main/docs/CHANGELOG.md">safe-ds's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/Safe-DS/Library/compare/v0.25.0...v0.26.0">0.26.0</a>
(2024-05-29)</h2>
<h3>Features</h3>
<ul>
<li><code>Table.count_row_if</code> (<a
href="https://redirect.github.com/Safe-DS/Library/issues/788">#788</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/41371310bede90ed79133f5d5601ead4e4a5660e">4137131</a>),
closes <a
href="https://redirect.github.com/Safe-DS/Library/issues/786">#786</a></li>
<li>added method to load pretrained models from huggingface (<a
href="https://redirect.github.com/Safe-DS/Library/issues/790">#790</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/dd8394bd6e2a22ddcaebbd34e3e80da48fe65102">dd8394b</a>)</li>
<li>infer input size of forward and LSTM layers (<a
href="https://redirect.github.com/Safe-DS/Library/issues/808">#808</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/098a07fc3bd658f1d48005a5585741c94efa7475">098a07f</a>)</li>
<li>outline around dots of scatterplot (<a
href="https://redirect.github.com/Safe-DS/Library/issues/785">#785</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/ee8acf762cef001a111c2d19c8f640ca6790de0c">ee8acf7</a>)</li>
<li>remove output conversions (<a
href="https://redirect.github.com/Safe-DS/Library/issues/792">#792</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/46f2f5d23c38cd011b1097a08b00b9229586abe5">46f2f5d</a>),
closes <a
href="https://redirect.github.com/Safe-DS/Library/issues/732">#732</a></li>
<li>shorten some excessively long names (<a
href="https://redirect.github.com/Safe-DS/Library/issues/787">#787</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/1c3ea599150d4a94cb41b5fcae5d1364c7f5915c">1c3ea59</a>),
closes <a
href="https://redirect.github.com/Safe-DS/Library/issues/772">#772</a></li>
<li>specify column names in constructor of table transformers (<a
href="https://redirect.github.com/Safe-DS/Library/issues/795">#795</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/69a780cab1a5dcab33c8c7a36f03bd2eb3367683">69a780c</a>)</li>
<li>store window size and forecast horizon in dataset (<a
href="https://redirect.github.com/Safe-DS/Library/issues/794">#794</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/f07bc5a51c737ce47fb1c90e6ca68b837cdd6989">f07bc5a</a>)</li>
<li>string operations on cells (<a
href="https://redirect.github.com/Safe-DS/Library/issues/791">#791</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/4a17f76845683eb5493b6c177ed25638217b24e0">4a17f76</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>handling of boolean columns in column statistics (<a
href="https://redirect.github.com/Safe-DS/Library/issues/778">#778</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/f61cceb0e6dba534ae940046efc75555648bccda">f61cceb</a>)</li>
<li>sort x values of line plot (<a
href="https://redirect.github.com/Safe-DS/Library/issues/782">#782</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/74d8649dd4d84b8a1eb89b404146a240e8c69b91">74d8649</a>)</li>
</ul>
<h2><a
href="https://github.com/Safe-DS/Library/compare/v0.24.0...v0.25.0">0.25.0</a>
(2024-05-15)</h2>
<h3>Features</h3>
<ul>
<li>major API redesign (WIP) (<a
href="https://redirect.github.com/Safe-DS/Library/issues/752">#752</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/8e781f9728c09b8f94fcb22294bca41eea269d8a">8e781f9</a>),
closes <a
href="https://redirect.github.com/Safe-DS/Library/issues/694">#694</a>
<a
href="https://redirect.github.com/Safe-DS/Library/issues/699">#699</a>
<a
href="https://redirect.github.com/Safe-DS/Library/issues/714">#714</a>
<a
href="https://redirect.github.com/Safe-DS/Library/issues/748">#748</a></li>
<li>move NN converters and layers to separate packages (<a
href="https://redirect.github.com/Safe-DS/Library/issues/759">#759</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/c6a40731094cc8649280843063ca0a8cf51ac256">c6a4073</a>)</li>
<li>remove operations without replacement from tabular containers (<a
href="https://redirect.github.com/Safe-DS/Library/issues/747">#747</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/0e5a54b0e02d3cce427728f8adf3717176340b8b">0e5a54b</a>)</li>
<li>specify partial order in label encoder (<a
href="https://redirect.github.com/Safe-DS/Library/issues/763">#763</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/6fbe5379ae7676906bf8d0f21fe00926d792c60f">6fbe537</a>),
closes <a
href="https://redirect.github.com/Safe-DS/Library/issues/639">#639</a></li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Conversion of tabular dataset to tensors (<a
href="https://redirect.github.com/Safe-DS/Library/issues/757">#757</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/9e40b65e9f18f7af3a376fbc2e8ee0b5435541aa">9e40b65</a>)</li>
<li>fixed devices with new polars implementation (<a
href="https://redirect.github.com/Safe-DS/Library/issues/756">#756</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/e72339e370836bdd285a4746a203f4e91b10436c">e72339e</a>)</li>
</ul>
<h3>Performance Improvements</h3>
<ul>
<li>implement one hot encoder and imputer using polars (<a
href="https://redirect.github.com/Safe-DS/Library/issues/768">#768</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/e993c17725c51c03a4cd9630603298ad3c385765">e993c17</a>)</li>
</ul>
<h2><a
href="https://github.com/Safe-DS/Library/compare/v0.23.0...v0.24.0">0.24.0</a>
(2024-05-09)</h2>
<h3>Features</h3>
<ul>
<li><code>Column.plot_histogram()</code> using
<code>Table.plot_histograms</code> for consistent results (<a
href="https://redirect.github.com/Safe-DS/Library/issues/726">#726</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/576492cde80de2be4ab16b9926106beab13872f1">576492c</a>)</li>
<li><code>Regressor.summarize_metrics</code> and
<code>Classifier.summarize_metrics</code> (<a
href="https://redirect.github.com/Safe-DS/Library/issues/729">#729</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/1cc14b16a5394e98bd64ad0aa39562af5c89b94d">1cc14b1</a>),
closes <a
href="https://redirect.github.com/Safe-DS/Library/issues/713">#713</a></li>
<li><code>Table.keep_only_rows</code> (<a
href="https://redirect.github.com/Safe-DS/Library/issues/721">#721</a>)
(<a
href="https://github.com/Safe-DS/Library/commit/923a6c29f9c9b6dc59a10b5746d71c6cff029f69">923a6c2</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Safe-DS/Library/commit/47747da4e8af66add45c294a9c28603407aaca22"><code>47747da</code></a>
chore(release): 0.26.0 [skip ci]</li>
<li><a
href="https://github.com/Safe-DS/Library/commit/098a07fc3bd658f1d48005a5585741c94efa7475"><code>098a07f</code></a>
feat: infer input size of forward and LSTM layers (<a
href="https://redirect.github.com/Safe-DS/Library/issues/808">#808</a>)</li>
<li><a
href="https://github.com/Safe-DS/Library/commit/69a780cab1a5dcab33c8c7a36f03bd2eb3367683"><code>69a780c</code></a>
feat: specify column names in constructor of table transformers (<a
href="https://redirect.github.com/Safe-DS/Library/issues/795">#795</a>)</li>
<li><a
href="https://github.com/Safe-DS/Library/commit/f07bc5a51c737ce47fb1c90e6ca68b837cdd6989"><code>f07bc5a</code></a>
feat: store window size and forecast horizon in dataset (<a
href="https://redirect.github.com/Safe-DS/Library/issues/794">#794</a>)</li>
<li><a
href="https://github.com/Safe-DS/Library/commit/e0cd47ba6ccc1e9e9c2dbafd03e9b0d7b75908a8"><code>e0cd47b</code></a>
build(deps): bump requests from 2.31.0 to 2.32.0 (<a
href="https://redirect.github.com/Safe-DS/Library/issues/793">#793</a>)</li>
<li><a
href="https://github.com/Safe-DS/Library/commit/a8b4f9f79d91ba10fcd6765b53a4e37624a034a5"><code>a8b4f9f</code></a>
docs: add tutorials for <code>ImageList</code> processing and image
classification with ...</li>
<li><a
href="https://github.com/Safe-DS/Library/commit/46f2f5d23c38cd011b1097a08b00b9229586abe5"><code>46f2f5d</code></a>
feat: remove output conversions (<a
href="https://redirect.github.com/Safe-DS/Library/issues/792">#792</a>)</li>
<li><a
href="https://github.com/Safe-DS/Library/commit/dd8394bd6e2a22ddcaebbd34e3e80da48fe65102"><code>dd8394b</code></a>
feat: added method to load pretrained models from huggingface (<a
href="https://redirect.github.com/Safe-DS/Library/issues/790">#790</a>)</li>
<li><a
href="https://github.com/Safe-DS/Library/commit/4a17f76845683eb5493b6c177ed25638217b24e0"><code>4a17f76</code></a>
feat: string operations on cells (<a
href="https://redirect.github.com/Safe-DS/Library/issues/791">#791</a>)</li>
<li><a
href="https://github.com/Safe-DS/Library/commit/41371310bede90ed79133f5d5601ead4e4a5660e"><code>4137131</code></a>
feat: <code>Table.count_row_if</code> (<a
href="https://redirect.github.com/Safe-DS/Library/issues/788">#788</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/Safe-DS/Library/compare/v0.21.0...v0.26.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=safe-ds&package-manager=pip&previous-version=0.21.0&new-version=0.26.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lars Reimann <[email protected]>
  • Loading branch information
dependabot[bot] and lars-reimann authored Jun 17, 2024
1 parent 07680de commit 9dc67aa
Show file tree
Hide file tree
Showing 14 changed files with 794 additions and 686 deletions.
108 changes: 0 additions & 108 deletions .github/linters/.ruff.toml

This file was deleted.

2 changes: 2 additions & 0 deletions docs/datasets/disable_warnings.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"""Disable output of warnings."""

from __future__ import annotations

import logging
import warnings

Expand Down
44 changes: 14 additions & 30 deletions docs/datasets/display_column_description.py
Original file line number Diff line number Diff line change
@@ -1,45 +1,29 @@
"""Display column descriptions."""

import pandas as pd
from IPython.core.display_functions import DisplayHandle
from IPython.display import display
from __future__ import annotations

from IPython.core.display import DisplayObject
from IPython.display import Markdown
from safeds.data.tabular.containers import Table


def display_column_descriptions(column_descriptions: Table) -> DisplayHandle:
def display_column_descriptions(column_descriptions: Table) -> DisplayObject:
"""
Display a Table containing the column descriptions.
Parameters
----------
column_descriptions : Table
column_descriptions:
The column descriptions.
Returns
-------
DisplayHandle
The display handle.
display_object:
The display object.
"""
# Remember the current value of the max_colwidth option
max_colwidth = pd.get_option("max_colwidth")

# Don't cut off the column descriptions
pd.set_option("max_colwidth", None)

# Create a DisplayHandle that displays the column descriptions nicely
styler = (
column_descriptions._data.style.relabel_index(["Name", "Description"], axis="columns")
.hide(axis="index")
.set_properties(
**{
"text-align": "left",
"white-space": "pre-wrap",
},
)
)
result = display(styler)

# Restore the max_colwidth option
pd.set_option("max_colwidth", max_colwidth)

return result
result = ""

for name, description in column_descriptions._data_frame.iter_rows():
result += f"- **{name}:** {description}\n"

return Markdown(result)
16 changes: 5 additions & 11 deletions docs/datasets/house_sales.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@
"cell_type": "code",
"execution_count": null,
"outputs": [],
"source": [
"house_sales.slice_rows(end=10)"
],
"source": "house_sales.data.slice_rows(length=10)",
"metadata": {
"collapsed": false
}
Expand All @@ -73,9 +71,7 @@
"cell_type": "code",
"execution_count": null,
"outputs": [],
"source": [
"print(str(house_sales.schema))"
],
"source": "print(str(house_sales.data.schema))",
"metadata": {
"collapsed": false
}
Expand All @@ -93,9 +89,7 @@
"cell_type": "code",
"execution_count": null,
"outputs": [],
"source": [
"house_sales.summarize_statistics()"
],
"source": "house_sales.data.summarize_statistics()",
"metadata": {
"collapsed": false
}
Expand All @@ -114,7 +108,7 @@
"execution_count": null,
"outputs": [],
"source": [
"house_sales_correlation = house_sales.remove_columns([\n",
"house_sales_correlation = house_sales.data.remove_columns([\n",
" \"id\",\n",
" \"year\",\n",
" \"month\",\n",
Expand All @@ -123,7 +117,7 @@
" \"latitude\",\n",
" \"longitude\"\n",
"])\n",
"house_sales_correlation.plot_correlation_heatmap()"
"house_sales_correlation.plot.correlation_heatmap()"
],
"metadata": {
"collapsed": false
Expand Down
16 changes: 5 additions & 11 deletions docs/datasets/titanic.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@
"cell_type": "code",
"execution_count": null,
"outputs": [],
"source": [
"titanic.slice_rows(end=10)"
],
"source": "titanic.data.slice_rows(length=10)",
"metadata": {
"collapsed": false
}
Expand All @@ -73,9 +71,7 @@
"cell_type": "code",
"execution_count": null,
"outputs": [],
"source": [
"print(str(titanic.schema))"
],
"source": "print(str(titanic.data.schema))",
"metadata": {
"collapsed": false
}
Expand All @@ -93,9 +89,7 @@
"cell_type": "code",
"execution_count": null,
"outputs": [],
"source": [
"titanic.summarize_statistics()"
],
"source": "titanic.data.summarize_statistics()",
"metadata": {
"collapsed": false
}
Expand All @@ -114,15 +108,15 @@
"execution_count": null,
"outputs": [],
"source": [
"titanic_correlation = titanic.keep_only_columns([\n",
"titanic_correlation = titanic.data.remove_columns_except([\n",
" \"age\",\n",
" \"siblings_spouses\",\n",
" \"parents_children\",\n",
" \"travel_class\",\n",
" \"fare\",\n",
" \"survived\"\n",
"])\n",
"titanic_correlation.plot_correlation_heatmap()"
"titanic_correlation.plot.correlation_heatmap()"
],
"metadata": {
"collapsed": false
Expand Down
Loading

0 comments on commit 9dc67aa

Please sign in to comment.