DatabaseLoader.Range Constructors

Definition

Overloads

DatabaseLoader.Range()
DatabaseLoader.Range(Int32)

A range representing a single value. Will result in a scalar column.

DatabaseLoader.Range(String)

A range representing a single value. Will result in a scalar column.

DatabaseLoader.Range(Int32, Int32)

A range representing a set of values. Will result in a vector column.

DatabaseLoader.Range()

Source:
DatabaseLoader.cs
Source:
DatabaseLoader.cs
Source:
DatabaseLoader.cs
C#
public Range();

Applies to

ML.NET Preview and other versions
Product Versions
ML.NET 1.4.0, 1.5.0, 1.6.0, 1.7.0, 2.0.0, 3.0.0, 4.0.0, Preview

DatabaseLoader.Range(Int32)

Source:
DatabaseLoader.cs
Source:
DatabaseLoader.cs
Source:
DatabaseLoader.cs

A range representing a single value. Will result in a scalar column.

C#
public Range(int index);

Parameters

index
Int32

The index of the field of the table to read.

Applies to

ML.NET Preview and other versions
Product Versions
ML.NET 1.4.0, 1.5.0, 1.6.0, 1.7.0, 2.0.0, 3.0.0, 4.0.0, Preview

DatabaseLoader.Range(String)

Source:
DatabaseLoader.cs
Source:
DatabaseLoader.cs
Source:
DatabaseLoader.cs

A range representing a single value. Will result in a scalar column.

C#
public Range(string name);

Parameters

name
String

The name of the field of the table to read.

Applies to

ML.NET Preview and other versions
Product Versions
ML.NET 1.4.0, 1.5.0, 1.6.0, 1.7.0, 2.0.0, 3.0.0, 4.0.0, Preview

DatabaseLoader.Range(Int32, Int32)

Source:
DatabaseLoader.cs
Source:
DatabaseLoader.cs
Source:
DatabaseLoader.cs

A range representing a set of values. Will result in a vector column.

C#
public Range(int min, int max);

Parameters

min
Int32

The minimum inclusive index of the column.

max
Int32

The maximum-inclusive index of the column.

Applies to

ML.NET Preview and other versions
Product Versions
ML.NET 1.4.0, 1.5.0, 1.6.0, 1.7.0, 2.0.0, 3.0.0, 4.0.0, Preview