13 references to AddAttribute
Microsoft.ML.Data (13)
Transforms\ColumnConcatenatingTransformer.cs (1)
942
node.
AddAttribute
("inputdimensions", inputList.Select(x => x.Value));
Transforms\KeyToValue.cs (1)
529
node.
AddAttribute
("keys_int64s", keys);
Transforms\KeyToVector.cs (2)
724
node.
AddAttribute
("cats_int64s", Enumerable.Range(1, categoryRange).Select(x => (long)x));
731
reduceNode.
AddAttribute
("axes", new long[] { 1 });
Transforms\ValueMapping.cs (8)
1097
node.
AddAttribute
("keys_int64s", Array.ConvertAll(_valueMap.GetKeys<T>(), item => Convert.ToInt64(item)));
1131
node.
AddAttribute
("keys_int64s", _valueMap.GetKeys<Int64>());
1216
node.
AddAttribute
("values_int64s", _valueMap.GetValues<long>());
1220
node.
AddAttribute
("values_int64s", _valueMap.GetValues<int>().Select(item => Convert.ToInt64(item)));
1226
node.
AddAttribute
("values_int64s", _valueMap.GetValues<short>().Select(item => Convert.ToInt64(item)));
1232
node.
AddAttribute
("values_int64s", _valueMap.GetValues<ulong>().Select(item => Convert.ToInt64(item)));
1238
node.
AddAttribute
("values_int64s", _valueMap.GetValues<uint>().Select(item => Convert.ToInt64(item)));
1244
node.
AddAttribute
("values_int64s", _valueMap.GetValues<ushort>().Select(item => Convert.ToInt64(item)));
Transforms\ValueToKeyMappingTransformer.cs (1)
889
node.
AddAttribute
("values_int64s", termIds);