Skip to content

Do a column validation during pipeline construction #267

Closed
@ganik

Description

@ganik

In code below supply a wrong column (bolded below)
Currently wrong column discovered during Train command
Ideally pipeline.Add() should return an error saying that column doesn't exist.

        var pipeline = new LearningPipeline();
        pipeline.Add(new TextLoader<HousePriceData>(dataPath, header: true, sep: ","));
        pipeline.Add(new ColumnConcatenator(outputColumn: "NumericalFeatures",
            "**SqftLiving1**", "SqftLot", "SqftAbove", "SqftBasement", "Lat", "Long", "SqftLiving15", "SqftLot15"));

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIIssues pertaining the friendly APIenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions