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

Upgrade pamegranate to v1 #514

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Upgrade pamegranate to v1 #514

wants to merge 2 commits into from

Conversation

josalhor
Copy link

Pamegranate has been updated to version 1.0, they have changed the API and the previous static methods and import are no longer available.

The changes are:

  • Change the imports and the object initialization
  • Use LabelEncoder to encode the data into a numberic numpy array (otherwise it threw an exception)
  • Encode the data into a seaparate matrix.

Can someone confirm that these changes are correct?

@josalhor josalhor requested a review from a team as a code owner November 12, 2023 20:45
@josalhor josalhor requested review from pvk-developer and removed request for a team November 12, 2023 20:45
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.

1 participant