Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX]Corpus fix from_numpy and from_list; modify widget to work with corpuses without text_features #627

Merged
merged 2 commits into from
Mar 11, 2021

Conversation

PrimozGodec
Copy link
Collaborator

Issue

Fixes #625

Description of changes
  • Fix from_numpy which didn't initialize text_features and other variables correctly
  • The Corpus widget showed an error when the text_features list was empty and didn't initialize Used and unused features fields. Fix to initialize fields anyways. Now error only present when no text features in the domain
  • Remove deprecated addSpace attribute in widgetBoxs.
Includes
  • Code changes
  • Tests
  • Documentation

@ajdapretnar
Copy link
Collaborator

This works well, but I'd prefer to resolve the comments in code before merging.

@ajdapretnar ajdapretnar merged commit 4c4069b into biolab:master Mar 11, 2021
@PrimozGodec PrimozGodec deleted the fix-corpus branch March 29, 2023 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Corpus: setting features fails with Concatenate
2 participants