Skip to content

System.ArgumentOutOfRangeException: Schema mismatch for input column 'Label': expected KeyType, got Text #347

@suhaschitade

Description

@suhaschitade

Problem encountered on https://dotnet.microsoft.com/learn/machinelearning-ai/ml-dotnet-get-started-tutorial/code
Operating System: macos

Provide details about the problem you are experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Unhandled Exception: System.ArgumentOutOfRangeException: Schema mismatch for input column 'Label': expected KeyType, got Text
Parameter name: inputSchema
at Microsoft.ML.Transforms.KeyToValueMappingEstimator.GetOutputSchema(SchemaShape inputSchema)
at Microsoft.ML.Data.EstimatorChain1.GetOutputSchema(SchemaShape inputSchema) at Microsoft.ML.Data.EstimatorChain1.Fit(IDataView input)
at myFirstML.Program.Main(String[] args) in /Users/suhaschitade/dotnetspace/ml/myFirstML/Program.cs:line 42

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions