PotatoPlan/Game1/Sources/ML/InOut/BigModelInput.cs

43 lines
913 B
C#
Raw Permalink Normal View History

2020-05-06 16:27:14 +02:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.ML.Data;
2020-05-10 01:38:08 +02:00
class BigModelInput
2020-05-06 16:27:14 +02:00
{
2020-05-10 01:38:08 +02:00
[ColumnName("Ca"), LoadColumn(0)]
public float Ca { get; set; }
2020-05-06 16:27:14 +02:00
2020-05-10 01:38:08 +02:00
[ColumnName("Mg"), LoadColumn(1)]
public float Mg { get; set; }
2020-05-06 16:27:14 +02:00
2020-05-10 01:38:08 +02:00
[ColumnName("K"), LoadColumn(2)]
public float K { get; set; }
2020-05-06 16:27:14 +02:00
2020-05-10 01:38:08 +02:00
[ColumnName("S"), LoadColumn(3)]
public float S { get; set; }
2020-05-06 16:27:14 +02:00
2020-05-10 01:38:08 +02:00
[ColumnName("N"), LoadColumn(4)]
public float N { get; set; }
2020-05-06 16:27:14 +02:00
2020-05-10 01:38:08 +02:00
[ColumnName("Lime"), LoadColumn(5)]
public float Lime { get; set; }
2020-05-06 16:27:14 +02:00
2020-05-10 01:38:08 +02:00
[ColumnName("C"), LoadColumn(6)]
public float C { get; set; }
2020-05-06 16:27:14 +02:00
2020-05-10 01:38:08 +02:00
[ColumnName("P"), LoadColumn(7)]
public float P { get; set; }
2020-05-06 16:27:14 +02:00
2020-05-10 01:38:08 +02:00
[ColumnName("Moisture"), LoadColumn(8)]
public float Moisture { get; set; }
2020-05-06 16:27:14 +02:00
2020-05-10 01:38:08 +02:00
[ColumnName("Class"), LoadColumn(9)]
public float Class { get; set; }
2020-05-06 16:27:14 +02:00
}
2020-05-10 01:38:08 +02:00