DebuggerExtensions.Preview Method

Definition

Overloads

Preview(IDataView, Int32)

Extract a 'head' of the data view in a view that is convenient to debug.

Preview(ITransformer, IDataView, Int32)

Preview an effect of the transformer on a given data.

Preview(IEstimator<ITransformer>, IDataView, Int32, Int32)

Preview an effect of the estimator on a given data.

Preview<TSource>(IDataLoader<TSource>, TSource, Int32)

Preview an effect of the loader on a given source.

Preview(IDataView, Int32)

Source:
DebuggerExtensions.cs
Source:
DebuggerExtensions.cs
Source:
DebuggerExtensions.cs

Extract a 'head' of the data view in a view that is convenient to debug.

C#
public static Microsoft.ML.Data.DataDebuggerPreview Preview(this Microsoft.ML.IDataView data, int maxRows = 100);

Parameters

data
IDataView

The data view to preview

maxRows
Int32

Maximum number of rows to pull

Returns

Applies to

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

Preview(ITransformer, IDataView, Int32)

Source:
DebuggerExtensions.cs
Source:
DebuggerExtensions.cs
Source:
DebuggerExtensions.cs

Preview an effect of the transformer on a given data.

C#
public static Microsoft.ML.Data.DataDebuggerPreview Preview(this Microsoft.ML.ITransformer transformer, Microsoft.ML.IDataView data, int maxRows = 100);

Parameters

transformer
ITransformer

The transformer which effect we are previewing

data
IDataView

The data view to use for preview

maxRows
Int32

Maximum number of rows to pull

Returns

Applies to

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

Preview(IEstimator<ITransformer>, IDataView, Int32, Int32)

Source:
DebuggerExtensions.cs
Source:
DebuggerExtensions.cs
Source:
DebuggerExtensions.cs

Preview an effect of the estimator on a given data.

C#
public static Microsoft.ML.Data.DataDebuggerPreview Preview(this Microsoft.ML.IEstimator<Microsoft.ML.ITransformer> estimator, Microsoft.ML.IDataView data, int maxRows = 100, int maxTrainingRows = 100);

Parameters

estimator
IEstimator<ITransformer>

The estimator which effect we are previewing

data
IDataView

The data view to use for preview

maxRows
Int32

Maximum number of rows to show in preview

maxTrainingRows
Int32

Maximum number of rows to fit the estimator

Returns

Applies to

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

Preview<TSource>(IDataLoader<TSource>, TSource, Int32)

Source:
DebuggerExtensions.cs
Source:
DebuggerExtensions.cs
Source:
DebuggerExtensions.cs

Preview an effect of the loader on a given source.

C#
public static Microsoft.ML.Data.DataDebuggerPreview Preview<TSource>(this Microsoft.ML.IDataLoader<TSource> loader, TSource source, int maxRows = 100);

Type Parameters

TSource

Parameters

loader
IDataLoader<TSource>

The data loader to preview

source
TSource

The source to pull the data from

maxRows
Int32

Maximum number of rows to pull

Returns

Applies to

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