7 writes to DecimalMarker
Microsoft.ML.Tests (7)
TextLoaderTests.cs (7)
901
DecimalMarker
= '.'
942
options.
DecimalMarker
= ',';
950
options.
DecimalMarker
= ',';
1000
options.
DecimalMarker
= ','; // Choose wrong decimal marker on purpose
1005
options.
DecimalMarker
= '.'; // Choose wrong decimal marker on purpose
1048
DecimalMarker
= '.'
1058
DecimalMarker
= ','
6 references to DecimalMarker
Microsoft.ML.Data (6)
DataLoadSave\Text\TextLoader.cs (6)
1243
if (options.
DecimalMarker
!= '.' && options.
DecimalMarker
!= ',')
1244
throw _host.ExceptUserArg(nameof(Options.
DecimalMarker
), "Decimal marker cannot be the '{0}' character. It must be '.' or ','.", options.
DecimalMarker
);
1245
if (!options.AllowQuoting && options.
DecimalMarker
== ',' && _separators.Contains(','))
1247
_decimalMarker = options.
DecimalMarker
;