Skip to content

Fix an initial-value problem caused by unseen row/column #2525

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

Merged
merged 3 commits into from
Feb 14, 2019

Conversation

wschin
Copy link
Member

@wschin wschin commented Feb 13, 2019

Update LIBMF to have this fix. The problem is that when the largest row index in the training set doesn't match the number of rows in the specified matrix shape, rows' starting addresses may look like [ptr_to_first_element_in_row_1, ptr_to_first_element_in_row_8, ptr_to_the_end_of_element_array, nullptr, nullptr] but the correct value should be [ptr_to_first_element_in_row_1, ptr_to_first_element_in_row_8, ptr_to_the_end_of_element_array, ptr_to_the_end_of_element_array, ptr_to_the_end_of_element_array].

Fixes #2488

@wschin wschin added the bug Something isn't working label Feb 13, 2019
@wschin wschin self-assigned this Feb 13, 2019
@Ivanidzo4ka
Copy link
Contributor

Can we have a test?

@wschin
Copy link
Member Author

wschin commented Feb 13, 2019

As you wish. :)


In reply to: 463012943 [](ancestors = 463012943)

@codecov
Copy link

codecov bot commented Feb 13, 2019

Codecov Report

Merging #2525 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2525      +/-   ##
==========================================
+ Coverage   71.25%   71.26%   +0.01%     
==========================================
  Files         798      797       -1     
  Lines      141252   141328      +76     
  Branches    16112    16118       +6     
==========================================
+ Hits       100643   100720      +77     
- Misses      36145    36146       +1     
+ Partials     4464     4462       -2
Flag Coverage Δ
#Debug 71.26% <100%> (+0.01%) ⬆️
#production 67.58% <ø> (ø) ⬆️
#test 85.38% <100%> (+0.02%) ⬆️

Copy link
Contributor

@Ivanidzo4ka Ivanidzo4ka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@wschin wschin requested a review from artidoro February 14, 2019 18:10
Copy link
Contributor

@artidoro artidoro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@wschin wschin merged commit 2a92786 into dotnet:master Feb 14, 2019
@wschin wschin deleted the fix-libmf branch February 14, 2019 20:52
@ghost ghost locked as resolved and limited conversation to collaborators Mar 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ProductRecommander sample - System.AccessViolationException
3 participants