Skip to content

KeyType in example is invalid #3169

Description

@RileyAtWork

[Enter feedback here]
In 0.11 KeyType only takes 1 parameter - 'ulong count'
class MatrixElement
{
// Matrix column index starts from firstColumnIndex and is at most firstColumnIndex+n-1.
// Contieuous=true means that all values from firstColumnIndex to firstColumnIndex+n-1 are allowed keys.
// [KeyType(Contiguous = true, Count = n, Min = firstColumnIndex)]
// public uint MatrixColumnIndex;
// Matrix row index starts from firstRowIndex and is at most firstRowIndex+m-1.
// Contieuous=true means that all values from firstRowIndex to firstRowIndex+m-1 are allowed keys.
[KeyType(Contiguous = true, Count = m, Min = firstRowIndex)]
public uint MatrixRowIndex;
// The rating at the MatrixColumnIndex-th column and the MatrixRowIndex-th row.
public float Value;
}

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Labels

documentationRelated to documentation of ML.NET

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions