-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Adding a sample for LightGbm Ranking #2650
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2650 +/- ##
==========================================
+ Coverage 71.54% 71.56% +0.02%
==========================================
Files 800 805 +5
Lines 141848 142039 +191
Branches 16119 16122 +3
==========================================
+ Hits 101482 101652 +170
- Misses 35916 35951 +35
+ Partials 4450 4436 -14
|
you don't need these. LoadFeaturizedAdultDataset already copies "IsOver50K" to "Label" (default value) so you don't need to specify this. Refers to: docs/samples/Microsoft.ML.Samples/Dynamic/Trainers/BinaryClassification/LightGBMBinaryClassificationWithOptions.cs:25 in b572614. [](commit_id = b572614, deletion_comment = False) |
please use the same format as in Line 34 in 17c037f
// Expected output: Refers to: docs/samples/Microsoft.ML.Samples/Dynamic/Trainers/BinaryClassification/LightGBMBinaryClassificationWithOptions.cs:49 in b572614. [](commit_id = b572614, deletion_comment = False) |
docs/samples/Microsoft.ML.Samples/Dynamic/Trainers/Ranking/LightGBMRanking.cs
Outdated
Show resolved
Hide resolved
|
||
// Output: | ||
// DCG @N: 1.38, 3.11, 4.94 | ||
// NDCG @N: 7.13, 10.12, 12.62 |
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.
7.13, 10.12, 12.62 [](start = 24, length = 18)
These numbers look very low to me. i was expecting the values to be 60+.
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.
Yeah, looks low to me as well. Do we have a known best solution on this dataset?
We don't need a TryConvert method, we already have a TryParse, which can be used instead.
typo in comment: shoudl changed to should
…et#2651) * Creation of DataViewSchemaAnnotationsExtensions and movement of public facing metadata methods. * Internalize MetadataUtils and MetadataBuilder extensions, and revert members to public. * Internalize MetadataBuilderExtensions.
* Internalization and some commenting for transforms assembly. * Internalized CheckInputColumn method.
* Internalization of OneToOne and ManyToOne Column classes * PR feedback.
* Internalize ModelLoadContext * Internalize VersionInfo * Internalize members of ModelSaveContext while keeping the class itself public * Internalize Repository and subclasses
…alization. (dotnet#2667) * Microsoft.ML.Internal.Internallearn namespace requires certain internalization. * PR feedback. * PR feedback.
* 1st pass. builds work locally * fixes inside Ensemble, FastTree, StandardLearners, Sweeper * fixes to Data and Sweeper assemblies
* Reorder MatrixFactorizationTrainer parameters * nit * PR feedback
* Convert VectorToImageTransform to estimator/transformer * Rename Schema, Row, etc. * Code review comments, and fix baseline of EntryPointCatalog test * Code review comments * Fix EntryPointCatalog baseline
* Increase build timeout for code coverage CI. * PR feedback.
* Adding functional tests for explainability
* Stop using System.ComponentModel.Composition Replace our MEF usage, which is only used by custom mapping transforms, with the ComponentCatalog class. Fix dotnet#1595 Fix dotnet#2422 * Rename new class to CustomMappingFactory.
docs/samples/Microsoft.ML.Samples/Dynamic/Trainers/Ranking/LightGBMRanking.cs
Outdated
Show resolved
Hide resolved
* Use AllowSparse=false as default in TextLoader * Update entry point catelog * Make quote- default * TextLoader uses TextLoader's default settings * Address comments * tab to \t * Revert a weird change * Address comments * Reorder arguments * Polish cookbook * Reorder arguments in static TextLoader * Also change argument order in F#
Fixes #2530
Fixes #776
Adding a sample for LightGbm ranking.