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

Fix AutoML's reference to LightGbm #4358

Merged
merged 1 commit into from
Oct 22, 2019
Merged

Conversation

eerhardt
Copy link
Member

AutoML has a reference to LightGbm, however it is getting the wrong version number in the dependency. Instead of 1.4.0-preview..., it is getting 0.16.0-preview.... This is because the casing in the reference is incorrect.

Since the casing is incorrect, when evaluating the LightGbm project as a reference, its name no longer matches the casing in the StableProjects list, so it no longer thinks it is stable, and gets the unstable version.

The fix is to fix the casing, and use case-insensitve checks when evaluating IsStableProject.

Fix #4354

AutoML has a reference to LightGbm, however it is getting the wrong version number in the dependency. Instead of `1.4.0-preview...`, it is getting `0.16.0-preview...`. This is because the casing in the reference is incorrect.

Since the casing is incorrect, when evaluating the LightGbm project as a reference, its name no longer matches the casing in the `StableProjects` list, so it no longer thinks it is stable, and gets the unstable version.

The fix is to fix the casing, and use case-insensitve checks when evaluating IsStableProject.

Fix dotnet#4354
@LittleLittleCloud
Copy link
Contributor

Thank you! Great help

@codecov
Copy link

codecov bot commented Oct 22, 2019

Codecov Report

Merging #4358 into master will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4358      +/-   ##
==========================================
+ Coverage   74.59%   74.62%   +0.02%     
==========================================
  Files         881      882       +1     
  Lines      154815   154848      +33     
  Branches    16910    16913       +3     
==========================================
+ Hits       115486   115552      +66     
+ Misses      34578    34548      -30     
+ Partials     4751     4748       -3
Flag Coverage Δ
#Debug 74.62% <ø> (+0.02%) ⬆️
#production 70.2% <ø> (+0.03%) ⬆️
#test 89.54% <ø> (ø) ⬆️
Impacted Files Coverage Δ
...L.AutoML/TrainerExtensions/TrainerExtensionUtil.cs 85.15% <0%> (-1.75%) ⬇️
...cenariosWithDirectInstantiation/TensorflowTests.cs 90.47% <0%> (ø) ⬆️
...tFramework/Attributes/TensorflowTheoryAttribute.cs 100% <0%> (ø)
...ML.Transforms/Text/StopWordsRemovingTransformer.cs 86.26% <0%> (+0.15%) ⬆️
...c/Microsoft.ML.Dnn/ImageClassificationTransform.cs 87.81% <0%> (+0.39%) ⬆️
src/Microsoft.ML.AutoML/Sweepers/Parameters.cs 83.89% <0%> (+0.84%) ⬆️
src/Microsoft.ML.Dnn/DnnCatalog.cs 79.51% <0%> (+0.85%) ⬆️
src/Microsoft.ML.Maml/MAML.cs 26.21% <0%> (+1.45%) ⬆️
....ML.AutoML/PipelineSuggesters/PipelineSuggester.cs 86.55% <0%> (+3.36%) ⬆️
src/Microsoft.ML.Core/Data/ProgressReporter.cs 77.94% <0%> (+6.98%) ⬆️
... and 1 more

@eerhardt eerhardt merged commit 8d07a53 into dotnet:master Oct 22, 2019
@eerhardt eerhardt deleted the Fix4354 branch October 22, 2019 20:06
frank-dong-ms-zz pushed a commit to frank-dong-ms-zz/machinelearning that referenced this pull request Nov 4, 2019
AutoML has a reference to LightGbm, however it is getting the wrong version number in the dependency. Instead of `1.4.0-preview...`, it is getting `0.16.0-preview...`. This is because the casing in the reference is incorrect.

Since the casing is incorrect, when evaluating the LightGbm project as a reference, its name no longer matches the casing in the `StableProjects` list, so it no longer thinks it is stable, and gets the unstable version.

The fix is to fix the casing, and use case-insensitve checks when evaluating IsStableProject.

Fix dotnet#4354
@ghost ghost locked as resolved and limited conversation to collaborators Mar 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[AutoML] Recommendation experiment got SMAC local search exception during training
3 participants