Skip to content

Conversation

Ivanidzo4ka
Copy link
Contributor

fixes #2881

/// <summary>
/// Drops missing values from columns.
/// </summary>
public sealed class MissingValueDroppingEstimator : TrivialEstimator<MissingValueDroppingTransformer>
Copy link
Member

@wschin wschin Mar 13, 2019

Choose a reason for hiding this comment

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

Don't we need this estimator anymore? Is there any alternative? #Closed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We don't have extensions for this estimator.
We use transformer as part of other transformers, but I don't see any work with estimator.
I'm tempted to make transformer internal as well, since I don't see how it can be useful for user...


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

Copy link
Contributor

Choose a reason for hiding this comment

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

Unless we have a scenario I would certainly welcome internalizing it, since we can always de-internalize it once we do have a scenario. But if we view this as too far then I'd understand that as well.

Copy link
Member

@wschin wschin left a comment

Choose a reason for hiding this comment

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

LGTM.

@codecov
Copy link

codecov bot commented Mar 13, 2019

Codecov Report

Merging #2950 into master will increase coverage by 0.06%.
The diff coverage is 54.54%.

@@            Coverage Diff             @@
##           master    #2950      +/-   ##
==========================================
+ Coverage   72.19%   72.26%   +0.06%     
==========================================
  Files         796      796              
  Lines      142038   142287     +249     
  Branches    16047    16042       -5     
==========================================
+ Hits       102548   102824     +276     
+ Misses      35110    35086      -24     
+ Partials     4380     4377       -3
Flag Coverage Δ
#Debug 72.26% <54.54%> (+0.06%) ⬆️
#production 68% <54.54%> (+0.02%) ⬆️
#test 88.4% <ø> (+0.09%) ⬆️
Impacted Files Coverage Δ
...rosoft.ML.StaticPipelineTesting/StaticPipeTests.cs 95.27% <ø> (ø) ⬆️
...t.ML.Transforms/MissingValueDroppingTransformer.cs 82.23% <0%> (+9.26%) ⬆️
...soft.ML.Transforms/Text/WordEmbeddingsExtractor.cs 87.52% <100%> (-0.03%) ⬇️
src/Microsoft.ML.StaticPipe/LdaStaticExtensions.cs 94.02% <100%> (ø) ⬆️
src/Microsoft.ML.Transforms/Text/LdaTransform.cs 89.26% <52.63%> (-0.48%) ⬇️
...c/Microsoft.ML.FastTree/Utils/ThreadTaskManager.cs 79.48% <0%> (-20.52%) ⬇️
src/Microsoft.ML.Maml/MAML.cs 24.75% <0%> (-1.46%) ⬇️
...soft.ML.TestFramework/DataPipe/TestDataPipeBase.cs 73.67% <0%> (-0.34%) ⬇️
...ML.Transforms/Text/StopWordsRemovingTransformer.cs 85.53% <0%> (-0.17%) ⬇️
src/Microsoft.ML.Data/Transforms/Normalizer.cs 84.75% <0%> (-0.07%) ⬇️
... and 16 more

@@ -20,8 +20,8 @@ public sealed class LatentDirichletAllocationFitResult
/// <param name="result"></param>
public delegate void OnFit(LatentDirichletAllocationFitResult result);

public LatentDirichletAllocationTransformer.LdaSummary LdaTopicSummary;
public LatentDirichletAllocationFitResult(LatentDirichletAllocationTransformer.LdaSummary ldaTopicSummary)
public LatentDirichletAllocationTransformer.LdaModelParameters LdaTopicSummary;
Copy link
Member

@singlis singlis Mar 14, 2019

Choose a reason for hiding this comment

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

LdaModelParameters [](start = 52, length = 18)

Since the model parameters is an internal class, why not call it ModelParameters instead of LdaModelParameters?

Copy link
Member

@singlis singlis left a comment

Choose a reason for hiding this comment

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

:shipit:

Copy link
Contributor

@TomFinley TomFinley left a comment

Choose a reason for hiding this comment

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

Thank you @Ivanidzo4ka !

@TomFinley TomFinley merged commit 4c29a09 into dotnet:master Mar 14, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Mar 23, 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.

Value-tuple stragglers in the public API
4 participants