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

Fixes two subject / state error #40

Merged
merged 4 commits into from
Mar 11, 2021
Merged

Fixes two subject / state error #40

merged 4 commits into from
Mar 11, 2021

Conversation

cameronmartino
Copy link
Collaborator

There is a bug in the rank estimation when the minimum shape of the input table is less than 3. See issue #38 & #39.

This PR fixes that bug by not estimating a table rank with less than 3 samples. Also, added additional tests to ensure two-state/subject does not break tensor factorization in the future.

@gwarmstrong
Copy link
Member

Looks good to me.

@gwarmstrong gwarmstrong merged commit 0fbe6ac into master Mar 11, 2021
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.

None yet

2 participants