Skip to content

SelectFeaturesBasedOn* Transformers are not outputing vectors of known size. #4693

@nsingal

Description

@nsingal

System information

  • OS version/distro: Windows
  • .NET Version (eg., dotnet --info):

Code that failed:

Context.Transforms.Text.TokenizeIntoWords("TextFeature") .Append(Context.Transforms.FeatureSelection.SelectFeaturesBasedOnCount("TextFeature", "TextFeature", 10)).
Append(Context.Transforms.FeatureSelection.SelectFeaturesBasedOnMutualInformation("TextFeature", "TextFeature", "Label", 5000))
.Append(Context.Transforms.NormalizeLpNorm("TextFeature", "TextFeature", Microsoft.ML.Transforms.LpNormNormalizingEstimatorBase.NormFunction.L2, true));

Error:
At NormalizeLpNorm, it fails with
Schema mismatch for input column 'TextFeature': expected Expected Single or known-size vector of Single, got VarVector

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Priority of the issue for triage purpose: IMPORTANT, needs to be fixed right away.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions