-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #647 ### Summary of Changes * `TaggedTable` is now called `TabularDataset`, * It is moved from `safeds.data.tabular.containers` to `safeds.data.labeled.containers`. That's where all dataset classes for supervised learning will go, like the upcoming `ImageDataset`. * `TabularDataset` no longer inherits from `Table`. * `TabularDataset` now has a very small interface. It's only meant to be used as input for supervised ML models. Table manipulation is now solely done using the `Table` class. * `tag_columns` on `Table` is now called `to_tabular_dataset`. This makes it consistent with other conversion methods and emphasizes that this is a terminal operation and should only be used once one is done manipulating the table. * `TabularDataset` now has a public `to_table` method to get a `Table` again. --------- Co-authored-by: megalinter-bot <[email protected]>
- Loading branch information
1 parent
72842dd
commit db2b613
Showing
104 changed files
with
1,168 additions
and
3,443 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"""Work with labeled data.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
"""Classes that can store labeled data.""" | ||
|
||
from typing import TYPE_CHECKING | ||
|
||
import apipkg | ||
|
||
if TYPE_CHECKING: | ||
from ._tabular_dataset import TabularDataset | ||
|
||
apipkg.initpkg( | ||
__name__, | ||
{ | ||
"TabularDataset": "._tabular_dataset:TabularDataset", | ||
}, | ||
) | ||
|
||
__all__ = [ | ||
"TabularDataset", | ||
] |
Oops, something went wrong.