dotnet / dotnet/machinelearning

Price PredictionML add projects adding namespaces with space

Open
#4,167 0 comments 0 reactions 0 assignees View on GitHub
area-AutoML Priority:3
Dominant language
C#
Stars
9.4k
Forks
2k
Avg merge
2d 20h
Merged PRs (30d)
11

Description

when I try to add projects after training the price prediction Model.

Check the namespace here with auto generated code.

`using Microsoft.ML.Data;

namespace **Price PredictionML.**Model.DataModels
{
public class ModelInput
{
[ColumnName("vendor_id"), LoadColumn(0)]
public string Vendor_id { get; set; }

[ColumnName("rate_code"), LoadColumn(1)]
public float Rate_code { get; set; }

[ColumnName("passenger_count"), LoadColumn(2)]
public float Passenger_count { get; set; }

[ColumnName("trip_time_in_secs"), LoadColumn(3)]
public float Trip_time_in_secs { get; set; }

[ColumnName("trip_distance"), LoadColumn(4)]
public float Trip_distance { get; set; }

[ColumnName("payment_type"), LoadColumn(5)]
public string Payment_type { get; set; }

[ColumnName("fare_amount"), LoadColumn(6)]
public float Fare_amount { get; set; }

}
}`

### System information

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

### Issue

- **What did you do?**
- **What happened?**
- **What did you expect?**

### Source code / logs

Please paste or attach the code or logs or traces that would be helpful to diagnose the issue you are reporting.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.