-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
EvaluatorUtils to handle label column of type key without text key values #394
Merged
Merged
Changes from 8 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
5f96a45
Fix EvaluatorUtils to handle label column of type key without text ke…
yaeldMS 60e5a4d
Fix bug.
yaeldMS 37ee3ee
Add unit test.
yaeldMS 71f332f
Added unit test.
yaeldMS 77017ba
Added baseline files.
yaeldMS ffca7e6
Fix unit test.
yaeldMS 6d33175
Merge.
yaeldMS 1405b94
Fix LightGBM unit tests.
yaeldMS 113aa77
Fix unit test.
yaeldMS 365c1b5
Fix LightGBM unit tests for Release version.
yaeldMS eaf9bfc
Fix LightGBM unit tests for Release version.
yaeldMS File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
106 changes: 106 additions & 0 deletions
106
...selineOutput/SingleDebug/Command/CommandCrossValidationKeyLabelWithFloatKeyValues-out.txt
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,106 @@ | ||
maml.exe CV tr=FastRankRanking{t=1} strat=Strat threads=- norm=Warn prexf=rangefilter{col=Label min=20 max=25} prexf=term{col=Strat:Label} dout=%Output% loader=text{col=Features:R4:10-14 col=Label:R4:9 col=GroupId:TX:1} data=%Data% out=%Output% xf=term{col=Label} xf=hash{col=GroupId} | ||
Bad value at line 9 in column Label | ||
Processed 501 rows with 1 bad values and 0 format errors | ||
Bad value at line 9 in column Label | ||
Processed 501 rows with 1 bad values and 0 format errors | ||
Not adding a normalizer. | ||
Making per-feature arrays | ||
Changing data from row-wise to column-wise | ||
Bad value at line 9 in column Features at slot 0 | ||
Bad value at line 9 in column Features at slot 1 | ||
Bad value at line 9 in column Features at slot 2 | ||
Bad value at line 9 in column Features at slot 3 | ||
Bad value at line 9 in column Features at slot 4 | ||
Bad value at line 9 in column Label | ||
Processed 501 rows with 6 bad values and 0 format errors | ||
Processed 40 instances | ||
Binning and forming Feature objects | ||
Reserved memory for tree learner: 10764 bytes | ||
Starting to train ... | ||
Not training a calibrator because it is not needed. | ||
Bad value at line 9 in column Features at slot 0 | ||
Bad value at line 9 in column Features at slot 1 | ||
Bad value at line 9 in column Features at slot 2 | ||
Bad value at line 9 in column Features at slot 3 | ||
Bad value at line 9 in column Features at slot 4 | ||
Bad value at line 9 in column Label | ||
Processed 501 rows with 6 bad values and 0 format errors | ||
Bad value at line 9 in column Label | ||
Processed 501 rows with 1 bad values and 0 format errors | ||
Not adding a normalizer. | ||
Making per-feature arrays | ||
Changing data from row-wise to column-wise | ||
Bad value at line 9 in column Features at slot 0 | ||
Bad value at line 9 in column Features at slot 1 | ||
Bad value at line 9 in column Features at slot 2 | ||
Bad value at line 9 in column Features at slot 3 | ||
Bad value at line 9 in column Features at slot 4 | ||
Bad value at line 9 in column Label | ||
Processed 501 rows with 6 bad values and 0 format errors | ||
Processed 32 instances | ||
Binning and forming Feature objects | ||
Reserved memory for tree learner: 6396 bytes | ||
Starting to train ... | ||
Not training a calibrator because it is not needed. | ||
Bad value at line 9 in column Features at slot 0 | ||
Bad value at line 9 in column Features at slot 1 | ||
Bad value at line 9 in column Features at slot 2 | ||
Bad value at line 9 in column Features at slot 3 | ||
Bad value at line 9 in column Features at slot 4 | ||
Bad value at line 9 in column Label | ||
Processed 501 rows with 6 bad values and 0 format errors | ||
NDCG@1: 0.000000 | ||
NDCG@2: 0.000000 | ||
NDCG@3: 0.000000 | ||
DCG@1: 0.000000 | ||
DCG@2: 0.000000 | ||
DCG@3: 0.000000 | ||
NDCG@1: 0.000000 | ||
NDCG@2: 0.000000 | ||
NDCG@3: 0.000000 | ||
DCG@1: 0.000000 | ||
DCG@2: 0.000000 | ||
DCG@3: 0.000000 | ||
|
||
OVERALL RESULTS | ||
--------------------------------------- | ||
NDCG@1: 0.000000 (0.0000) | ||
NDCG@2: 0.000000 (0.0000) | ||
NDCG@3: 0.000000 (0.0000) | ||
DCG@1: 0.000000 (0.0000) | ||
DCG@2: 0.000000 (0.0000) | ||
DCG@3: 0.000000 (0.0000) | ||
|
||
--------------------------------------- | ||
Bad value at line 9 in column Features at slot 0 | ||
Bad value at line 9 in column Features at slot 1 | ||
Bad value at line 9 in column Features at slot 2 | ||
Bad value at line 9 in column Features at slot 3 | ||
Bad value at line 9 in column Features at slot 4 | ||
Bad value at line 9 in column Label | ||
Processed 501 rows with 6 bad values and 0 format errors | ||
Bad value at line 9 in column Features at slot 0 | ||
Bad value at line 9 in column Features at slot 1 | ||
Bad value at line 9 in column Features at slot 2 | ||
Bad value at line 9 in column Features at slot 3 | ||
Bad value at line 9 in column Features at slot 4 | ||
Bad value at line 9 in column Label | ||
Processed 501 rows with 6 bad values and 0 format errors | ||
Bad value at line 9 in column Features at slot 0 | ||
Bad value at line 9 in column Features at slot 1 | ||
Bad value at line 9 in column Features at slot 2 | ||
Bad value at line 9 in column Features at slot 3 | ||
Bad value at line 9 in column Features at slot 4 | ||
Bad value at line 9 in column Label | ||
Processed 501 rows with 6 bad values and 0 format errors | ||
Bad value at line 9 in column Features at slot 0 | ||
Bad value at line 9 in column Features at slot 1 | ||
Bad value at line 9 in column Features at slot 2 | ||
Bad value at line 9 in column Features at slot 3 | ||
Bad value at line 9 in column Features at slot 4 | ||
Bad value at line 9 in column Label | ||
Processed 501 rows with 6 bad values and 0 format errors | ||
Physical memory usage(MB): %Number% | ||
Virtual memory usage(MB): %Number% | ||
%DateTime% Time elapsed(s): %Number% | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add comment what you use MarshalInvoke to pass keyValueType.RawType as generic type to function?