1760 references to WriteLine
Aspire.Cli.EndToEnd.Tests (1)
tests\Shared\TemporaryRepo.cs (1)
54
Console.
WriteLine
($"Error disposing TemporaryRepo: {ex.Message}");
Aspire.Cli.Tests (7)
CliSmokeTests.cs (3)
54
Console.
WriteLine
($"Error output: {errorOutput}");
85
Console.
WriteLine
($"Error output: {errorOutput}");
110
Console.
WriteLine
($"Output: {output}");
Commands\PublishCommandPromptingIntegrationTests.cs (1)
972
System.Console.
WriteLine
($"#{lineNumber} [{messageType}] {message}");
Commands\SdkDumpCommandTests.cs (2)
226
Console.
WriteLine
($"Warnings: {warningLines.Length}");
229
Console.
WriteLine
(warningLine);
tests\Shared\TemporaryRepo.cs (1)
54
Console.
WriteLine
($"Error disposing TemporaryRepo: {ex.Message}");
Aspire.Dashboard.Tests (2)
tests\Shared\Playwright\PlaywrightProvider.cs (2)
59
Console.
WriteLine
($"** Found playwright dependencies in {probePath}");
63
Console.
WriteLine
($"** Did not find playwright dependencies in {probePath}");
Aspire.Deployment.EndToEnd.Tests (11)
Helpers\DeploymentReporter.cs (10)
26
Console.
WriteLine
($"✅ Deployment succeeded: {testName}");
27
Console.
WriteLine
($" Duration: {duration}");
28
Console.
WriteLine
($" Resource Group: {resourceGroupName}");
31
Console.
WriteLine
($" {name}: {url}");
77
Console.
WriteLine
($"❌ Deployment failed: {testName}");
78
Console.
WriteLine
($" Resource Group: {resourceGroupName}");
79
Console.
WriteLine
($" Error: {errorMessage}");
82
Console.
WriteLine
($" Logs: {logs}");
134
Console.
WriteLine
($"🧹 Cleanup completed: {resourceGroupName}");
138
Console.
WriteLine
($"⚠️ Cleanup failed: {resourceGroupName} - {errorMessage}");
tests\Shared\TemporaryRepo.cs (1)
54
Console.
WriteLine
($"Error disposing TemporaryRepo: {ex.Message}");
Aspire.EndToEnd.Tests (13)
tests\Shared\Playwright\PlaywrightProvider.cs (2)
59
Console.
WriteLine
($"** Found playwright dependencies in {probePath}");
63
Console.
WriteLine
($"** Did not find playwright dependencies in {probePath}");
tests\Shared\TemplatesTesting\AspireProject.cs (1)
537
Console.
WriteLine
(msg);
tests\Shared\TemplatesTesting\BuildEnvironment.cs (6)
206
Console.
WriteLine
($"*** Using path for projects: {TestRootPath}");
210
Console.
WriteLine
($"*** Using Sdk path: {sdkForTemplatePath}");
215
Console.
WriteLine
($"*** Using NuGet cache: {NuGetPackagesPath}");
230
Console.
WriteLine
($"*** Using NuGet cache (never deleted automatically): {NuGetPackagesPath}");
252
Console.
WriteLine
($"\tFailed to delete {TestRootPath} . Deleting subdirectories.");
262
Console.
WriteLine
($"\tFailed to delete {dir} : {ioex.Message}. Ignoring.");
tests\Shared\TemplatesTesting\TemplateCustomHive.cs (3)
40
Console.
WriteLine
($"** Custom hive exists, skipping installation: {_customHiveDirectory}");
60
Console.
WriteLine
($"** Custom hive exists, skipping installation: {_customHiveDirectory}");
69
Console.
WriteLine
($"*** Creating templates custom hive: {_customHiveDirectory}");
tests\Shared\TemplatesTesting\TestOutputWrapper.cs (1)
42
Console.
WriteLine
(message);
Aspire.Hosting (3)
DistributedApplication.cs (3)
259
Console.
WriteLine
($"AppHost PID: {Environment.ProcessId}");
263
Console.
WriteLine
($"Waiting for debugger to attach to process: {Environment.ProcessId}");
267
Console.
WriteLine
($"Timeout waiting for debugger to attach to process: {Environment.ProcessId}");
Aspire.RuntimeIdentifier.Tool (2)
Program.cs (2)
64
Console.
WriteLine
("Unable to find the best rid to use");
68
Console.
WriteLine
(bestRidForPlatform);
Aspire.Templates.Tests (13)
tests\Shared\Playwright\PlaywrightProvider.cs (2)
59
Console.
WriteLine
($"** Found playwright dependencies in {probePath}");
63
Console.
WriteLine
($"** Did not find playwright dependencies in {probePath}");
tests\Shared\TemplatesTesting\AspireProject.cs (1)
537
Console.
WriteLine
(msg);
tests\Shared\TemplatesTesting\BuildEnvironment.cs (6)
206
Console.
WriteLine
($"*** Using path for projects: {TestRootPath}");
210
Console.
WriteLine
($"*** Using Sdk path: {sdkForTemplatePath}");
215
Console.
WriteLine
($"*** Using NuGet cache: {NuGetPackagesPath}");
230
Console.
WriteLine
($"*** Using NuGet cache (never deleted automatically): {NuGetPackagesPath}");
252
Console.
WriteLine
($"\tFailed to delete {TestRootPath} . Deleting subdirectories.");
262
Console.
WriteLine
($"\tFailed to delete {dir} : {ioex.Message}. Ignoring.");
tests\Shared\TemplatesTesting\TemplateCustomHive.cs (3)
40
Console.
WriteLine
($"** Custom hive exists, skipping installation: {_customHiveDirectory}");
60
Console.
WriteLine
($"** Custom hive exists, skipping installation: {_customHiveDirectory}");
69
Console.
WriteLine
($"*** Creating templates custom hive: {_customHiveDirectory}");
tests\Shared\TemplatesTesting\TestOutputWrapper.cs (1)
42
Console.
WriteLine
(message);
aspire-managed (27)
NuGet\Commands\LayoutCommand.cs (9)
116
Console.
WriteLine
($"Using packages path: {packagesPath}");
117
Console.
WriteLine
($"Target framework: {target.TargetFramework.GetShortFolderName()}");
118
Console.
WriteLine
(string.Format(CultureInfo.InvariantCulture, "Libraries: {0}", target.Libraries.Count));
138
Console.
WriteLine
($" Skip (not found): {libraryName}/{libraryVersion} at {packagePath}");
174
Console.
WriteLine
($" Copy: {sourcePath} -> {destPath}");
191
Console.
WriteLine
($" Copy (xml): {xmlSourcePath} -> {xmlDestPath}");
219
Console.
WriteLine
($" Copy (native): {sourcePath} -> {destPath}");
225
Console.
WriteLine
(string.Format(CultureInfo.InvariantCulture, "Layout created: {0} files copied to {1}", copiedCount, outputPath));
228
Console.
WriteLine
(string.Format(CultureInfo.InvariantCulture, " ({0} packages skipped - not found in cache)", skippedCount));
NuGet\Commands\RestoreCommand.cs (16)
116
Console.
WriteLine
($"Parsing package argument: {pkgArg}");
159
Console.
WriteLine
(string.Format(CultureInfo.InvariantCulture, "Restoring {0} packages for {1}", packages.Length, framework));
160
Console.
WriteLine
($"Output: {outputPath}");
161
Console.
WriteLine
($"Packages: {packagesDir}");
164
Console.
WriteLine
($"Working dir: {workingDir}");
168
Console.
WriteLine
($"NuGet config: {nugetConfigPath}");
204
Console.
WriteLine
("Running restore...");
225
Console.
WriteLine
($"Restore completed successfully");
226
Console.
WriteLine
($"Assets file: {assetsPath}");
280
Console.
WriteLine
($"Discovering NuGet config from: {workingDir}");
283
Console.
WriteLine
($" Loaded config: {configPath}");
293
Console.
WriteLine
($" Discovered source: {source.Name ?? source.Source}");
303
Console.
WriteLine
($"Warning: Failed to load NuGet config from {workingDir}: {ex.ToString()}");
314
Console.
WriteLine
("Note: Adding nuget.org as fallback package source. Use --no-nuget-org to disable.");
321
Console.
WriteLine
(string.Format(CultureInfo.InvariantCulture, "Using {0} package sources:", packageSources.Count));
324
Console.
WriteLine
($" - {source.Name ?? source.Source}");
NuGet\Commands\SearchCommand.cs (2)
294
Console.
WriteLine
($"{pkg.Id} {pkg.Version}");
297
Console.
WriteLine
($" {pkg.Description}");
cdac-build-tool (21)
DataDescriptorModel.cs (16)
45
Console.
WriteLine
("\nData Descriptor Model:");
46
Console.
WriteLine
($"Platform Flags: 0x{PlatformFlags:x8}");
47
Console.
WriteLine
($"Baseline: {Baseline}");
50
Console.
WriteLine
($"Type: {typeName}");
53
Console.
WriteLine
($" Size: 0x{type.Size:x8}");
57
Console.
WriteLine
($" Field: {fieldName}");
58
Console.
WriteLine
($" Type: {field.Type}");
59
Console.
WriteLine
($" Offset: 0x{field.Offset:x8}");
64
Console.
WriteLine
($"Global: {globalName}");
65
Console.
WriteLine
($" Type: {global.Type}");
66
Console.
WriteLine
($" Value: {global.Value}");
70
Console.
WriteLine
($"Sub-Descriptor: {subDescriptorName}");
71
Console.
WriteLine
($" Type: {subDescriptor.Type}");
72
Console.
WriteLine
($" Value: {subDescriptor.Value}");
76
Console.
WriteLine
($"Contract: {contractName}");
77
Console.
WriteLine
($" Version: {contract}");
ObjectFileScraper.cs (5)
38
Console.
WriteLine
($"Magic starts at 0x{state.MagicStart:x8} in {inputPath}");
49
Console.
WriteLine
($"\nFinished scraping content from {inputPath}");
189
Console.
WriteLine
($"""
438
Console.
WriteLine
(msg);
656
Console.
WriteLine
(msg);
CodeStyleConfigFileGenerator (7)
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FailFast.cs (7)
65
Console.
WriteLine
("Dumping info before call to failfast");
68
Console.
WriteLine
(message);
73
Console.
WriteLine
("Exception info");
76
Console.
WriteLine
(current.Message);
77
Console.
WriteLine
(current.StackTrace);
81
Console.
WriteLine
("Stack trace of handler");
83
Console.
WriteLine
(stackTrace.ToString());
crossgen2 (22)
Crossgen2RootCommand.cs (14)
301
Console.
WriteLine
(SR.OptionPassingHelp);
303
Console.
WriteLine
(SR.DashDashHelp);
306
Console.
WriteLine
(String.Format(SR.SwitchWithDefaultHelp, "--targetos", String.Join("', '", Helpers.ValidOS), Helpers.GetTargetOS(null).ToString().ToLowerInvariant()));
308
Console.
WriteLine
(String.Format(SR.SwitchWithDefaultHelp, "--targetarch", String.Join("', '", Helpers.ValidArchitectures), Helpers.GetTargetArchitecture(null).ToString().ToLowerInvariant()));
312
Console.
WriteLine
(String.Format(SR.SwitchWithDefaultHelp, "--obj-format", String.Join("', '", ValidObjFormats), "pe"));
315
Console.
WriteLine
(String.Format(SR.SwitchWithDefaultHelp, "--type-validation", String.Join("', '", Enum.GetNames<TypeValidationRule>()), nameof(TypeValidationRule.Automatic)));
318
Console.
WriteLine
(SR.CrossModuleInliningExtraHelp);
320
Console.
WriteLine
(String.Format(SR.LayoutOptionExtraHelp, "--method-layout", String.Join("', '", Enum.GetNames<MethodLayoutAlgorithm>())));
322
Console.
WriteLine
(String.Format(SR.LayoutOptionExtraHelp, "--file-layout", String.Join("', '", Enum.GetNames<FileLayoutAlgorithm>())));
325
Console.
WriteLine
(SR.InstructionSetHelp);
355
Console.
WriteLine
(SR.CpuFamilies);
356
Console.
WriteLine
(string.Join(", ", Internal.JitInterface.InstructionSetFlags.AllCpuNames));
424
Console.
WriteLine
(SR.DumpReproInstructions);
427
Console.
WriteLine
(Program.CreateReproArgumentString(failingMethod));
Program.cs (6)
53
Console.
WriteLine
("Waiting for debugger to attach. Press ENTER to continue");
224
Console.
WriteLine
(SR.InputWasNotLoadable);
307
Console.
WriteLine
($@"Moving R2R PE file: {tmpOutFile} to {outFile}");
781
Console.
WriteLine
($"{curIndex} - {searchMethod}");
837
Console.
WriteLine
(SR.DumpReproInstructions);
840
Console.
WriteLine
(CreateReproArgumentString(failingMethod));
src\runtime\src\coreclr\tools\Common\CommandLineHelpers.cs (2)
221
Console.
WriteLine
($"Creating {zipFileName}");
411
Console.
WriteLine
("Warning: No files matching " + pattern);
csc (1)
src\roslyn\src\Compilers\CSharp\csc\Program.cs (1)
24
Console.
WriteLine
(e.Message);
CSharpSyntaxGenerator (5)
Program.cs (5)
74
Console.
WriteLine
(inputFile + " not found.");
85
Console.
WriteLine
("Invalid usage:");
87
Console.
WriteLine
(programName + " input-file output-file [/test | /grammar]");
88
Console.
WriteLine
(programName + " input-file /sig");
111
Console.
WriteLine
("Generating grammar failed.");
DnnAnalyzer (1)
DnnAnalyzer.cs (1)
25
Console.
WriteLine
($"Graph node: '{name}', operation type: '{opType}', output type: '{type}'{inputsString}");
dotnet (17)
Commands\Hidden\Parse\ParseCommand.cs (7)
20
Console.
WriteLine
(reparsed.ToString());
24
Console.
WriteLine
("Unmatched Tokens: ");
25
Console.
WriteLine
(string.Join(" ", reparsed.UnmatchedTokens));
32
Console.
WriteLine
("Option values to be forwarded: ");
33
Console.
WriteLine
(string.Join(" ", optionValuesToBeForwarded));
38
Console.
WriteLine
("ERRORS");
42
Console.
WriteLine
(error?.Message);
Commands\Package\List\PackageListCommand.cs (1)
108
Console.
WriteLine
(jsonError);
Commands\Run\Api\RunApiCommand.cs (1)
48
Console.
WriteLine
(json);
Commands\Run\VirtualProjectBuildingCommand.cs (1)
591
Console.
WriteLine
(result);
Commands\Test\MTP\Logger.cs (1)
110
Console.
WriteLine
($"[dotnet test - {DateTimeOffset.UtcNow:MM/dd/yyyy HH:mm:ss.fff}]{ex}");
Commands\Test\MTP\MicrosoftTestingPlatformTestCommand.Help.cs (1)
23
Console.
WriteLine
(CliCommandStrings.HelpWaitingForOptionsAndExtensions);
Commands\Test\VSTest\VSTestTrace.cs (3)
19
Console.
WriteLine
($"[dotnet test - {DateTime.UtcNow}]Logging to {(!string.IsNullOrEmpty(s_traceFilePath) ? s_traceFilePath : "console")}");
43
Console.
WriteLine
(message);
48
Console.
WriteLine
($"[dotnet test - {DateTimeOffset.UtcNow}]{ex}");
Commands\Workload\Install\WorkloadManifestUpdater.cs (1)
181
Console.
WriteLine
(CliCommandStrings.WorkloadInstallWorkloadUpdatesAvailable);
src\sdk\artifacts\.packages\microsoft.codeanalysis.buildclient\5.9.0-1.26317.109\contentFiles\cs\net11.0\Debug.cs (1)
64
Console.
WriteLine
(message);
dotnet-dev-certs (3)
Program.cs (1)
53
Console.
WriteLine
("Press any key to continue...");
src\aspnetcore\src\Tools\Shared\CommandLine\DebugHelper.cs (2)
22
Console.
WriteLine
("Waiting for debugger to attach. Press ENTER to continue");
24
Console.
WriteLine
($"Process ID: {Environment.ProcessId}");
dotnet-getdocument (2)
src\aspnetcore\src\Tools\Shared\CommandLine\DebugHelper.cs (2)
22
Console.
WriteLine
("Waiting for debugger to attach. Press ENTER to continue");
24
Console.
WriteLine
($"Process ID: {Environment.ProcessId}");
dotnet-Microsoft.XmlSerializer.Generator (4)
Sgen.cs (4)
197
Console.
WriteLine
("This tool is not intended to be used directly.");
198
Console.
WriteLine
("Please refer to https://go.microsoft.com/fwlink/?linkid=858594 on how to use it.");
278
Console.
WriteLine
(SR.Format(SR.ImportInfo, type.Name, i + 1, types.Length));
492
Console.
WriteLine
($".NET Xml Serialization Generation Utility, Version {ThisAssembly.InformationalVersion}]");
dotnet-openapi (3)
Program.cs (1)
46
Console.
WriteLine
(output);
src\aspnetcore\src\Tools\Shared\CommandLine\DebugHelper.cs (2)
22
Console.
WriteLine
("Waiting for debugger to attach. Press ENTER to continue");
24
Console.
WriteLine
($"Process ID: {Environment.ProcessId}");
dotnet-razorpagegenerator (6)
Program.cs (6)
20
Console.
WriteLine
("Invalid argument(s).");
21
Console.
WriteLine
(@"Usage:
48
Console.
WriteLine
($"{results.Count} files successfully generated.");
104
Console.
WriteLine
(" No .cshtml or .razor files were found.");
112
Console.
WriteLine
(" Done!");
131
Console.
WriteLine
($"One or more parse errors encountered. This will not prevent the generator from continuing: {Environment.NewLine}{diagnostics}.");
dotnet-sql-cache (2)
src\aspnetcore\src\Tools\Shared\CommandLine\DebugHelper.cs (2)
22
Console.
WriteLine
("Waiting for debugger to attach. Press ENTER to continue");
24
Console.
WriteLine
($"Process ID: {Environment.ProcessId}");
dotnet-svcutil.xmlserializer (1)
Microsoft\Tools\ServiceModel\SvcUtil\ToolConsole.cs (1)
38
Console.
WriteLine
(str);
dotnet-svcutil-lib (11)
CmdCredentialsProvider.cs (5)
48
Console.
WriteLine
(SR.WrnUserBasicCredentialsInClearText);
143
Console.
WriteLine
(string.Format(CultureInfo.InvariantCulture, SR.CertificateSelectionMessageFormat, serviceUri.Authority));
158
Console.
WriteLine
(FormatCertificate(cert, certId));
227
Console.
WriteLine
(string.Format(CultureInfo.InvariantCulture, SR.ErrServerCertFailedValidationFormat, sslPolicyErrors, FormatCertificate(cert)));
259
Console.
WriteLine
(SR.EnterOrEscapeMessage);
Shared\Utilities\DebugUtils.cs (1)
43
Console.
WriteLine
("Waiting for debugger to attach. Press ENTER to continue");
Shared\Utilities\ProcessRunner.cs (2)
114
Console.
WriteLine
($"Starting process in the background: {Path.GetFileName(proc.ProcessName)}, ID: {proc.Id}.");
115
Console.
WriteLine
($"{Path.GetFileName(currentDir)}>{processName} {processArgs}{Environment.NewLine}");
ToolConsole.cs (3)
142
Console.
WriteLine
(str);
148
Console.
WriteLine
(str);
153
Console.
WriteLine
(str);
dotnet-user-jwts (2)
src\aspnetcore\src\Tools\Shared\CommandLine\DebugHelper.cs (2)
22
Console.
WriteLine
("Waiting for debugger to attach. Press ENTER to continue");
24
Console.
WriteLine
($"Process ID: {Environment.ProcessId}");
dotnet-user-secrets (2)
src\aspnetcore\src\Tools\Shared\CommandLine\DebugHelper.cs (2)
22
Console.
WriteLine
("Waiting for debugger to attach. Press ENTER to continue");
24
Console.
WriteLine
($"Process ID: {Environment.ProcessId}");
EventHubsConsumer (3)
Program.cs (3)
7
Console.
WriteLine
("EventHub consumer/processor test");
16
Console.
WriteLine
("Starting EventHubConsumerClient...");
26
Console.
WriteLine
("Starting EventProcessorClient...");
GenerateAnalyzerNuspec (1)
Program.cs (1)
15
Console.
WriteLine
($"Arg {i}: {args[i]}");
GenerateDocumentationAndConfigFiles (10)
CodeFixerExtensions.cs (2)
57
Console.
WriteLine
($"Error creating instance of {typeInfo.FullName} in {analyzerFileReference.FullPath}\r\n{ex.Message}\r\n{ex}");
64
Console.
WriteLine
($"Error processing analyzer file reference: {analyzerFileReference.FullPath}\r\n{ex.Message}\r\n{ex}");
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
64
Console.
WriteLine
(message);
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FailFast.cs (7)
65
Console.
WriteLine
("Dumping info before call to failfast");
68
Console.
WriteLine
(message);
73
Console.
WriteLine
("Exception info");
76
Console.
WriteLine
(current.Message);
77
Console.
WriteLine
(current.StackTrace);
81
Console.
WriteLine
("Stack trace of handler");
83
Console.
WriteLine
(stackTrace.ToString());
GetDocument.Insider (2)
src\aspnetcore\src\Tools\Shared\CommandLine\DebugHelper.cs (2)
22
Console.
WriteLine
("Waiting for debugger to attach. Press ENTER to continue");
24
Console.
WriteLine
($"Process ID: {Environment.ProcessId}");
ilasm (7)
IlasmRootCommand.cs (1)
166
Console.
WriteLine
("Waiting for debugger to attach. Press ENTER to continue");
Program.cs (6)
38
Console.
WriteLine
(IlasmRootCommand.ProductName);
71
Console.
WriteLine
($"Assembling '{file}' to {(isDll ? "DLL" : "EXE")} --> '{outputPath}'");
239
Console.
WriteLine
($"Warning: {diagnostic.Location}: {diagnostic.Message}");
266
Console.
WriteLine
("Output file contains errors");
271
Console.
WriteLine
("Operation completed successfully");
283
Console.
WriteLine
($"Total time: {stopwatch.ElapsedMilliseconds} ms");
ilc (12)
ILCompilerRootCommand.cs (7)
345
Console.
WriteLine
("Options may be passed on the command line, or via response file. On the command line switch values may be specified by passing " +
350
Console.
WriteLine
("Use the '--' option to disambiguate between input files that have begin with -- and options. After a '--' option, all arguments are " +
355
Console.
WriteLine
(string.Format("Valid switches for {0} are: '{1}'. The default value is '{2}'\n", "--targetarch", string.Join("', '", Helpers.ValidArchitectures), Helpers.GetTargetArchitecture(null).ToString().ToLowerInvariant()));
357
Console.
WriteLine
("The allowable values for the --instruction-set option are described in the table below. Each architecture has a different set of valid " +
392
Console.
WriteLine
("The following CPU names are predefined groups of instruction sets and can be used in --instruction-set too:");
393
Console.
WriteLine
(string.Join(", ", Internal.JitInterface.InstructionSetFlags.AllCpuNames));
447
Console.
WriteLine
("To repro, add following arguments to the command line:");
Program.cs (3)
42
Console.
WriteLine
("Waiting for debugger to attach. Press ENTER to continue");
766
Console.
WriteLine
($"*** {prefix} {set1name} but not {set2name}:");
770
Console.
WriteLine
(d.ToString());
src\runtime\src\coreclr\tools\Common\CommandLineHelpers.cs (2)
221
Console.
WriteLine
($"Creating {zipFileName}");
411
Console.
WriteLine
("Warning: No files matching " + pattern);
ILCompiler.ReadyToRun (7)
CodeGen\ReadyToRunObjectWriter.cs (1)
327
Console.
WriteLine
($@"Emitting R2R {format} file: {objectFilePath}");
Compiler\CallChainProfile.cs (5)
307
Console.
WriteLine
("Callchain profile entries:");
312
Console.
WriteLine
($"{key.Key.ToString()}");
316
Console.
WriteLine
($"\t{calledMethodAndCount.Key.ToString()} -> {calledMethodAndCount.Value} calls");
320
Console.
WriteLine
($"Method resolves attempted: {_methodResolvesAttempted}");
321
Console.
WriteLine
($"Successfully resolved {_methodsSuccessfullyResolved} methods ({(double)_methodsSuccessfullyResolved / (double)_methodResolvesAttempted:P})");
Compiler\DependencyAnalysis\ReadyToRun\ReadyToRunHeaderNode.cs (1)
171
System.Console.
WriteLine
(reason);
illink (88)
Linker\ConsoleLogger.cs (1)
12
Console.
WriteLine
(message.ToString());
Linker\Driver.cs (87)
1502
Console.
WriteLine
(_linker);
1504
Console.
WriteLine
($"illink [options] {resolvers}");
1505
Console.
WriteLine
(" -a ASSEMBLYNAME [MODE] Assembly name used as root assembly with optional MODE value to alter default root mode");
1506
Console.
WriteLine
(" Mode can be one of the following values");
1507
Console.
WriteLine
(" all: Keep all members in root assembly");
1508
Console.
WriteLine
(" default: Use entry point for applications and all members for libraries");
1509
Console.
WriteLine
(" entrypoint: Use assembly entry point as only root in the assembly");
1510
Console.
WriteLine
(" library: All assembly members and data needed for secondary trimming are retained");
1511
Console.
WriteLine
(" visible: Keep all members and types visible outside of the assembly");
1512
Console.
WriteLine
(" -x FILE XML descriptor file with members to be kept");
1515
Console.
WriteLine
("Options");
1516
Console.
WriteLine
(" -d PATH Specify additional directory to search in for assembly references");
1517
Console.
WriteLine
(" -reference FILE Specify additional file location used to resolve assembly references");
1518
Console.
WriteLine
(" -b Update debug symbols for all modified files. Defaults to false");
1519
Console.
WriteLine
(" --preserve-symbol-paths Preserve debug header paths to pdb files. Defaults to false");
1520
Console.
WriteLine
(" -out PATH Specify the output directory. Defaults to 'output'");
1522
Console.
WriteLine
(" @FILE Read response file for more options");
1525
Console.
WriteLine
("Actions");
1526
Console.
WriteLine
(" --trim-mode ACTION Sets action for assemblies annotated with IsTrimmable attribute. Defaults to 'link'");
1527
Console.
WriteLine
(" copy: Analyze whole assembly and save it to the output");
1528
Console.
WriteLine
(" copyused: Same as copy but only for assemblies which are needed");
1529
Console.
WriteLine
(" link: Remove any unused IL or metadata and optimizes the assembly");
1530
Console.
WriteLine
(" skip: Do not process the assembly");
1531
Console.
WriteLine
(" addbypassngen: Add BypassNGenAttribute to unused methods");
1532
Console.
WriteLine
(" addbypassngenused: Same as addbypassngen but unused assemblies are removed");
1533
Console.
WriteLine
(" --action ACTION Sets action for assemblies that have no IsTrimmable attribute. Defaults to 'link'");
1534
Console.
WriteLine
(" --action ACTION ASM Overrides the default action for specific assembly name");
1537
Console.
WriteLine
("Advanced Options");
1539
Console.
WriteLine
(" --custom-step CFG Add a custom step <config> to the existing pipeline");
1540
Console.
WriteLine
(" Step can use one of following configurations");
1541
Console.
WriteLine
(" TYPE,PATH_TO_ASSEMBLY: Add user defined type as last step to the pipeline");
1542
Console.
WriteLine
(" -NAME:TYPE,PATH_TO_ASSEMBLY: Inserts step type before existing step with name");
1543
Console.
WriteLine
(" +NAME:TYPE,PATH_TO_ASSEMBLY: Add step type after existing step");
1544
Console.
WriteLine
(" --custom-data KEY=VALUE Populates context data set with user specified key-value pair");
1545
Console.
WriteLine
(" --deterministic Produce a deterministic output for modified assemblies");
1546
Console.
WriteLine
(" --ignore-descriptors Skips reading embedded descriptors (short -z). Defaults to false");
1547
Console.
WriteLine
(" --skip-unresolved Ignore unresolved types, methods, and assemblies. Defaults to true");
1548
Console.
WriteLine
(" --output-pinvokes PATH Output a JSON file with all modules and entry points of the P/Invokes found");
1549
Console.
WriteLine
(" --verbose Log messages indicating progress and warnings");
1550
Console.
WriteLine
(" --nowarn WARN Disable specific warning messages");
1551
Console.
WriteLine
(" --warn VERSION Only print out warnings with version <= VERSION. Defaults to '9999'");
1552
Console.
WriteLine
(" VERSION is an integer in the range 0-9999.");
1553
Console.
WriteLine
(" --warnaserror[+|-] Report all warnings as errors");
1554
Console.
WriteLine
(" --warnaserror[+|-] WARN Report specific warnings as errors");
1555
Console.
WriteLine
(" --singlewarn[+|-] Show at most one analysis warning per assembly");
1556
Console.
WriteLine
(" --singlewarn[+|-] ASM Show at most one analysis warning for a specific assembly");
1560
Console.
WriteLine
("Trimming");
1561
Console.
WriteLine
(" --disable-opt NAME [ASM] Disable one of the default optimizations globaly or for a specific assembly name");
1562
Console.
WriteLine
(" beforefieldinit: Unused static fields are removed if there is no static ctor");
1563
Console.
WriteLine
(" ipconstprop: Interprocedural constant propagation on return values");
1564
Console.
WriteLine
(" overrideremoval: Overrides of virtual methods on types that are never instantiated are removed");
1565
Console.
WriteLine
(" unreachablebodies: Instance methods that are marked but not executed are converted to throws");
1566
Console.
WriteLine
(" unusedinterfaces: Removes interface types from declaration when not used");
1567
Console.
WriteLine
(" unusedtypechecks: Inlines never successful type checks");
1568
Console.
WriteLine
(" substitutefeatureguards: Substitutes properties annotated as FeatureGuard(typeof(RequiresUnreferencedCodeAttribute)) to false");
1569
Console.
WriteLine
(" --enable-opt NAME [ASM] Enable one of the additional optimizations globaly or for a specific assembly name");
1570
Console.
WriteLine
(" sealer: Any method or type which does not have override is marked as sealed");
1571
Console.
WriteLine
(" --explicit-reflection Adds to members never used through reflection DisablePrivateReflection attribute. Defaults to false");
1572
Console.
WriteLine
(" --feature FEATURE VALUE Apply any optimizations defined when this feature setting is a constant known at link time");
1573
Console.
WriteLine
(" --typemap-entry-assembly NAME Set the assembly name to use as entry point for TypeMap generation.");
1574
Console.
WriteLine
(" --keep-com-interfaces Keep COM interfaces implemented by kept types. Defaults to true");
1575
Console.
WriteLine
(" --keep-compilers-resources Keep assembly resources used for F# compilation resources. Defaults to false");
1576
Console.
WriteLine
(" --keep-dep-attributes Keep attributes used for manual dependency tracking. Defaults to false");
1577
Console.
WriteLine
(" --keep-metadata NAME Keep metadata which would otherwise be removed if not used");
1578
Console.
WriteLine
(" all: Metadata for any member are all kept");
1579
Console.
WriteLine
(" parametername: All parameter names are kept");
1580
Console.
WriteLine
(" --new-mvid Generate a new guid for each linked assembly (short -g). Defaults to true");
1581
Console.
WriteLine
(" --strip-descriptors Remove XML descriptor resources for linked assemblies. Defaults to true");
1582
Console.
WriteLine
(" --strip-security Remove metadata and code related to Code Access Security. Defaults to true");
1583
Console.
WriteLine
(" --substitutions FILE Configuration file with field or methods substitution rules");
1584
Console.
WriteLine
(" --ignore-substitutions Skips reading embedded substitutions. Defaults to false");
1585
Console.
WriteLine
(" --strip-substitutions Remove XML substitution resources for linked assemblies. Defaults to true");
1586
Console.
WriteLine
(" --used-attrs-only Attribute usage is removed if the attribute type is not used. Defaults to false");
1587
Console.
WriteLine
(" --link-attributes FILE Supplementary custom attribute definitions for attributes controlling the trimming behavior.");
1588
Console.
WriteLine
(" --ignore-link-attributes Skips reading embedded attributes. Defaults to false");
1589
Console.
WriteLine
(" --strip-link-attributes Remove XML link attributes resources for linked assemblies. Defaults to true");
1592
Console.
WriteLine
("Analyzer");
1593
Console.
WriteLine
(" --dependencies-file FILE Specify the dependencies output. Defaults to 'output/linker-dependencies.xml'");
1594
Console.
WriteLine
(" if 'xml' is file format, 'output/linker-dependencies.dgml if 'dgml' is file format");
1595
Console.
WriteLine
(" --dump-dependencies Dump dependencies for the ILLink analyzer tool");
1596
Console.
WriteLine
(" --dependencies-file-format FORMAT Specify output file type. Defaults to 'xml'");
1597
Console.
WriteLine
(" xml: outputs an .xml file");
1598
Console.
WriteLine
(" dgml: outputs a .dgml file");
1599
Console.
WriteLine
(" --reduced-tracing Reduces dependency output related to assemblies that will not be modified");
1600
Console.
WriteLine
("");
1612
Console.
WriteLine
("For more information, visit the project Web site");
1613
Console.
WriteLine
(" https://github.com/dotnet/runtime/tree/main/src/tools/illink");
ILLink.RoslynAnalyzer (1)
TrimAnalysis\TrimDataFlowAnalysis.cs (1)
145
Console.
WriteLine
(tracingInfo);
Infrastructure.Common (9)
FrameworkHelper.cs (1)
47
Console.
WriteLine
(String.Format("Detected current FrameworkID as \"{0}\" from description \"{1}\"",
OSHelper.cs (1)
87
Console.
WriteLine
(String.Format("Detected current OSID as \"{0}\" from RuntimeEnvironment and description \"{1}\"",
ServiceUtilHelper.cs (6)
119
System.Console.
WriteLine
(String.Format("Using root certificate:{0}{1}",
212
System.Console.
WriteLine
(String.Format("Using client certificate:{0}{1}",
325
System.Console.
WriteLine
(String.Format("Using peer trust certificate:{0}{1}",
572
Console.
WriteLine
(String.Format("Invoking {0} ...", requestUri));
591
Console.
WriteLine
(String.Format("Invoking {0} ...", requestUri));
610
Console.
WriteLine
(String.Format("Invoking {0} ...", requestUri));
xunit\IssueAttribute.cs (1)
123
Console.
WriteLine
(String.Format("Warning: The number '{0}' in IncludeTestsWithIssues is not a valid integer and will be ignored.", issue));
Microsoft.Arcade.Common (3)
Command.cs (3)
131
_statusForward = Console.
WriteLine
;
162
_stdOutForward = Console.
WriteLine
;
177
_stdErrForward = Console.
WriteLine
;
Microsoft.AspNetCore.Components.Testing (3)
Infrastructure\ServerInstance.cs (1)
248
Console.
WriteLine
($"{prefix}{line}");
Infrastructure\TracingSession.cs (2)
108
Console.
WriteLine
($"[E2E] Test artifacts saved to: {_artifactDir}");
111
Console.
WriteLine
($"[E2E] {Path.GetFileName(file)}");
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
DebugProxyLauncher.cs (2)
51
Console.
WriteLine
($"Invalid value for NO_PROXY: {noProxyEnvVar} (Expected values: \"localhost\" or \"127.0.0.1\")");
161
Console.
WriteLine
(eventArgs.Data);
Microsoft.AspNetCore.DataProtection.MicroBenchmarks (2)
src\aspnetcore\src\Shared\BenchmarkRunner\Program.cs (2)
90
Console.
WriteLine
("Using the debug config since you are debugging. I hope that's OK!");
91
Console.
WriteLine
("Specify a configuration with --config <name> to override");
Microsoft.AspNetCore.Hosting (9)
Internal\WebHost.cs (1)
233
Console.
WriteLine
("Application startup exception: " + ex.ToString());
Internal\WebHostLifetime.cs (1)
62
Console.
WriteLine
(_shutdownMessage);
WebHostBuilder.cs (3)
148
Console.
WriteLine
("The environment variable 'Hosting:Environment' is obsolete and has been replaced with 'ASPNETCORE_ENVIRONMENT'");
153
Console.
WriteLine
("The environment variable 'ASPNET_ENV' is obsolete and has been replaced with 'ASPNETCORE_ENVIRONMENT'");
158
Console.
WriteLine
("The environment variable 'ASPNETCORE_SERVER.URLS' is obsolete and has been replaced with 'ASPNETCORE_URLS'");
WebHostExtensions.cs (4)
119
Console.
WriteLine
($"Hosting environment: {hostingEnvironment?.EnvironmentName}");
120
Console.
WriteLine
($"Content root path: {hostingEnvironment?.ContentRootPath}");
127
Console.
WriteLine
($"Now listening on: {address}");
133
Console.
WriteLine
(startupMessage);
Microsoft.Build (27)
BackEnd\BuildManager\BuildManager.cs (2)
828
Console.
WriteLine
($"Waiting for debugger to attach ({EnvironmentUtilities.ProcessPath} PID {EnvironmentUtilities.CurrentProcessId}). Press enter to continue...");
1197
Console.
WriteLine
(Strings.CreateDiagnosticReport());
BackEnd\Components\Scheduler\SchedulingPlan.cs (3)
258
Console.
WriteLine
("Projects with the most immediate children:");
274
Console.
WriteLine
("Configs in hierarchy by number of occurrences:");
332
Console.
WriteLine
("Projects by expense:");
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
1239
Console.
WriteLine
(e.Message);
Logging\ProfilerLogger.cs (3)
288
Console.
WriteLine
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("WritingProfilerReport", FileToLog));
298
Console.
WriteLine
(ResourceUtilities.GetResourceString("WritingProfilerReportDone"));
307
Console.
WriteLine
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("ErrorWritingProfilerReport", ex.Message));
src\msbuild\src\Shared\Debugging\PrintLineDebuggerWriters.cs (1)
69
public static CommonWriterType StdOutWriter = (id, callsite, args) => Console.
WriteLine
(SimpleFormat(id, callsite, args));
TelemetryInfra\InternalTelemetryConsumingLogger.cs (17)
50
Console.
WriteLine
("==========================================");
51
Console.
WriteLine
($"Targets ({_workerNodeTelemetryData.TargetsExecutionData.Count}):");
54
Console.
WriteLine
($"{target.Key} : {target.Value}");
57
Console.
WriteLine
("==========================================");
58
Console.
WriteLine
($"Tasks: ({_workerNodeTelemetryData.TasksExecutionData.Count})");
59
Console.
WriteLine
("Custom tasks:");
62
Console.
WriteLine
($"{task.Key}");
65
Console.
WriteLine
("==========================================");
66
Console.
WriteLine
("Tasks by time:");
69
Console.
WriteLine
($"{task.Key} - {task.Value.CumulativeExecutionTime}");
72
Console.
WriteLine
("==========================================");
73
Console.
WriteLine
("Tasks by memory consumption:");
76
Console.
WriteLine
($"{task.Key} - {task.Value.TotalMemoryBytes / 1024.0:0.00}kB");
79
Console.
WriteLine
("==========================================");
80
Console.
WriteLine
("Tasks by Executions count:");
83
Console.
WriteLine
($"{task.Key} - {task.Value.ExecutionsCount}");
86
Console.
WriteLine
("==========================================");
Microsoft.Build.Framework (7)
src\msbuild\artifacts\.packages\microsoft.codeanalysis.contracts\5.0.0-1.25277.114\contentFiles\cs\net9.0\ErrorReporting\FailFast.cs (7)
65
Console.
WriteLine
("Dumping info before call to failfast");
68
Console.
WriteLine
(message);
73
Console.
WriteLine
("Exception info");
76
Console.
WriteLine
(current.Message);
77
Console.
WriteLine
(current.StackTrace);
81
Console.
WriteLine
("Stack trace of handler");
83
Console.
WriteLine
(stackTrace.ToString());
Microsoft.Build.Tasks.CodeAnalysis (8)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
64
Console.
WriteLine
(message);
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FailFast.cs (7)
65
Console.
WriteLine
("Dumping info before call to failfast");
68
Console.
WriteLine
(message);
73
Console.
WriteLine
("Exception info");
76
Console.
WriteLine
(current.Message);
77
Console.
WriteLine
(current.StackTrace);
81
Console.
WriteLine
("Stack trace of handler");
83
Console.
WriteLine
(stackTrace.ToString());
Microsoft.Build.Tasks.Core (1)
src\msbuild\src\Shared\Debugging\PrintLineDebuggerWriters.cs (1)
69
public static CommonWriterType StdOutWriter = (id, callsite, args) => Console.
WriteLine
(SimpleFormat(id, callsite, args));
Microsoft.Build.Utilities.Core (1)
src\msbuild\src\Shared\Debugging\PrintLineDebuggerWriters.cs (1)
69
public static CommonWriterType StdOutWriter = (id, callsite, args) => Console.
WriteLine
(SimpleFormat(id, callsite, args));
Microsoft.CodeAnalysis (8)
InternalUtilities\Debug.cs (1)
64
Console.
WriteLine
(message);
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FailFast.cs (7)
65
Console.
WriteLine
("Dumping info before call to failfast");
68
Console.
WriteLine
(message);
73
Console.
WriteLine
("Exception info");
76
Console.
WriteLine
(current.Message);
77
Console.
WriteLine
(current.StackTrace);
81
Console.
WriteLine
("Stack trace of handler");
83
Console.
WriteLine
(stackTrace.ToString());
Microsoft.CodeAnalysis.Analyzers (8)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
64
Console.
WriteLine
(message);
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FailFast.cs (7)
65
Console.
WriteLine
("Dumping info before call to failfast");
68
Console.
WriteLine
(message);
73
Console.
WriteLine
("Exception info");
76
Console.
WriteLine
(current.Message);
77
Console.
WriteLine
(current.StackTrace);
81
Console.
WriteLine
("Stack trace of handler");
83
Console.
WriteLine
(stackTrace.ToString());
Microsoft.CodeAnalysis.AnalyzerUtilities (8)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
64
Console.
WriteLine
(message);
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FailFast.cs (7)
65
Console.
WriteLine
("Dumping info before call to failfast");
68
Console.
WriteLine
(message);
73
Console.
WriteLine
("Exception info");
76
Console.
WriteLine
(current.Message);
77
Console.
WriteLine
(current.StackTrace);
81
Console.
WriteLine
("Stack trace of handler");
83
Console.
WriteLine
(stackTrace.ToString());
Microsoft.CodeAnalysis.CodeStyle (8)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
64
Console.
WriteLine
(message);
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FailFast.cs (7)
65
Console.
WriteLine
("Dumping info before call to failfast");
68
Console.
WriteLine
(message);
73
Console.
WriteLine
("Exception info");
76
Console.
WriteLine
(current.Message);
77
Console.
WriteLine
(current.StackTrace);
81
Console.
WriteLine
("Stack trace of handler");
83
Console.
WriteLine
(stackTrace.ToString());
Microsoft.CodeAnalysis.CSharp (2)
CommandLine\CSharpCommandLineParser.cs (2)
296
Console.
WriteLine
($"Compiler started with process ID {Environment.ProcessId}");
297
Console.
WriteLine
($"Waiting {timeout:g} for a debugger to attach");
Microsoft.CodeAnalysis.Extensions.Package (7)
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FailFast.cs (7)
65
Console.
WriteLine
("Dumping info before call to failfast");
68
Console.
WriteLine
(message);
73
Console.
WriteLine
("Exception info");
76
Console.
WriteLine
(current.Message);
77
Console.
WriteLine
(current.StackTrace);
81
Console.
WriteLine
("Stack trace of handler");
83
Console.
WriteLine
(stackTrace.ToString());
Microsoft.CodeAnalysis.ResxSourceGenerator (8)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
64
Console.
WriteLine
(message);
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FailFast.cs (7)
65
Console.
WriteLine
("Dumping info before call to failfast");
68
Console.
WriteLine
(message);
73
Console.
WriteLine
("Exception info");
76
Console.
WriteLine
(current.Message);
77
Console.
WriteLine
(current.StackTrace);
81
Console.
WriteLine
("Stack trace of handler");
83
Console.
WriteLine
(stackTrace.ToString());
Microsoft.CodeAnalysis.Workspaces (8)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
64
Console.
WriteLine
(message);
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FailFast.cs (7)
65
Console.
WriteLine
("Dumping info before call to failfast");
68
Console.
WriteLine
(message);
73
Console.
WriteLine
("Exception info");
76
Console.
WriteLine
(current.Message);
77
Console.
WriteLine
(current.StackTrace);
81
Console.
WriteLine
("Stack trace of handler");
83
Console.
WriteLine
(stackTrace.ToString());
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
64
Console.
WriteLine
(message);
Microsoft.CodeAnalysis.Workspaces.MSBuild.Contracts (7)
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FailFast.cs (7)
65
Console.
WriteLine
("Dumping info before call to failfast");
68
Console.
WriteLine
(message);
73
Console.
WriteLine
("Exception info");
76
Console.
WriteLine
(current.Message);
77
Console.
WriteLine
(current.StackTrace);
81
Console.
WriteLine
("Stack trace of handler");
83
Console.
WriteLine
(stackTrace.ToString());
Microsoft.Data.Analysis.Tests (3)
test\Microsoft.ML.TestFramework\BaseTestClass.cs (3)
34
Console.
WriteLine
($"Unhandled exception: {e.ExceptionObject}");
74
Console.
WriteLine
($"Starting test: {FullTestName}");
82
Console.
WriteLine
($"Finished test: {FullTestName} " +
Microsoft.Diagnostics.DataContractReader.Contracts (4)
Contracts\StackWalk\Context\X86\GCInfoDecoding\GCArgTable.cs (4)
365
Console.
WriteLine
($"stkOffs: {stkOffs}, lowBit: {lowBit}");
378
Console.
WriteLine
($"lastSkip: {lastSkip}");
521
Console.
WriteLine
($"CallArgCount: {callArgCnt}");
522
Console.
WriteLine
($"CallPndTabCnt: {callPndTabSize}");
Microsoft.DotNet.ApiSymbolExtensions (3)
Logging\ConsoleLog.cs (3)
32
Console.
WriteLine
(message);
46
Console.
WriteLine
(messageTextWithCode);
60
Console.
WriteLine
(message);
Microsoft.DotNet.Arcade.Sdk (2)
src\InstallDotNetCore.cs (2)
171
Console.
WriteLine
(e.Data);
273
Console.
WriteLine
($" Runtime toolset '{runtime}/{architecture} v{version}' already installed in directory '{runtimePath}'.");
Microsoft.DotNet.Cli.Utils (2)
DebugHelper.cs (2)
28
Console.
WriteLine
(LocalizableStrings.WaitingForDebuggerToAttach);
29
Console.
WriteLine
(string.Format(LocalizableStrings.ProcessId, processId));
Microsoft.DotNet.HotReload.Utils.Generator (13)
BaselineProject.cs (2)
37
Console.
WriteLine
($"msbuild failed opening project {config.ProjectPath}");
38
Console.
WriteLine
($"MSBuildWorkspace {diag.Diagnostic.Kind}: {diag.Diagnostic.Message}");
DeltaProject.cs (4)
66
Console.
WriteLine
($"parsing patch #{dinfo.Rev} from {change.Update} and creating delta");
87
Console.
WriteLine
("no changes found");
94
Console.
WriteLine
($"Found changes in {oldDocument.Name}");
124
Console.
WriteLine
($"wrote {dinfo.Dmeta}");
Runner.cs (2)
58
Console.
WriteLine
("baseline ready");
113
Console.
WriteLine
("got a change");
Runners\LiveRunner.cs (4)
38
Console.
WriteLine
($"change in {fsevent.FullPath} is a {fsevent.ChangeType} at {e}");
40
Console.
WriteLine
($"too soon {e-last}");
43
Console.
WriteLine
($"more than 250ms since last change");
47
Console.
WriteLine
($"ignoring change in {fp} which is not in {baselineProjectId}");
Runners\ScriptRunner.cs (1)
67
Console.
WriteLine
($"Unknown EnC capability '{unk}' in '{config.ScriptPath}', ignored.");
Microsoft.DotNet.HotReload.Utils.Generator.Frontend (7)
Frontend.cs (7)
38
Console.
WriteLine
("done");
45
Console.
WriteLine
("hotreload-delta-gen.exe -msbuild:project.csproj [-p:Key=Value ...] [-live|-script:script.json [-outputSummary:results.json]]");
73
Console.
WriteLine
("\t-p option needs a key=value pair");
84
Console.
WriteLine
($"\tUnexpected trailing option {fn}");
91
Console.
WriteLine
("\tmsbuild project is required");
97
Console.
WriteLine
("\tExactly one of -live or -script:script.json is required");
103
Console.
WriteLine
("-outputSummary and -live cannot be used at the same time");
Microsoft.DotNet.HotReload.Watch (3)
UI\PhysicalConsole.cs (3)
48
Console.
WriteLine
("Received CTRL+C key");
55
Console.
WriteLine
($"Sending Ctrl+C to {processId}");
60
Console.
WriteLine
($"Sending SIGTERM to {processId}");
Microsoft.DotNet.MacOsPkg.Core (2)
Package.cs (2)
206
Console.
WriteLine
($"Verifying signature of {inputPath}");
209
Console.
WriteLine
(output);
Microsoft.DotNet.VersionTools.Cli (1)
ConsoleLogger.cs (1)
12
Console.
WriteLine
(String.Format(message, values));
Microsoft.Extensions.AI.Evaluation.Console (2)
Program.cs (1)
31
System.Console.
WriteLine
(Banner);
Telemetry\TelemetryConstants.cs (1)
149
System.Console.
WriteLine
(TelemetryOptOutMessage);
Microsoft.Extensions.AotCompatibility.TestApp (1)
Program.cs (1)
4
System.Console.
WriteLine
("Success!");
Microsoft.Extensions.Telemetry.Tests (1)
Logging\ExtendedLoggerFactoryTests.cs (1)
268
System.Console.
WriteLine
(s);
Microsoft.ML.AutoML.Samples (80)
AutoFit\BinaryClassificationExperiment.cs (15)
25
Console.
WriteLine
($"Running AutoML binary classification experiment for {ExperimentTime} seconds...");
32
Console.
WriteLine
($"Total models produced: {experimentResult.RunDetails.Count()}");
33
Console.
WriteLine
($"Best model's trainer: {bestRun.TrainerName}");
34
Console.
WriteLine
($"Metrics of best model from validation data --");
40
Console.
WriteLine
($"Metrics of best model on test data --");
56
Console.
WriteLine
($"Predicted sentiment for test issue: {prediction.Prediction}");
58
Console.
WriteLine
("Press any key to continue...");
64
Console.
WriteLine
($"Accuracy: {metrics.Accuracy}");
65
Console.
WriteLine
($"AreaUnderPrecisionRecallCurve: {metrics.AreaUnderPrecisionRecallCurve}");
66
Console.
WriteLine
($"AreaUnderRocCurve: {metrics.AreaUnderRocCurve}");
67
Console.
WriteLine
($"F1Score: {metrics.F1Score}");
68
Console.
WriteLine
($"NegativePrecision: {metrics.NegativePrecision}");
69
Console.
WriteLine
($"NegativeRecall: {metrics.NegativeRecall}");
70
Console.
WriteLine
($"PositivePrecision: {metrics.PositivePrecision}");
71
Console.
WriteLine
($"PositiveRecall: {metrics.PositiveRecall}");
AutoFit\MulticlassClassificationExperiment.cs (11)
26
Console.
WriteLine
($"Running AutoML multiclass classification experiment for {ExperimentTime} seconds...");
33
Console.
WriteLine
($"Total models produced: {experimentResult.RunDetails.Count()}");
34
Console.
WriteLine
($"Best model's trainer: {bestRun.TrainerName}");
35
Console.
WriteLine
($"Metrics of best model from validation data --");
41
Console.
WriteLine
($"Metrics of best model on test data --");
57
Console.
WriteLine
($"Predicted number for test pixels: {prediction.Prediction}");
59
Console.
WriteLine
("Press any key to continue...");
65
Console.
WriteLine
($"LogLoss: {metrics.LogLoss}");
66
Console.
WriteLine
($"LogLossReduction: {metrics.LogLossReduction}");
67
Console.
WriteLine
($"MacroAccuracy: {metrics.MacroAccuracy}");
68
Console.
WriteLine
($"MicroAccuracy: {metrics.MicroAccuracy}");
AutoFit\RankingExperiment.cs (10)
29
Console.
WriteLine
($"Running AutoML recommendation experiment for {ExperimentTime} seconds...");
41
Console.
WriteLine
($"Total models produced: {experimentResult.RunDetails.Count()}");
42
Console.
WriteLine
($"Best model's trainer: {bestRun.TrainerName}");
43
Console.
WriteLine
($"Metrics of best model from validation data --");
49
Console.
WriteLine
($"Metrics of best model on test data --");
66
Console.
WriteLine
($"Predicted rating for: {prediction.Prediction}");
76
Console.
WriteLine
($"Predicted: {prediction.Prediction}");
78
Console.
WriteLine
("Press any key to continue...");
84
Console.
WriteLine
($"NormalizedDiscountedCumulativeGains: {metrics.NormalizedDiscountedCumulativeGains}");
85
Console.
WriteLine
($"DiscountedCumulativeGains: {metrics.DiscountedCumulativeGains}");
AutoFit\RecommendationExperiment.cs (12)
32
Console.
WriteLine
($"Running AutoML recommendation experiment for {ExperimentTime} seconds...");
45
Console.
WriteLine
($"Total models produced: {experimentResult.RunDetails.Count()}");
46
Console.
WriteLine
($"Best model's trainer: {bestRun.TrainerName}");
47
Console.
WriteLine
($"Metrics of best model from validation data --");
53
Console.
WriteLine
($"Metrics of best model on test data --");
69
Console.
WriteLine
($"Predicted rating for: {prediction.Rating}");
78
Console.
WriteLine
($"Expected Rating NaN for unknown user, Predicted: {prediction.Rating}");
80
Console.
WriteLine
("Press any key to continue...");
86
Console.
WriteLine
($"MeanAbsoluteError: {metrics.MeanAbsoluteError}");
87
Console.
WriteLine
($"MeanSquaredError: {metrics.MeanSquaredError}");
88
Console.
WriteLine
($"RootMeanSquaredError: {metrics.RootMeanSquaredError}");
89
Console.
WriteLine
($"RSquared: {metrics.RSquared}");
AutoFit\RegressionExperiment.cs (11)
26
Console.
WriteLine
($"Running AutoML regression experiment for {ExperimentTime} seconds...");
33
Console.
WriteLine
($"Total models produced: {experimentResult.RunDetails.Count()}");
34
Console.
WriteLine
($"Best model's trainer: {bestRun.TrainerName}");
35
Console.
WriteLine
($"Metrics of best model from validation data --");
41
Console.
WriteLine
($"Metrics of best model on test data --");
62
Console.
WriteLine
($"Predicted fare for test taxi trip: {prediction.FareAmount}");
64
Console.
WriteLine
("Press any key to continue...");
70
Console.
WriteLine
($"MeanAbsoluteError: {metrics.MeanAbsoluteError}");
71
Console.
WriteLine
($"MeanSquaredError: {metrics.MeanSquaredError}");
72
Console.
WriteLine
($"RootMeanSquaredError: {metrics.RootMeanSquaredError}");
73
Console.
WriteLine
($"RSquared: {metrics.RSquared}");
AutoMLExperiment.cs (9)
39
Console.
WriteLine
(e.RawMessage);
130
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
131
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
132
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
133
Console.
WriteLine
($"Negative Precision: " +
136
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
137
Console.
WriteLine
($"Positive Precision: " +
140
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
141
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Cifar10.cs (1)
32
Console.
WriteLine
(o.Message);
Program.cs (2)
31
Console.
WriteLine
("Done");
35
Console.
WriteLine
($"Exception {ex}");
Sweepable\SweepableLightGBMBinaryExperiment.cs (9)
65
Console.
WriteLine
(e.RawMessage);
157
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
158
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
159
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
160
Console.
WriteLine
($"Negative Precision: " +
163
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
164
Console.
WriteLine
($"Positive Precision: " +
167
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
168
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Microsoft.ML.AutoML.Tests (5)
GetNextPipelineTests.cs (1)
36
Console.
WriteLine
(serialized);
SweeperTests.cs (4)
75
Console.
WriteLine
($"{metric}\t{x1},{x2}");
80
Console.
WriteLine
($"Best: {bestResult.MetricValue}");
131
Console.
WriteLine
($"{metric}\t{x1},{x2},{x3},{x4}");
136
Console.
WriteLine
($"Best: {bestResult.MetricValue}");
Microsoft.ML.CpuMath.PerformanceTests (1)
PerformanceTests.cs (1)
68
Console.
WriteLine
("Random seed: " + seed + "; set environment variable CPUMATH_SEED to this value to reproduce results");
Microsoft.ML.GenAI.Samples (7)
Llama\LlamaSample.cs (1)
33
Console.
WriteLine
("Loading Llama from huggingface model weight folder");
Llama\SFT_Llama_3_2_1B.cs (1)
90
Console.
WriteLine
("Loading Llama from huggingface model weight folder");
MEAI\Llama3_1.cs (1)
34
Console.
WriteLine
("Loading Llama from huggingface model weight folder");
Mistral\Mistral_7B_Instruct.cs (4)
42
Console.
WriteLine
("Loading Mistral from huggingface model weight folder");
73
Console.
WriteLine
("Loading Mistral from huggingface model weight folder");
109
Console.
WriteLine
($"The similarity score between query and document is {score}");
127
Console.
WriteLine
("Loading Mistral from huggingface model weight folder");
Microsoft.ML.IntegrationTests (2)
IntegrationTestBaseClass.cs (2)
65
Console.
WriteLine
($"Starting test: {FullTestName}");
78
Console.
WriteLine
($"Finished test: {FullTestName}");
Microsoft.ML.Maml (2)
MAML.cs (2)
327
Console.
WriteLine
("Usage: maml <cmd> <args>");
328
Console.
WriteLine
(" To get a list of commands: maml ?");
Microsoft.ML.NugetPackageVersionUpdater (2)
Program.cs (2)
72
Console.
WriteLine
($"Update packege {packageName} to version {latestVersion}.");
75
Console.
WriteLine
($"Can't find newer version of Package {packageName} from NuGet source, don't need to update version.");
Microsoft.ML.PerformanceTests (5)
FeaturizeTextBench.cs (1)
30
Console.
WriteLine
($"Created dataset in temporary file:\n{path}\n");
Harness\Metrics.cs (1)
29
Console.
WriteLine
(metric.ToParsableString());
ImageClassificationBench.cs (2)
202
Console.
WriteLine
("");
203
Console.
WriteLine
("Extracting is completed.");
TextLoaderBench.cs (1)
33
Console.
WriteLine
($"Created dataset in temporary file:\n{path}\n");
Microsoft.ML.Samples (836)
Dynamic\DataOperations\BootstrapSample.cs (2)
48
Console.
WriteLine
($"Label\tFeature");
51
Console.
WriteLine
($"{row.Label}\t{row.Feature}");
Dynamic\DataOperations\Cache.cs (3)
22
Console.
WriteLine
($"Lines={lines}," +
39
Console.
WriteLine
($"Lines={lines}," +
52
Console.
WriteLine
(
Dynamic\DataOperations\CrossValidationSplit.cs (4)
207
Console.
WriteLine
($"The data in the Train split.");
209
Console.
WriteLine
($"{row.Group}, {row.Features}");
211
Console.
WriteLine
($"\nThe data in the Test split.");
213
Console.
WriteLine
($"{row.Group}, {row.Features}");
Dynamic\DataOperations\DataViewEnumerable.cs (4)
40
Console.
WriteLine
($"Date\tTemperature");
42
Console.
WriteLine
(
53
Console.
WriteLine
($"Date\tTemperature\tLatitude");
55
Console.
WriteLine
($"{row.Date.ToString("d")}\t{row.Temperature}"
Dynamic\DataOperations\FilterRowsByColumn.cs (4)
23
Console.
WriteLine
($"Date\tTemperature");
26
Console.
WriteLine
(
56
Console.
WriteLine
($"Date\tTemperature");
59
Console.
WriteLine
(
Dynamic\DataOperations\FilterRowsByCustomPredicate.cs (4)
30
Console.
WriteLine
("Name");
33
Console.
WriteLine
(row.Name);
56
Console.
WriteLine
("Name");
59
Console.
WriteLine
(row.Name);
Dynamic\DataOperations\FilterRowsByKeyColumnFraction.cs (6)
43
Console.
WriteLine
($"Age");
46
Console.
WriteLine
($"{row.Age}");
76
Console.
WriteLine
($"Age");
79
Console.
WriteLine
($"{row.Age}");
105
Console.
WriteLine
($"Age");
108
Console.
WriteLine
($"{row.Age}");
Dynamic\DataOperations\FilterRowsByMissingValues.cs (2)
43
Console.
WriteLine
($"Feature1 Feature2");
47
Console.
WriteLine
($"{row.Feature1}" +
Dynamic\DataOperations\FilterRowsByStatefulCustomPredicate.cs (4)
30
Console.
WriteLine
("Name");
33
Console.
WriteLine
(row.Name);
62
Console.
WriteLine
("Name");
65
Console.
WriteLine
(row.Name);
Dynamic\DataOperations\LoadFromEnumerable.cs (3)
42
Console.
WriteLine
($"Is the size of the Features column known: " +
66
Console.
WriteLine
($"Is the size of the Features column known: " +
86
Console.
WriteLine
($"Is the size of the Features column known: " +
Dynamic\DataOperations\LoadingSvmLight.cs (2)
85
Console.
WriteLine
($"Column {col.Name} type {col.Type}");
107
Console.
WriteLine
($"{label} {weight} {string.Join(' ', features.DenseValues())}");
Dynamic\DataOperations\LoadingText.cs (1)
104
Console.
WriteLine
(featuresColumn.Value.ToString());
Dynamic\DataOperations\SaveAndLoadFromBinary.cs (1)
45
Console.
WriteLine
($"{row.Label}, {row.Features}");
Dynamic\DataOperations\SaveAndLoadFromText.cs (1)
45
Console.
WriteLine
($"{row.Label}, {row.Features}");
Dynamic\DataOperations\ShuffleRows.cs (4)
23
Console.
WriteLine
($"Date\tTemperature");
26
Console.
WriteLine
($"{row.Date.ToString("d")}" +
47
Console.
WriteLine
($"Date\tTemperature");
50
Console.
WriteLine
($"{row.Date.ToString("d")}" +
Dynamic\DataOperations\SkipRows.cs (4)
22
Console.
WriteLine
($"Date\tTemperature");
25
Console.
WriteLine
($"{row.Date.ToString("d")}" +
51
Console.
WriteLine
($"Date\tTemperature");
54
Console.
WriteLine
($"{row.Date.ToString("d")}" +
Dynamic\DataOperations\TakeRows.cs (4)
23
Console.
WriteLine
($"Date\tTemperature");
26
Console.
WriteLine
($"{row.Date.ToString("d")}" +
52
Console.
WriteLine
($"Date\tTemperature");
55
Console.
WriteLine
($"{row.Date.ToString("d")}" +
Dynamic\DataOperations\TrainTestSplit.cs (4)
114
Console.
WriteLine
($"The data in the Train split.");
116
Console.
WriteLine
($"{row.Group}, {row.Features}");
118
Console.
WriteLine
($"\nThe data in the Test split.");
120
Console.
WriteLine
($"{row.Group}, {row.Features}");
Dynamic\NgramExtraction.cs (3)
71
Console.
WriteLine
(
79
Console.
WriteLine
("");
82
Console.
WriteLine
(
Dynamic\SimpleDataViewImplementation.cs (1)
63
Console.
WriteLine
(
Dynamic\TensorFlow\ImageClassification.cs (2)
62
Console.
WriteLine
(
65
Console.
WriteLine
(new string('-', 10));
Dynamic\TextTransform.cs (3)
80
Console.
WriteLine
(
87
Console.
WriteLine
("");
90
Console.
WriteLine
(
Dynamic\Trainers\BinaryClassification\AveragedPerceptron.cs (9)
48
Console.
WriteLine
($"Label: {p.Label}, "
128
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
129
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
130
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
131
Console.
WriteLine
($"Negative Precision: " +
134
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
135
Console.
WriteLine
($"Positive Precision: " +
138
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
139
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\AveragedPerceptronWithOptions.cs (9)
59
Console.
WriteLine
($"Label: {p.Label}, "
139
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
140
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
141
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
142
Console.
WriteLine
($"Negative Precision: " +
145
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
146
Console.
WriteLine
($"Positive Precision: " +
149
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
150
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\FactorizationMachine.cs (9)
56
Console.
WriteLine
($"Label: {p.Label}, "
136
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
137
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
138
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
139
Console.
WriteLine
($"Negative Precision: " +
142
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
143
Console.
WriteLine
($"Positive Precision: " +
146
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
147
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\FastForest.cs (9)
51
Console.
WriteLine
($"Label: {p.Label}, "
131
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
132
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
133
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
134
Console.
WriteLine
($"Negative Precision: " +
137
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
138
Console.
WriteLine
($"Positive Precision: " +
141
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
142
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\FastForestWithOptions.cs (9)
63
Console.
WriteLine
($"Label: {p.Label}, "
143
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
144
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
145
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
146
Console.
WriteLine
($"Negative Precision: " +
149
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
150
Console.
WriteLine
($"Positive Precision: " +
153
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
154
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\FastTree.cs (9)
51
Console.
WriteLine
($"Label: {p.Label}, "
134
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
135
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
136
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
137
Console.
WriteLine
($"Negative Precision: " +
140
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
141
Console.
WriteLine
($"Positive Precision: " +
144
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
145
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\FastTreeWithOptions.cs (9)
63
Console.
WriteLine
($"Label: {p.Label}, "
146
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
147
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
148
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
149
Console.
WriteLine
($"Negative Precision: " +
152
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
153
Console.
WriteLine
($"Positive Precision: " +
156
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
157
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachine.cs (11)
87
Console.
WriteLine
($"Actual label: {dataPoint.Label}, "
195
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
196
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
197
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
198
Console.
WriteLine
($"Negative Precision: " +
201
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
202
Console.
WriteLine
($"Positive Precision: " +
205
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}");
206
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
207
Console.
WriteLine
($"Log Loss Reduction: {metrics.LogLossReduction:F2}");
208
Console.
WriteLine
($"Entropy: {metrics.Entropy:F2}");
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachineWithOptions.cs (11)
98
Console.
WriteLine
($"Actual label: {dataPoint.Label}, "
206
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
207
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
208
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
209
Console.
WriteLine
($"Negative Precision: " +
212
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
213
Console.
WriteLine
($"Positive Precision: " +
216
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}");
217
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
218
Console.
WriteLine
($"Log Loss Reduction: {metrics.LogLossReduction:F2}");
219
Console.
WriteLine
($"Entropy: {metrics.Entropy:F2}");
Dynamic\Trainers\BinaryClassification\Gam.cs (3)
54
Console.
WriteLine
($"Average prediction: {gam.Bias:0.00}");
76
Console.
WriteLine
($"Feature{i}");
78
Console.
WriteLine
(
Dynamic\Trainers\BinaryClassification\GamWithOptions.cs (3)
62
Console.
WriteLine
($"Average prediction: {gam.Bias:0.00}");
84
Console.
WriteLine
($"Feature{i}");
86
Console.
WriteLine
(
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegression.cs (9)
48
Console.
WriteLine
($"Label: {p.Label}, "
131
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
132
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
133
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
134
Console.
WriteLine
($"Negative Precision: " +
137
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
138
Console.
WriteLine
($"Positive Precision: " +
141
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
142
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegressionWithOptions.cs (9)
57
Console.
WriteLine
($"Label: {p.Label}, "
140
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
141
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
142
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
143
Console.
WriteLine
($"Negative Precision: " +
146
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
147
Console.
WriteLine
($"Positive Precision: " +
150
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
151
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\LdSvm.cs (9)
48
Console.
WriteLine
($"Label: {p.Label}, "
128
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
129
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
130
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
131
Console.
WriteLine
($"Negative Precision: " +
134
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
135
Console.
WriteLine
($"Positive Precision: " +
138
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
139
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\LdSvmWithOptions.cs (9)
57
Console.
WriteLine
($"Label: {p.Label}, "
137
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
138
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
139
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
140
Console.
WriteLine
($"Negative Precision: " +
143
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
144
Console.
WriteLine
($"Positive Precision: " +
147
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
148
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\LightGbm.cs (9)
51
Console.
WriteLine
($"Label: {p.Label}, "
131
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
132
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
133
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
134
Console.
WriteLine
($"Negative Precision: " +
137
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
138
Console.
WriteLine
($"Positive Precision: " +
141
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
142
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\LightGbmWithOptions.cs (9)
62
Console.
WriteLine
($"Label: {p.Label}, "
142
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
143
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
144
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
145
Console.
WriteLine
($"Negative Precision: " +
148
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
149
Console.
WriteLine
($"Positive Precision: " +
152
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
153
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\LinearSvm.cs (9)
48
Console.
WriteLine
($"Label: {p.Label}, "
128
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
129
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
130
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
131
Console.
WriteLine
($"Negative Precision: " +
134
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
135
Console.
WriteLine
($"Positive Precision: " +
138
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
139
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\LinearSvmWithOptions.cs (9)
57
Console.
WriteLine
($"Label: {p.Label}, "
137
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
138
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
139
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
140
Console.
WriteLine
($"Negative Precision: " +
143
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
144
Console.
WriteLine
($"Positive Precision: " +
147
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
148
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\PermutationFeatureImportance.cs (1)
56
Console.
WriteLine
("Feature\tModel Weight\tChange in AUC"
Dynamic\Trainers\BinaryClassification\PermutationFeatureImportanceLoadFromDisk.cs (1)
55
Console.
WriteLine
("Feature\tModel Weight\tChange in AUC"
Dynamic\Trainers\BinaryClassification\PriorTrainer.cs (9)
48
Console.
WriteLine
($"Label: {p.Label}, "
128
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
129
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
130
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
131
Console.
WriteLine
($"Negative Precision: " +
134
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
135
Console.
WriteLine
($"Positive Precision: " +
138
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
139
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegression.cs (9)
56
Console.
WriteLine
($"Label: {p.Label}, "
136
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
137
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
138
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
139
Console.
WriteLine
($"Negative Precision: " +
142
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
143
Console.
WriteLine
($"Positive Precision: " +
146
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
147
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegressionWithOptions.cs (9)
68
Console.
WriteLine
($"Label: {p.Label}, "
148
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
149
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
150
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
151
Console.
WriteLine
($"Negative Precision: " +
154
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
155
Console.
WriteLine
($"Positive Precision: " +
158
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
159
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SdcaNonCalibrated.cs (9)
56
Console.
WriteLine
($"Label: {p.Label}, "
135
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
136
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
137
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
138
Console.
WriteLine
($"Negative Precision: " +
141
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
142
Console.
WriteLine
($"Positive Precision: " +
145
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
146
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SdcaNonCalibratedWithOptions.cs (9)
70
Console.
WriteLine
($"Label: {p.Label}, "
150
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
151
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
152
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
153
Console.
WriteLine
($"Negative Precision: " +
156
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
157
Console.
WriteLine
($"Positive Precision: " +
160
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
161
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SgdCalibrated.cs (9)
48
Console.
WriteLine
($"Label: {p.Label}, "
128
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
129
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
130
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
131
Console.
WriteLine
($"Negative Precision: " +
134
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
135
Console.
WriteLine
($"Positive Precision: " +
138
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
139
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SgdCalibratedWithOptions.cs (9)
60
Console.
WriteLine
($"Label: {p.Label}, "
140
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
141
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
142
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
143
Console.
WriteLine
($"Negative Precision: " +
146
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
147
Console.
WriteLine
($"Positive Precision: " +
150
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
151
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SgdNonCalibrated.cs (9)
48
Console.
WriteLine
($"Label: {p.Label}, "
128
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
129
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
130
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
131
Console.
WriteLine
($"Negative Precision: " +
134
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
135
Console.
WriteLine
($"Positive Precision: " +
138
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
139
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SgdNonCalibratedWithOptions.cs (9)
57
Console.
WriteLine
($"Label: {p.Label}, "
137
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
138
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
139
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
140
Console.
WriteLine
($"Negative Precision: " +
143
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
144
Console.
WriteLine
($"Positive Precision: " +
147
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
148
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SymbolicSgdLogisticRegression.cs (9)
51
Console.
WriteLine
($"Label: {p.Label}, "
131
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
132
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
133
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
134
Console.
WriteLine
($"Negative Precision: " +
137
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
138
Console.
WriteLine
($"Positive Precision: " +
141
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
142
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SymbolicSgdLogisticRegressionWithOptions.cs (9)
60
Console.
WriteLine
($"Label: {p.Label}, "
140
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
141
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
142
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
143
Console.
WriteLine
($"Negative Precision: " +
146
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
147
Console.
WriteLine
($"Positive Precision: " +
150
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
151
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\Clustering\KMeans.cs (7)
48
Console.
WriteLine
(
52
Console.
WriteLine
(
79
Console.
WriteLine
(
83
Console.
WriteLine
(
138
Console.
WriteLine
($"Normalized Mutual Information: " +
141
Console.
WriteLine
($"Average Distance: " +
144
Console.
WriteLine
($"Davies Bouldin Index: " +
Dynamic\Trainers\Clustering\KMeansWithOptions.cs (7)
56
Console.
WriteLine
(
60
Console.
WriteLine
(
87
Console.
WriteLine
(
91
Console.
WriteLine
(
146
Console.
WriteLine
($"Normalized Mutual Information: " +
149
Console.
WriteLine
($"Average Distance: " +
152
Console.
WriteLine
($"Davies Bouldin Index: " +
Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (16)
72
Console.
WriteLine
("*** Training the image classification model " +
88
Console.
WriteLine
("Training with transfer learning finished.");
111
Console.
WriteLine
("Prediction on a single image finished.");
113
Console.
WriteLine
("Press any key to finish");
121
Console.
WriteLine
(e.Message);
147
Console.
WriteLine
($"Scores : [{string.Join(",", prediction.Score)}], " +
155
Console.
WriteLine
("Making bulk predictions and evaluating model's " +
162
Console.
WriteLine
($"Micro-accuracy: {metrics.MicroAccuracy}," +
165
Console.
WriteLine
("Predicting and Evaluation complete.");
266
Console.
WriteLine
($"{relativeFilePath} already exists.");
270
Console.
WriteLine
($"Downloading {relativeFilePath}");
282
Console.
WriteLine
("");
283
Console.
WriteLine
($"Downloaded {relativeFilePath}");
298
Console.
WriteLine
($"Extracting.");
302
Console.
WriteLine
("");
303
Console.
WriteLine
("Extracting is completed.");
Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (15)
109
Console.
WriteLine
("*** Training the image classification model " +
123
Console.
WriteLine
("Training with transfer learning finished.");
145
Console.
WriteLine
("Prediction on a single image finished.");
147
Console.
WriteLine
("Press any key to finish");
173
Console.
WriteLine
($"Scores : [{string.Join(",", prediction.Score)}], " +
181
Console.
WriteLine
("Making bulk predictions and evaluating model's " +
188
Console.
WriteLine
($"Micro-accuracy: {metrics.MicroAccuracy}," +
191
Console.
WriteLine
("Predicting and Evaluation complete.");
298
Console.
WriteLine
($"{relativeFilePath} already exists.");
302
Console.
WriteLine
($"Downloading {relativeFilePath}");
314
Console.
WriteLine
("");
315
Console.
WriteLine
($"Downloaded {relativeFilePath}");
330
Console.
WriteLine
($"Extracting.");
343
Console.
WriteLine
("");
344
Console.
WriteLine
("Extracting is completed.");
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (15)
96
Console.
WriteLine
("*** Training the image classification model " +
113
Console.
WriteLine
("Training with transfer learning finished.");
140
Console.
WriteLine
("Prediction on a single image finished.");
142
Console.
WriteLine
("Press any key to finish");
169
Console.
WriteLine
($"ImageFile : " +
179
Console.
WriteLine
("Making bulk predictions and evaluating model's " +
186
Console.
WriteLine
($"Micro-accuracy: {metrics.MicroAccuracy}," +
189
Console.
WriteLine
("Predicting and Evaluation complete.");
254
Console.
WriteLine
($"{relativeFilePath} already exists.");
258
Console.
WriteLine
($"Downloading {relativeFilePath}");
270
Console.
WriteLine
("");
271
Console.
WriteLine
($"Downloaded {relativeFilePath}");
286
Console.
WriteLine
($"Extracting.");
299
Console.
WriteLine
("");
300
Console.
WriteLine
("Extracting is completed.");
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (15)
89
Console.
WriteLine
("*** Training the image classification model " +
105
Console.
WriteLine
("Training with transfer learning finished.");
128
Console.
WriteLine
("Prediction on a single image finished.");
130
Console.
WriteLine
("Press any key to finish");
156
Console.
WriteLine
($"Scores : [{string.Join(",", prediction.Score)}], " +
164
Console.
WriteLine
("Making bulk predictions and evaluating model's " +
171
Console.
WriteLine
($"Micro-accuracy: {metrics.MicroAccuracy}," +
174
Console.
WriteLine
("Predicting and Evaluation complete.");
275
Console.
WriteLine
($"{relativeFilePath} already exists.");
279
Console.
WriteLine
($"Downloading {relativeFilePath}");
291
Console.
WriteLine
("");
292
Console.
WriteLine
($"Downloaded {relativeFilePath}");
307
Console.
WriteLine
($"Extracting.");
320
Console.
WriteLine
("");
321
Console.
WriteLine
("Extracting is completed.");
Dynamic\Trainers\MulticlassClassification\LbfgsMaximumEntropy.cs (6)
53
Console.
WriteLine
($"Label: {p.Label}, " +
132
Console.
WriteLine
($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
133
Console.
WriteLine
($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
134
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
135
Console.
WriteLine
(
138
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\LbfgsMaximumEntropyWithOptions.cs (6)
61
Console.
WriteLine
($"Label: {p.Label}, " +
140
Console.
WriteLine
($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
141
Console.
WriteLine
($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
142
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
143
Console.
WriteLine
(
146
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\LightGbm.cs (6)
56
Console.
WriteLine
($"Label: {p.Label}, " +
135
Console.
WriteLine
($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
136
Console.
WriteLine
($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
137
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
138
Console.
WriteLine
(
141
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\LightGbmWithOptions.cs (6)
66
Console.
WriteLine
($"Label: {p.Label}, " +
145
Console.
WriteLine
($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
146
Console.
WriteLine
($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
147
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
148
Console.
WriteLine
(
151
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\LogLossPerClass.cs (1)
55
Console.
WriteLine
($"LogLoss for label " +
Dynamic\Trainers\MulticlassClassification\NaiveBayes.cs (6)
59
Console.
WriteLine
($"Label: {p.Label}, " +
140
Console.
WriteLine
($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
141
Console.
WriteLine
($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
142
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
143
Console.
WriteLine
(
146
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\OneVersusAll.cs (6)
54
Console.
WriteLine
($"Label: {p.Label}, " +
133
Console.
WriteLine
($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
134
Console.
WriteLine
($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
135
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
136
Console.
WriteLine
(
139
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\PairwiseCoupling.cs (6)
54
Console.
WriteLine
($"Label: {p.Label}, " +
133
Console.
WriteLine
($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
134
Console.
WriteLine
($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
135
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
136
Console.
WriteLine
(
139
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\PermutationFeatureImportance.cs (1)
58
Console.
WriteLine
("Feature\tChange in MicroAccuracy\t95% Confidence in "
Dynamic\Trainers\MulticlassClassification\PermutationFeatureImportanceLoadFromDisk.cs (1)
66
Console.
WriteLine
("Feature\tChange in MicroAccuracy\t95% Confidence in "
Dynamic\Trainers\MulticlassClassification\SdcaMaximumEntropy.cs (6)
61
Console.
WriteLine
($"Label: {p.Label}, " +
139
Console.
WriteLine
($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
140
Console.
WriteLine
($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
141
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
142
Console.
WriteLine
(
145
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\SdcaMaximumEntropyWithOptions.cs (6)
70
Console.
WriteLine
($"Label: {p.Label}, " +
149
Console.
WriteLine
($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
150
Console.
WriteLine
($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
151
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
152
Console.
WriteLine
(
155
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\SdcaNonCalibrated.cs (6)
61
Console.
WriteLine
($"Label: {p.Label}, " +
140
Console.
WriteLine
($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
141
Console.
WriteLine
($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
142
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
143
Console.
WriteLine
(
146
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\SdcaNonCalibratedWithOptions.cs (6)
70
Console.
WriteLine
($"Label: {p.Label}, " +
149
Console.
WriteLine
($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
150
Console.
WriteLine
($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
151
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
152
Console.
WriteLine
(
155
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\Ranking\FastTree.cs (3)
53
Console.
WriteLine
($"Label: {p.Label}, Score: {p.Score}");
116
Console.
WriteLine
("DCG: " + string.Join(", ",
120
Console.
WriteLine
("NDCG: " + string.Join(", ",
Dynamic\Trainers\Ranking\FastTreeWithOptions.cs (3)
67
Console.
WriteLine
($"Label: {p.Label}, Score: {p.Score}");
130
Console.
WriteLine
("DCG: " + string.Join(", ",
133
Console.
WriteLine
("NDCG: " + string.Join(", ",
Dynamic\Trainers\Ranking\LightGbm.cs (3)
53
Console.
WriteLine
($"Label: {p.Label}, Score: {p.Score}");
116
Console.
WriteLine
("DCG: " + string.Join(", ",
119
Console.
WriteLine
("NDCG: " + string.Join(", ",
Dynamic\Trainers\Ranking\LightGbmWithOptions.cs (3)
68
Console.
WriteLine
($"Label: {p.Label}, Score: {p.Score}");
131
Console.
WriteLine
("DCG: " + string.Join(", ",
134
Console.
WriteLine
("NDCG: " + string.Join(", ",
Dynamic\Trainers\Ranking\PermutationFeatureImportance.cs (1)
61
Console.
WriteLine
("Feature\tChange in NDCG@1\t95% Confidence in the" +
Dynamic\Trainers\Ranking\PermutationFeatureImportanceLoadFromDisk.cs (1)
68
Console.
WriteLine
("Feature\tChange in NDCG@1\t95% Confidence in the" +
Dynamic\Trainers\Recommendation\MatrixFactorization.cs (5)
53
Console.
WriteLine
($"Actual value: {p.Value:F3}," +
127
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
128
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
129
Console.
WriteLine
("Root Mean Squared Error: " +
132
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Recommendation\MatrixFactorizationWithOptions.cs (5)
77
Console.
WriteLine
($"Actual value: {p.Value:F3}," +
151
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
152
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
153
Console.
WriteLine
("Root Mean Squared Error: " +
156
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Recommendation\OneClassMatrixFactorizationWithOptions.cs (3)
82
Console.
WriteLine
($"Predicted value at row " +
116
Console.
WriteLine
("Top 2 predictions on the 1st row:");
118
Console.
WriteLine
($"Predicted value at row " +
Dynamic\Trainers\Regression\FastForest.cs (5)
52
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
110
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
111
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
112
Console.
WriteLine
(
115
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\FastForestWithOptions.cs (5)
65
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
123
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
124
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
125
Console.
WriteLine
(
128
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\FastTree.cs (5)
52
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
110
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
111
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
112
Console.
WriteLine
(
115
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\FastTreeTweedie.cs (5)
52
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
110
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
111
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
112
Console.
WriteLine
(
115
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\FastTreeTweedieWithOptions.cs (5)
67
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
125
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
126
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
127
Console.
WriteLine
(
130
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\FastTreeWithOptions.cs (5)
68
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
126
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
127
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
128
Console.
WriteLine
(
131
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\Gam.cs (5)
52
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
110
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
111
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
112
Console.
WriteLine
(
115
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\GamAdvanced.cs (3)
54
Console.
WriteLine
($"Average prediction: {gam.Bias:0.00}");
76
Console.
WriteLine
($"Feature{i}");
78
Console.
WriteLine
(
Dynamic\Trainers\Regression\GamWithOptions.cs (5)
63
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
121
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
122
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
123
Console.
WriteLine
(
126
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\GamWithOptionsAdvanced.cs (3)
62
Console.
WriteLine
($"Average prediction: {gam.Bias:0.00}");
84
Console.
WriteLine
($"Feature{i}");
86
Console.
WriteLine
(
Dynamic\Trainers\Regression\LbfgsPoissonRegression.cs (5)
50
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
108
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
109
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
110
Console.
WriteLine
(
113
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\LbfgsPoissonRegressionWithOptions.cs (5)
64
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
122
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
123
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
124
Console.
WriteLine
(
127
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\LightGbm.cs (5)
53
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
111
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
112
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
113
Console.
WriteLine
(
116
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\LightGbmAdvanced.cs (6)
55
Console.
WriteLine
($"weight 0 - {weightsValues[0]}");
57
Console.
WriteLine
($"weight 5 - {weightsValues[5]}");
77
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
78
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
79
Console.
WriteLine
(
82
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\LightGbmWithOptions.cs (5)
72
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
130
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
131
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
132
Console.
WriteLine
(
135
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\LightGbmWithOptionsAdvanced.cs (6)
64
Console.
WriteLine
($"weight 0 - {weightsValues[0]}");
66
Console.
WriteLine
($"weight 5 - {weightsValues[5]}");
86
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
87
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
88
Console.
WriteLine
(
91
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\OnlineGradientDescent.cs (5)
49
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
99
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
100
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
101
Console.
WriteLine
(
104
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\OnlineGradientDescentWithOptions.cs (5)
64
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
115
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
116
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
117
Console.
WriteLine
(
120
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\OrdinaryLeastSquares.cs (5)
49
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
107
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
108
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
109
Console.
WriteLine
(
112
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresAdvanced.cs (6)
59
Console.
WriteLine
($"weight 0 - {weightsValues[0]}");
61
Console.
WriteLine
($"weight 3 - {weightsValues[3]}");
78
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
79
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
80
Console.
WriteLine
(
83
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptions.cs (5)
61
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
119
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
120
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
121
Console.
WriteLine
(
124
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptionsAdvanced.cs (6)
63
Console.
WriteLine
($"weight 0 - {weightsValues[0]}");
65
Console.
WriteLine
($"weight 3 - {weightsValues[3]}");
82
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
83
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
84
Console.
WriteLine
(
87
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\PermutationFeatureImportance.cs (1)
63
Console.
WriteLine
("Feature\tModel Weight\tChange in RMSE\t95%" +
Dynamic\Trainers\Regression\PermutationFeatureImportanceLoadFromDisk.cs (1)
70
Console.
WriteLine
("Feature\tModel Weight\tChange in RMSE\t95%" +
Dynamic\Trainers\Regression\Sdca.cs (5)
49
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
107
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
108
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
109
Console.
WriteLine
(
112
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\SdcaWithOptions.cs (5)
65
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
123
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
124
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
125
Console.
WriteLine
(
128
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Transforms\ApplyOnnxModel.cs (2)
41
Console.
WriteLine
("Class #" + numClasses++ + " score = " +
44
Console.
WriteLine
(new string('-', 10));
Dynamic\Transforms\ApplyONNXModelWithInMemoryImages.cs (2)
67
Console.
WriteLine
("The probability of being the first class is " +
70
Console.
WriteLine
($"The probability of being the last class is " +
Dynamic\Transforms\ApproximatedKernelMap.cs (1)
43
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
Dynamic\Transforms\CalculateFeatureContribution.cs (5)
41
Console.
WriteLine
($"Linear Model Parameters");
42
Console.
WriteLine
("Bias: " + linearModel.Model.Bias + " Feature1: " +
72
Console.
WriteLine
("Label: " + prediction.Label + " Prediction: " +
75
Console.
WriteLine
("Feature1: " + prediction.Features[0] +
78
Console.
WriteLine
("Feature Contributions: " + prediction
Dynamic\Transforms\CalculateFeatureContributionCalibrated.cs (4)
42
Console.
WriteLine
($"Linear Model Parameters");
74
Console.
WriteLine
("Label: " + prediction.Label + " Prediction-Score: " +
78
Console.
WriteLine
("Feature1: " + prediction.Features[0] + " Feature2: "
81
Console.
WriteLine
("Feature Contributions: " + prediction
Dynamic\Transforms\Categorical\OneHotEncoding.cs (1)
58
Console.
WriteLine
(
Dynamic\Transforms\Categorical\OneHotEncodingMultiColumn.cs (1)
45
Console.
WriteLine
(
Dynamic\Transforms\Categorical\OneHotHashEncoding.cs (1)
58
Console.
WriteLine
(
Dynamic\Transforms\Categorical\OneHotHashEncodingMultiColumn.cs (1)
46
Console.
WriteLine
(
Dynamic\Transforms\Concatenate.cs (2)
64
Console.
WriteLine
($"Features column obtained post-transformation.");
66
Console.
WriteLine
(string.Join(" ", featureRow.Features));
Dynamic\Transforms\Conversion\ConvertTypeMultiColumn.cs (2)
61
Console.
WriteLine
("Converted1\t Converted2\t Converted3\t Converted4");
63
Console.
WriteLine
($"\t{item.Converted1}\t {item.Converted2}\t\t " +
Dynamic\Transforms\Conversion\Hash.cs (3)
57
Console.
WriteLine
("Category CategoryHashed\t Age\t AgeHashed");
59
Console.
WriteLine
($"{item.Category}\t {item.CategoryHashed}\t\t " +
87
Console.
WriteLine
($"The original value of the {indices[i]} " +
Dynamic\Transforms\Conversion\HashWithOptions.cs (3)
71
Console.
WriteLine
("Category CategoryHashed\t Age\t AgeHashed");
73
Console.
WriteLine
($"{item.Category}\t {item.CategoryHashed}\t\t " +
101
Console.
WriteLine
($"The original value of the {indices[i]} " +
Dynamic\Transforms\Conversion\KeyToValueToKey.cs (5)
64
Console.
WriteLine
($"Keys");
66
Console.
WriteLine
($"{string.Join(',', dataRow.Keys)}");
74
Console.
WriteLine
($"Keys");
76
Console.
WriteLine
($"{string.Join(',', dataRow.Keys)}");
99
Console.
WriteLine
("");
Dynamic\Transforms\Conversion\MapKeyToBinaryVector.cs (2)
46
Console.
WriteLine
($" Timeframe TimeframeVector");
48
Console.
WriteLine
($"{featureRow.Timeframe}\t\t\t" +
Dynamic\Transforms\Conversion\MapKeyToValueMultiColumn.cs (2)
63
Console.
WriteLine
($"Label LabelOriginalValue PredictedLabel " +
67
Console.
WriteLine
($"{row.Label}\t\t{row.LabelOriginalValue}\t\t\t" +
Dynamic\Transforms\Conversion\MapKeyToVector.cs (2)
59
Console.
WriteLine
("Timeframe TimeframeVector PartsCount " +
63
Console.
WriteLine
(featureRow.Timeframe + " " +
Dynamic\Transforms\Conversion\MapKeyToVectorMultiColumn.cs (2)
47
Console.
WriteLine
($" Timeframe TimeframeVector " +
51
Console.
WriteLine
(featureRow.Timeframe + " " +
Dynamic\Transforms\Conversion\MapValue.cs (2)
74
Console.
WriteLine
(" Timeframe TimeframeCategory Label Score " +
78
Console.
WriteLine
($"{featureRow.Timeframe}\t\t" +
Dynamic\Transforms\Conversion\MapValueIdvLookup.cs (2)
57
Console.
WriteLine
($" Price PriceCategory");
59
Console.
WriteLine
($"{featureRow.Price}\t\t" +
Dynamic\Transforms\Conversion\MapValueToArray.cs (2)
55
Console.
WriteLine
($"Timeframe Features");
57
Console.
WriteLine
($"{featureRow.Timeframe}\t\t " +
Dynamic\Transforms\Conversion\MapValueToKeyMultiColumn.cs (4)
45
Console.
WriteLine
($" StudyTime StudyTimeCategory Course " +
49
Console.
WriteLine
($"{featureRow.StudyTime}\t\t" +
96
Console.
WriteLine
($" StudyTime StudyTimeCategory " +
100
Console.
WriteLine
($"{featureRow.StudyTime}\t\t" +
Dynamic\Transforms\CopyColumns.cs (2)
61
Console.
WriteLine
($"Label and ImageId columns obtained " +
65
Console.
WriteLine
($"Label: {row.Label} ImageId: {row.ImageId}");
Dynamic\Transforms\CustomMapping.cs (2)
50
Console.
WriteLine
("Age\t IsUnderThirty");
52
Console.
WriteLine
($"{row.Age}\t {row.IsUnderThirty}");
Dynamic\Transforms\CustomMappingSaveAndLoad.cs (2)
66
Console.
WriteLine
("Age\tIsUnderThirty");
68
Console.
WriteLine
($"{row.Age}\t {row.IsUnderThirty}");
Dynamic\Transforms\CustomMappingWithInMemoryCustomType.cs (1)
40
Console.
WriteLine
("We got a super alien with name " + firstAlien.Name +
Dynamic\Transforms\DropColumns.cs (3)
61
Console.
WriteLine
($"ExtraColumn is not available, so an exception" +
74
Console.
WriteLine
($"The columns we didn't drop are still available.");
76
Console.
WriteLine
($"Age: {row.Age} Gender: {row.Gender} " +
Dynamic\Transforms\Expression.cs (1)
51
Console.
WriteLine
($"Features column obtained post-transformation.");
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnCount.cs (2)
20
Console.
WriteLine
($"NumericVector StringVector");
50
Console.
WriteLine
($"NumericVector StringVector");
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnCountMultiColumn.cs (2)
20
Console.
WriteLine
($"NumericVector StringVector");
50
Console.
WriteLine
($"NumericVector StringVector");
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnMutualInformation.cs (2)
20
Console.
WriteLine
($"Label NumericVector");
48
Console.
WriteLine
($"NumericVector");
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnMutualInformationMultiColumn.cs (2)
20
Console.
WriteLine
($"NumericVectorA NumericVectorB");
51
Console.
WriteLine
($"NumericVectorA NumericVectorB");
Dynamic\Transforms\ImageAnalytics\ConvertToGrayScaleInMemory.cs (1)
65
Console.
WriteLine
($"The original pixel is {pixelString} and its pixel in gray is {grayPixelString}");
Dynamic\Transforms\IndicateMissingValues.cs (1)
46
Console.
WriteLine
("Features: [" + string.Join(", ", row.Features) +
Dynamic\Transforms\IndicateMissingValuesMultiColumn.cs (1)
54
Console.
WriteLine
("Features1: [" + string.Join(", ", row
Dynamic\Transforms\NormalizeBinning.cs (8)
51
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
63
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
82
Console.
WriteLine
($"The 0-index value in resulting array would be " +
85
Console.
WriteLine
("Where Index(x) is the index of the bin to which " +
88
Console.
WriteLine
("Bins upper bounds are: " + string.Join(" ",
103
Console.
WriteLine
($"The 0-index value in resulting array would be " +
106
Console.
WriteLine
("Where Index(x) is the index of the bin to which x " +
109
Console.
WriteLine
("Bins upper bounds are: " + string.Join(" ",
Dynamic\Transforms\NormalizeBinningMulticolumn.cs (1)
52
Console.
WriteLine
(string.Join(", ", column[i].Select(x => x
Dynamic\Transforms\NormalizeGlobalContrast.cs (1)
38
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
Dynamic\Transforms\NormalizeLogMeanVariance.cs (5)
49
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
59
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
74
Console.
WriteLine
("The 1-index value in resulting array would be " +
77
Console.
WriteLine
("y = 0.5* (1 + ERF((Math.Log(x)- " + transformParams
89
Console.
WriteLine
($"The 1-index value in resulting array would be " +
Dynamic\Transforms\NormalizeLogMeanVarianceFixZero.cs (5)
42
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString("f4"))));
51
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString("f4"))));
61
Console.
WriteLine
("The values in the column with index 1 in the resulting array would be produced by:");
62
Console.
WriteLine
($"y = 0.5* (1 + ERF((Math.Log(x)- {transformParams.Mean[1]}) / ({transformParams.StandardDeviation[1]} * sqrt(2)))");
71
Console.
WriteLine
($"The values in the column with index 1 in the resulting array would be produced by: y = (x - ({offset})) * {scale}");
Dynamic\Transforms\NormalizeLpNorm.cs (1)
39
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
Dynamic\Transforms\NormalizeMeanVariance.cs (5)
48
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
59
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
75
Console.
WriteLine
($"The 1-index value in resulting array would " +
78
Console.
WriteLine
(" y = 0.5* (1 + ERF((x- " + transformParams.Mean[1] +
91
Console.
WriteLine
($"Values for slot 1 would be transformed by " +
Dynamic\Transforms\NormalizeMinMax.cs (4)
47
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
59
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
74
Console.
WriteLine
($"The 1-index value in resulting array would be " +
77
Console.
WriteLine
(" y = (x - (" + (transformParams.Offset.Length == 0 ?
Dynamic\Transforms\NormalizeMinMaxMulticolumn.cs (6)
73
Console.
WriteLine
(string.Join(", ", column[i].Select(x => x
87
Console.
WriteLine
(Environment.NewLine);
90
Console.
WriteLine
(string.Join(", ", columnFixZero[i].Select(x => x
109
Console.
WriteLine
(Environment.NewLine);
111
Console.
WriteLine
($"The 1-index value in resulting array would be " +
114
Console.
WriteLine
(" y = (x - (" + (transformParams.Offset.Length == 0 ?
Dynamic\Transforms\NormalizeSupervisedBinning.cs (10)
65
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
78
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
95
Console.
WriteLine
($"The 1-index value in resulting array would be " +
98
Console.
WriteLine
("y = (Index(x) / " + transformParams.Density[0] +
102
Console.
WriteLine
("Where Index(x) is the index of the bin to which " +
105
Console.
WriteLine
("Bins upper borders are: " + string.Join(" ",
117
Console.
WriteLine
($"The 1-index value in resulting array would be " +
120
Console.
WriteLine
(" y = (Index(x) / " + fixZeroParams.Density[1] +
124
Console.
WriteLine
("Where Index(x) is the index of the bin to which x " +
127
Console.
WriteLine
("Bins upper borders are: " + string.Join(" ",
Dynamic\Transforms\Projection\VectorWhiten.cs (2)
39
Console.
WriteLine
($"{colName} column obtained " +
43
Console.
WriteLine
(string.Join(" ", row.DenseValues().Select(x =>
Dynamic\Transforms\Projection\VectorWhitenWithOptions.cs (2)
38
Console.
WriteLine
($"{colName} column obtained" +
42
Console.
WriteLine
(string.Join(" ", row.DenseValues().Select(x =>
Dynamic\Transforms\ReplaceMissingValues.cs (2)
51
Console.
WriteLine
("Features: [" + string.Join(", ", row.Features) +
81
Console.
WriteLine
("Features: [" + string.Join(", ", row.Features) +
Dynamic\Transforms\ReplaceMissingValuesMultiColumn.cs (2)
57
Console.
WriteLine
("Features1: [" + string.Join(", ", row
92
Console.
WriteLine
("Features1: [" + string.Join(", ", row
Dynamic\Transforms\SelectColumns.cs (3)
50
Console.
WriteLine
($"There are {transformedData.Schema.Count} columns" +
63
Console.
WriteLine
($"Age and Educations columns obtained " +
67
Console.
WriteLine
($"Age: {row.Age} Education: {row.Education}");
Dynamic\Transforms\StatefulCustomMapping.cs (2)
64
Console.
WriteLine
("Sign\t SignedFibonacci");
66
Console.
WriteLine
($"{row.Sign}\t {row.SignedFibonacci}");
Dynamic\Transforms\Text\ApplyCustomWordEmbedding.cs (1)
70
Console.
WriteLine
($"Number of Features: {prediction.Features.Length}");
Dynamic\Transforms\Text\ApplyWordEmbedding.cs (1)
60
Console.
WriteLine
($"Number of Features: {prediction.Features.Length}");
Dynamic\Transforms\Text\FeaturizeText.cs (1)
68
Console.
WriteLine
($"Number of Features: {prediction.Features.Length}");
Dynamic\Transforms\Text\FeaturizeTextWithOptions.cs (2)
86
Console.
WriteLine
($"Number of Features: {prediction.Features.Length}");
93
Console.
WriteLine
("\nTokens: " + string.Join(",", prediction
Dynamic\Transforms\Text\NormalizeText.cs (1)
51
Console.
WriteLine
($"Normalized Text: {prediction.NormalizedText}");
Dynamic\Transforms\Text\ProduceHashedNgrams.cs (1)
68
Console.
WriteLine
("Number of Features: " + prediction.NgramFeatures
Dynamic\Transforms\Text\ProduceHashedWordBags.cs (1)
67
Console.
WriteLine
("Number of Features: " + prediction.BagOfWordFeatures
Dynamic\Transforms\Text\ProduceNgrams.cs (1)
76
Console.
WriteLine
("Number of Features: " + prediction.NgramFeatures
Dynamic\Transforms\Text\ProduceWordBags.cs (1)
73
Console.
WriteLine
("Number of Features: " + prediction.BagOfWordFeatures
Dynamic\Transforms\Text\RemoveDefaultStopWords.cs (2)
55
Console.
WriteLine
("Number of words: " + prediction.WordsWithoutStopWords
59
Console.
WriteLine
("\nWords without stop words: " + string.Join(",",
Dynamic\Transforms\Text\RemoveStopWords.cs (2)
54
Console.
WriteLine
("Number of words: " + prediction.WordsWithoutStopWords
58
Console.
WriteLine
("\nWords without stop words: " + string.Join(",",
Dynamic\Transforms\Text\TokenizeIntoCharactersAsKeys.cs (2)
53
Console.
WriteLine
($"Number of tokens: {prediction.CharTokens.Length}");
56
Console.
WriteLine
("\nCharacter Tokens: " + string.Join(",", prediction
Dynamic\Transforms\Text\TokenizeIntoWords.cs (2)
51
Console.
WriteLine
($"Number of words: {prediction.Words.Length}");
54
Console.
WriteLine
($"\nWords: {string.Join(",", prediction.Words)}");
Dynamic\Transforms\TimeSeries\DetectAnomalyBySrCnn.cs (2)
49
Console.
WriteLine
($"{outputColumnName} column obtained post-" +
52
Console.
WriteLine
("Data\tAlert\tScore\tMag");
Dynamic\Transforms\TimeSeries\DetectAnomalyBySrCnnBatchPrediction.cs (2)
46
Console.
WriteLine
($"{outputColumnName} column obtained post-" +
49
Console.
WriteLine
("Data\tAlert\tScore\tMag");
Dynamic\Transforms\TimeSeries\DetectChangePointBySsa.cs (2)
69
Console.
WriteLine
($"Output from ChangePoint predictions on new data:");
70
Console.
WriteLine
("Data\tAlert\tScore\tP-Value\tMartingale value");
Dynamic\Transforms\TimeSeries\DetectChangePointBySsaBatchPrediction.cs (2)
70
Console.
WriteLine
(outputColumnName + " column obtained " +
73
Console.
WriteLine
("Data\tAlert\tScore\tP-Value\tMartingale value");
Dynamic\Transforms\TimeSeries\DetectChangePointBySsaStream.cs (2)
69
Console.
WriteLine
($"Output from ChangePoint predictions on new data:");
70
Console.
WriteLine
("Data\tAlert\tScore\tP-Value\tMartingale value");
Dynamic\Transforms\TimeSeries\DetectEntireAnomalyBySrCnn.cs (1)
46
Console.
WriteLine
("Index\tData\tAnomaly\tAnomalyScore\tMag\tExpectedValue\tBoundaryUnit\tUpperBoundary\tLowerBoundary");
Dynamic\Transforms\TimeSeries\DetectIidChangePoint.cs (2)
64
Console.
WriteLine
($"{outputColumnName} column obtained " +
67
Console.
WriteLine
("Data\tAlert\tScore\tP-Value\tMartingale value");
Dynamic\Transforms\TimeSeries\DetectIidChangePointBatchPrediction.cs (2)
64
Console.
WriteLine
($"{outputColumnName} column obtained " +
67
Console.
WriteLine
("Data\tAlert\tScore\tP-Value\tMartingale value");
Dynamic\Transforms\TimeSeries\DetectIidSpike.cs (2)
56
Console.
WriteLine
($"{outputColumnName} column obtained " +
59
Console.
WriteLine
("Data\tAlert\tScore\tP-Value");
Dynamic\Transforms\TimeSeries\DetectIidSpikeBatchPrediction.cs (2)
55
Console.
WriteLine
($"{outputColumnName} column obtained " +
58
Console.
WriteLine
("Data\tAlert\tScore\tP-Value");
Dynamic\Transforms\TimeSeries\DetectSeasonality.cs (1)
37
Console.
WriteLine
($"Seasonality Period: #{period}");
Dynamic\Transforms\TimeSeries\DetectSpikeBySsa.cs (2)
65
Console.
WriteLine
($"Output from spike predictions on new data:");
66
Console.
WriteLine
("Data\tAlert\tScore\tP-Value");
Dynamic\Transforms\TimeSeries\DetectSpikeBySsaBatchPrediction.cs (2)
72
Console.
WriteLine
($"{outputColumnName} column obtained " +
75
Console.
WriteLine
("Data\tAlert\tScore\tP-Value");
Dynamic\Transforms\TimeSeries\Forecasting.cs (1)
61
Console.
WriteLine
($"Forecasted values:");
Dynamic\Transforms\TimeSeries\ForecastingWithConfidenceInterval.cs (2)
112
Console.
WriteLine
($"Forecasted values:");
114
Console.
WriteLine
($"Confidence intervals:");
Dynamic\Transforms\TimeSeries\LocalizeRootCause.cs (2)
30
Console.
WriteLine
($"Root cause item #{count} ...");
31
Console.
WriteLine
($"Score: {item.Score}, Path: {String.Join(" ", item.Path)}, Direction: {item.Direction}, Dimension:{String.Join(" ", item.Dimension)}");
Dynamic\Transforms\TimeSeries\LocalizeRootCauseMultidimension.cs (2)
33
Console.
WriteLine
($"Prepared cause #{count} ...");
34
Console.
WriteLine
($"Score: {item.Score}, Path: {String.Join(" ", item.Path)}, Direction: {item.Direction}, Dimension:{String.Join(" ", item.Dimension)}");
Dynamic\Transforms\TreeFeaturization\FastForestBinaryFeaturizationWithOptions.cs (4)
90
Console.
WriteLine
("The original feature vector [" + String.Join(
94
Console.
WriteLine
(" Trees' output values: [" + String.Join(",",
97
Console.
WriteLine
(" Leave IDs' 0-1 representation: [" + String
100
Console.
WriteLine
(" Paths IDs' 0-1 representation: [" + String
Dynamic\Transforms\TreeFeaturization\FastForestRegressionFeaturizationWithOptions.cs (4)
91
Console.
WriteLine
("The original feature vector [" + String.Join(",",
95
Console.
WriteLine
(" Trees' output values: [" + String.Join(",",
98
Console.
WriteLine
(" Leave IDs' 0-1 representation: [" + String
101
Console.
WriteLine
(" Paths IDs' 0-1 representation: [" + String
Dynamic\Transforms\TreeFeaturization\FastTreeBinaryFeaturizationWithOptions.cs (4)
92
Console.
WriteLine
("The original feature vector [" + String.Join(
96
Console.
WriteLine
(" Trees' output values: [" + String.Join(",",
99
Console.
WriteLine
(" Leave IDs' 0-1 representation: [" + String
102
Console.
WriteLine
(" Paths IDs' 0-1 representation: [" + String
Dynamic\Transforms\TreeFeaturization\FastTreeRankingFeaturizationWithOptions.cs (4)
88
Console.
WriteLine
("The original feature vector [" + String.Join(",",
92
Console.
WriteLine
(" Trees' output values: [" + String.Join(",",
95
Console.
WriteLine
(" Leave IDs' 0-1 representation: [" + String
98
Console.
WriteLine
(" Paths IDs' 0-1 representation: [" + String
Dynamic\Transforms\TreeFeaturization\FastTreeRegressionFeaturizationWithOptions.cs (4)
91
Console.
WriteLine
("The original feature vector [" + String.Join(",",
95
Console.
WriteLine
(" Trees' output values: [" + String.Join(",",
98
Console.
WriteLine
(" Leave IDs' 0-1 representation: [" + String
101
Console.
WriteLine
(" Paths IDs' 0-1 representation: [" + String
Dynamic\Transforms\TreeFeaturization\FastTreeTweedieFeaturizationWithOptions.cs (4)
91
Console.
WriteLine
("The original feature vector [" + String.Join(",",
95
Console.
WriteLine
(" Trees' output values: [" + String.Join(",",
98
Console.
WriteLine
(" Leave IDs' 0-1 representation: [" + String
101
Console.
WriteLine
(" Paths IDs' 0-1 representation: [" + String
Dynamic\Transforms\TreeFeaturization\PretrainedTreeEnsembleFeaturizationWithOptions.cs (4)
81
Console.
WriteLine
("The original feature vector [" + String.Join(
85
Console.
WriteLine
(" Trees' output values: [" + String.Join(",",
88
Console.
WriteLine
(" Leave IDs' 0-1 representation: [" + String
91
Console.
WriteLine
(" Paths IDs' 0-1 representation: [" + String
Dynamic\WithOnFitDelegate.cs (1)
69
Console.
WriteLine
(
Program.cs (3)
22
Console.
WriteLine
(type.Name);
30
Console.
WriteLine
($"An error occurred while running {type.Name}: {ex.Message}");
37
Console.
WriteLine
($"Number of samples that ran without any exception: {samples}");
Microsoft.ML.Samples.GPU (65)
docs\samples\Microsoft.ML.Samples\Dynamic\TensorFlow\ImageClassification.cs (2)
62
Console.
WriteLine
(
65
Console.
WriteLine
(new string('-', 10));
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (16)
72
Console.
WriteLine
("*** Training the image classification model " +
88
Console.
WriteLine
("Training with transfer learning finished.");
111
Console.
WriteLine
("Prediction on a single image finished.");
113
Console.
WriteLine
("Press any key to finish");
121
Console.
WriteLine
(e.Message);
147
Console.
WriteLine
($"Scores : [{string.Join(",", prediction.Score)}], " +
155
Console.
WriteLine
("Making bulk predictions and evaluating model's " +
162
Console.
WriteLine
($"Micro-accuracy: {metrics.MicroAccuracy}," +
165
Console.
WriteLine
("Predicting and Evaluation complete.");
266
Console.
WriteLine
($"{relativeFilePath} already exists.");
270
Console.
WriteLine
($"Downloading {relativeFilePath}");
282
Console.
WriteLine
("");
283
Console.
WriteLine
($"Downloaded {relativeFilePath}");
298
Console.
WriteLine
($"Extracting.");
302
Console.
WriteLine
("");
303
Console.
WriteLine
("Extracting is completed.");
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (15)
109
Console.
WriteLine
("*** Training the image classification model " +
123
Console.
WriteLine
("Training with transfer learning finished.");
145
Console.
WriteLine
("Prediction on a single image finished.");
147
Console.
WriteLine
("Press any key to finish");
173
Console.
WriteLine
($"Scores : [{string.Join(",", prediction.Score)}], " +
181
Console.
WriteLine
("Making bulk predictions and evaluating model's " +
188
Console.
WriteLine
($"Micro-accuracy: {metrics.MicroAccuracy}," +
191
Console.
WriteLine
("Predicting and Evaluation complete.");
298
Console.
WriteLine
($"{relativeFilePath} already exists.");
302
Console.
WriteLine
($"Downloading {relativeFilePath}");
314
Console.
WriteLine
("");
315
Console.
WriteLine
($"Downloaded {relativeFilePath}");
330
Console.
WriteLine
($"Extracting.");
343
Console.
WriteLine
("");
344
Console.
WriteLine
("Extracting is completed.");
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (15)
96
Console.
WriteLine
("*** Training the image classification model " +
113
Console.
WriteLine
("Training with transfer learning finished.");
140
Console.
WriteLine
("Prediction on a single image finished.");
142
Console.
WriteLine
("Press any key to finish");
169
Console.
WriteLine
($"ImageFile : " +
179
Console.
WriteLine
("Making bulk predictions and evaluating model's " +
186
Console.
WriteLine
($"Micro-accuracy: {metrics.MicroAccuracy}," +
189
Console.
WriteLine
("Predicting and Evaluation complete.");
254
Console.
WriteLine
($"{relativeFilePath} already exists.");
258
Console.
WriteLine
($"Downloading {relativeFilePath}");
270
Console.
WriteLine
("");
271
Console.
WriteLine
($"Downloaded {relativeFilePath}");
286
Console.
WriteLine
($"Extracting.");
299
Console.
WriteLine
("");
300
Console.
WriteLine
("Extracting is completed.");
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (15)
89
Console.
WriteLine
("*** Training the image classification model " +
105
Console.
WriteLine
("Training with transfer learning finished.");
128
Console.
WriteLine
("Prediction on a single image finished.");
130
Console.
WriteLine
("Press any key to finish");
156
Console.
WriteLine
($"Scores : [{string.Join(",", prediction.Score)}], " +
164
Console.
WriteLine
("Making bulk predictions and evaluating model's " +
171
Console.
WriteLine
($"Micro-accuracy: {metrics.MicroAccuracy}," +
174
Console.
WriteLine
("Predicting and Evaluation complete.");
275
Console.
WriteLine
($"{relativeFilePath} already exists.");
279
Console.
WriteLine
($"Downloading {relativeFilePath}");
291
Console.
WriteLine
("");
292
Console.
WriteLine
($"Downloaded {relativeFilePath}");
307
Console.
WriteLine
($"Extracting.");
320
Console.
WriteLine
("");
321
Console.
WriteLine
("Extracting is completed.");
Program.cs (2)
21
Console.
WriteLine
(type.Name);
27
Console.
WriteLine
("Number of samples that ran without any exception: " + samples);
Microsoft.ML.Samples.OneDal (6)
Program.cs (6)
182
Console.
WriteLine
("algorithm,all workflow time[ms],training accuracy,testing accuracy,training F1 score,testing F1 score");
183
Console.
WriteLine
($"Random Forest Binary,{mainWatch.Elapsed.TotalMilliseconds},{metrics[0]},{metrics[1]},{metrics[2]},{metrics[3]}");
189
Console.
WriteLine
("algorithm,all workflow time[ms],training RMSE,testing RMSE,training R2 score,testing R2 score");
190
Console.
WriteLine
($"Random Forest Regression,{mainWatch.Elapsed.TotalMilliseconds},{metrics[0]},{metrics[1]},{metrics[2]},{metrics[3]}");
197
Console.
WriteLine
("algorithm,all workflow time[ms],training RMSE,testing RMSE,training R2 score,testing R2 score");
198
Console.
WriteLine
($"OLS Regression,{mainWatch.Elapsed.TotalMilliseconds},{metrics[0]},{metrics[1]},{metrics[2]},{metrics[3]}");
Microsoft.ML.StandardTrainers (3)
Optimizer\DifferentiableFunction.cs (3)
194
Console.
WriteLine
(Header);
258
Console.
WriteLine
(Header);
297
Console.
WriteLine
(Header);
Microsoft.ML.TestFramework (3)
BaseTestClass.cs (3)
34
Console.
WriteLine
($"Unhandled exception: {e.ExceptionObject}");
74
Console.
WriteLine
($"Starting test: {FullTestName}");
82
Console.
WriteLine
($"Finished test: {FullTestName} " +
Microsoft.ML.Tests (2)
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (2)
127
Console.
WriteLine
(
363
Console.
WriteLine
($"Feature {i}: Difference in RMS - {featureImportance[i].RootMeanSquaredError.Mean}");
Microsoft.ML.Tokenizers.Data.Tests (1)
src\Common\tests\RetryHelper.cs (1)
61
Console.
WriteLine
(diagnostic);
Microsoft.ML.Tokenizers.Tests (1)
src\Common\tests\RetryHelper.cs (1)
61
Console.
WriteLine
(diagnostic);
Microsoft.ML.TorchSharp (1)
AutoFormerV2\ObjectDetectionMetrics.cs (1)
72
Console.
WriteLine
($"total : {total}, filtered: {filterNum}, filter ratio: {(total == 0 ? 0f : ((double)filterNum / (double)total)):P}");
Microsoft.TemplateEngine.Utils (1)
DefaultTemplateEngineHost.cs (1)
70
Console.
WriteLine
(message);
Microsoft.TestPlatform.Build (3)
Tasks\VSTestTask.cs (2)
54
Console.
WriteLine
("Waiting for debugger attach...");
57
Console.
WriteLine
($"Process Id: {currentProcess.Id}, Name: {currentProcess.ProcessName}");
Tracing.cs (1)
18
Console.
WriteLine
(message);
MSBuild (41)
src\msbuild\src\Shared\Debugging\PrintLineDebuggerWriters.cs (1)
69
public static CommonWriterType StdOutWriter = (id, callsite, args) => Console.
WriteLine
(SimpleFormat(id, callsite, args));
XMake.cs (40)
634
Console.
WriteLine
($"Waiting for debugger to attach ({EnvironmentUtilities.ProcessPath} PID {EnvironmentUtilities.CurrentProcessId}). Press enter to continue...");
798
Console.
WriteLine
(ResourceUtilities.GetResourceString("PossiblyOmittedMaxCPUSwitch"));
951
Console.
WriteLine
(e.Message);
962
Console.
WriteLine
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("ConfigurationFailurePrefixNoErrorCode", e.ErrorCode, e.Message));
969
Console.
WriteLine
(e.Message);
980
Console.
WriteLine
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("LoggerFailurePrefixNoErrorCode", e.ErrorCode, e.Message));
986
Console.
WriteLine
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("LoggerFailurePrefixWithErrorCode", e.Message));
993
Console.
WriteLine
(e.InnerException.ToString());
1005
Console.
WriteLine
($"MSBUILD : error {e.ErrorCode}: {e.Message}");
1007
Console.
WriteLine
("This is an unhandled exception from a logger -- PLEASE OPEN A BUG AGAINST THE LOGGER OWNER.");
1011
Console.
WriteLine
(e.InnerException.ToString());
1017
Console.
WriteLine
(
1031
Console.
WriteLine
($"MSBUILD : error {pce?.ErrorCode ?? exppce?.ErrorCode}: {e.Message}");
1036
Console.
WriteLine
("This is an unhandled exception from a project cache -- PLEASE OPEN A BUG AGAINST THE PROJECT CACHE OWNER.");
1042
Console.
WriteLine
(e.InnerException.ToString());
1051
Console.
WriteLine
(
1059
Console.
WriteLine
(
1723
Console.
WriteLine
(AssemblyResources.GetString("FatalError"));
1725
Console.
WriteLine
("This is an unhandled exception in MSBuild -- PLEASE OPEN A BUG AGAINST THE MSBUILD TEAM.");
1727
Console.
WriteLine
(exception.ToString());
2089
Console.
WriteLine
($"Waiting for debugger to attach... ({EnvironmentUtilities.ProcessPath} PID {EnvironmentUtilities.CurrentProcessId})");
2347
Console.
WriteLine
($"{Path.Combine(s_exePath, s_exeName)} {equivalentCommandLine} {projectFile}");
3542
Console.
WriteLine
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("DuplicateBinaryLoggerPathsIgnored", string.Join(", ", processedParams.DuplicateFilePaths)));
4029
Console.
WriteLine
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("OptionalLoggerCreationMessage", loggerDescription.Name, e.Message));
4108
Console.
WriteLine
(warning);
4114
Console.
WriteLine
(message);
4202
Console.
WriteLine
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("MSBuildVersionMessage", ProjectCollection.DisplayVersion, NativeMethods.FrameworkName));
4214
Console.
WriteLine
(AssemblyResources.GetString("HelpMessage_1_Syntax"));
4215
Console.
WriteLine
(AssemblyResources.GetString("HelpMessage_2_Description"));
4216
Console.
WriteLine
(AssemblyResources.GetString("HelpMessage_3_SwitchesHeader"));
4219
Console.
WriteLine
(AssemblyResources.GetString(parameterizedSwitchRsouceId));
4223
Console.
WriteLine
(AssemblyResources.GetString(parameterlessSwitchRsouceId));
4225
Console.
WriteLine
(AssemblyResources.GetString("HelpMessage_7_ResponseFile"));
4226
Console.
WriteLine
(AssemblyResources.GetString("HelpMessage_16_Examples"));
4227
Console.
WriteLine
(AssemblyResources.GetString("HelpMessage_37_DocsLink"));
4235
Console.
WriteLine
(AssemblyResources.GetString("HelpPrompt"));
4240
Console.
WriteLine
(
4248
Console.
WriteLine
($" {responseFilePath}");
4260
Console.
WriteLine
(ProjectCollection.Version.ToString());
4285
Console.
WriteLine
(jsonNode.ToJsonString(options));
NuGet.CommandLine.XPlat (3)
Commands\DeleteCommand.cs (1)
112
Console.
WriteLine
(string.Format(CultureInfo.CurrentCulture, Strings.ConsoleConfirmMessage, description));
Utility\CommandOutputLogger.cs (2)
68
Console.
WriteLine
(data);
111
Console.
WriteLine
($"{caption}{message}");
NuGet.Commands (1)
ListCommand\ListCommandRunner.cs (1)
201
Console.
WriteLine
(listArgs.ListCommandNoPackages);
NuGet.Protocol (1)
Plugins\PluginFactory.cs (1)
413
Console.
WriteLine
(message);
PresentationFramework (3)
MS\Internal\Data\AccessorTable.cs (3)
122
Console.
WriteLine
($"After generation {_generation}, removed {originalCount - _table.Count} of {originalCount} entries from AccessorTable, new count is {_table.Count}");
139
Console.
WriteLine
("No stats available for AccessorTable.");
145
Console.
WriteLine
(" Age Hits Pct Cumulative");
Publishers.DbSetup (1)
Program.cs (1)
15
Console.
WriteLine
("Database created!");
ReachFramework (20)
AlphaFlattener\DrawingContext.cs (3)
816
Console.
WriteLine
(" DrawGeometry(" + _comment + ")");
912
Console.
WriteLine
(" DrawImage(" + _comment + ")");
962
Console.
WriteLine
(" DrawGlyphRun(" + _comment + ")");
AlphaFlattener\Flattener.cs (13)
166
Console.
WriteLine
("TreeFlatten for subtree");
180
Console.
WriteLine
("end TreeFlatten for subtree");
181
Console.
WriteLine
("AlphaFlatten for subtree");
189
Console.
WriteLine
("end AlphaFlatten for subtree");
322
Console.
WriteLine
("Stage 2: Calculating intersections using bounding boxes");
334
Console.
WriteLine
("Original display list");
364
Console.
WriteLine
("Stage 4: Alpha flattening");
400
Console.
WriteLine
("");
814
Console.
WriteLine
("Start 3: Display list optimization");
1065
Console.
WriteLine
("Serialized primitives to " + name);
1071
Console.
WriteLine
(e.ToString());
1238
Console.
WriteLine
("\r\nStage 1: Tree Flattening");
1274
Console.
WriteLine
("End AlphaFlattening");
AlphaFlattener\Primitive.cs (1)
536
Console.
WriteLine
("Drawing of type '" + d.GetType() + "' not handled.");
AlphaFlattener\PrimitiveList.cs (1)
77
Console.
WriteLine
(" No Type Und Ovr TrO Bounding Box Clipping");
Serialization\VisualTreeFlattener.cs (2)
148
Console.
WriteLine
("Saving " + uri);
747
Console.
WriteLine
("Drawing of type '" + d.GetType() + "' not handled.");
ResultsOfTGenerator (6)
Program.cs (6)
45
Console.
WriteLine
($"Will generate class file at {classFilePath}");
49
Console.
WriteLine
("Press any key to continue or Ctrl-C to cancel");
214
Console.
WriteLine
($"{file.Length:N0} bytes written to {file.FullName} successfully!");
220
Console.
WriteLine
($"Will generate tests file at {testFilePath}");
224
Console.
WriteLine
("Press any key to continue or Ctrl-C to cancel");
300
Console.
WriteLine
($"{file.Length:N0} bytes written to {file.FullName} successfully!");
Roslyn.Diagnostics.Analyzers (8)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
64
Console.
WriteLine
(message);
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FailFast.cs (7)
65
Console.
WriteLine
("Dumping info before call to failfast");
68
Console.
WriteLine
(message);
73
Console.
WriteLine
("Exception info");
76
Console.
WriteLine
(current.Message);
77
Console.
WriteLine
(current.StackTrace);
81
Console.
WriteLine
("Stack trace of handler");
83
Console.
WriteLine
(stackTrace.ToString());
SqlServerEndToEnd.DbSetup (1)
Program.cs (1)
20
Console.
WriteLine
("Database schema created!");
Stress.ApiService (87)
ConsoleStresser.cs (87)
17
Console.
WriteLine
("Console stress");
18
Console.
WriteLine
("==============");
21
Console.
WriteLine
("UTF-8 characters:");
22
Console.
WriteLine
("Emojis: \U0001F600, \U0001F680, \U0001F4A9");
23
Console.
WriteLine
("Chinese: \u8fd9\u662f\u4e00\u4e2a\u4e2d\u6587\u5b57\u7b26\u4e32"); // "This is a Chinese string"
26
Console.
WriteLine
("Entire URL in one segment:");
30
Console.
WriteLine
("Scheme and host in separate segment to port:");
35
Console.
WriteLine
("Everything in different segments:");
43
Console.
WriteLine
("URL examples:");
45
Console.
WriteLine
("https://www.example.com");
46
Console.
WriteLine
("https://subdomain.example.com");
47
Console.
WriteLine
("http://www.example.com");
48
Console.
WriteLine
("http://example.com/path/to/page");
49
Console.
WriteLine
("https://www.example.com?query=string¶m=value");
50
Console.
WriteLine
("https://www.example.com#anchor");
51
Console.
WriteLine
("https://255.255.255.255");
52
Console.
WriteLine
("ftp://example.com/resource");
53
Console.
WriteLine
("mailto:user@example.com");
54
Console.
WriteLine
("https://user:password@example.com");
55
Console.
WriteLine
("https://example.com:8080");
56
Console.
WriteLine
("https://example.com/path/to/page.html");
57
Console.
WriteLine
("https://www.example.co.uk");
58
Console.
WriteLine
("https://example.io");
59
Console.
WriteLine
("https://xn--n3h.com (Punycode for Unicode characters)");
60
Console.
WriteLine
("https://www.example.com/path%20with%20spaces");
61
Console.
WriteLine
("https://[2001:db8::1] (IPv6 address)");
62
Console.
WriteLine
("http://www.example.com/foo.php?bar[]=1&bar[]=2&bar[]=3");
63
Console.
WriteLine
("https://www.example.com/path/to/page?#");
64
Console.
WriteLine
("https://user:password@example.com/path?query=string#anchor");
65
Console.
WriteLine
("https://www.example.com/? (Question mark at end of URL)");
66
Console.
WriteLine
("https://example.com/# (Hash at end of URL)");
67
Console.
WriteLine
("https://www.example.com/path/to/page/?query=string#anchor");
68
Console.
WriteLine
("https://example.com./path/to/page/ (Dot at the end of domain)");
69
Console.
WriteLine
("https://www-example.com (Dash in domain)");
70
Console.
WriteLine
("https://example.com/path/to/page/index.html?query=string#section1");
71
Console.
WriteLine
("https://example.com/empty/");
72
Console.
WriteLine
("https://example.com/empty/. (Dot at end of URL)");
73
Console.
WriteLine
("https://www.example.com/path/with/semicolon; (Semicolon at end of URL)");
74
Console.
WriteLine
("https://www.example.com/path/with/semicolon, (Comma at end of URL)");
75
Console.
WriteLine
("https://www.example.com/path/with/plus+sign");
76
Console.
WriteLine
("https://www.example.com/path/with/equals=sign");
77
Console.
WriteLine
("https://www.example.com/path/with/ampersand&sign");
78
Console.
WriteLine
("https://www.example.com/path/with/percent%25encoded");
79
Console.
WriteLine
("https://www.example.com/path/with/dollar$sign");
80
Console.
WriteLine
("https://www.example.com/path/with/exclamation!mark");
81
Console.
WriteLine
("https://www.example.com/;path/");
82
Console.
WriteLine
("https://www.example.com/path/?query;string");
83
Console.
WriteLine
("https://;www.example.com/");
84
Console.
WriteLine
("https://www;.example.com/");
85
Console.
WriteLine
("https://www.exa;mple.com/");
91
Console.
WriteLine
("ANSI Console Foreground and Background Colors");
97
Console.
WriteLine
($"This is foreground color {color}");
106
Console.
WriteLine
("\x1b[0m"); // Reset colors to default after each background to maintain readability
111
Console.
WriteLine
("\u001b[36;45mThis text is Cyan with a Magenta background.\u001b[0m");
112
Console.
WriteLine
("\u001b[31mThis text has a red foreground using ANSI escape codes.\u001b[0m");
113
Console.
WriteLine
("\u001b[42mThis text has a green background using ANSI escape codes.\u001b[0m");
114
Console.
WriteLine
("\u001b[1mThis text is bold using ANSI escape codes.\u001b[0m");
115
Console.
WriteLine
("\u001b[4mThis text is underlined using ANSI escape codes.\u001b[0m");
116
Console.
WriteLine
("\u001b[31;1;4mThis text is red, bold, and underlined.\u001b[0m");
117
Console.
WriteLine
("\u001b[31;3;4mThis text is red, italic and underlined.\u001b[0m");
118
Console.
WriteLine
("\u001b[31;3;4;9mThis text is red, italic and strikethrough.\u001b[0m");
119
Console.
WriteLine
("\u001b[31;42;3;4mThis text is red, green background, italic and underlined.\u001b[0m");
122
Console.
WriteLine
("\u001b[38;5;221mThis text is a Xterm text color using ANSI escape codes.\u001b[0m");
123
Console.
WriteLine
("\u001b[48;5;95mThis text is a Xterm bakground color using ANSI escape codes.\u001b[0m");
124
Console.
WriteLine
("\u001b[38;5;221m\u001b[48;5;95mThis text is a Xterm text and bakground color using ANSI escape codes.\u001b[0m");
125
Console.
WriteLine
("\u001b[38;5;243mThis text is a Xterm gray text color using ANSI escape codes.\u001b[0m");
126
Console.
WriteLine
("\u001b[48;5;243mThis text is a Xterm gray background color using ANSI escape codes.\u001b[0m");
127
Console.
WriteLine
("\u001b[38;5;1mThis text is a Xterm red color using ANSI escape codes.\u001b[0m");
128
Console.
WriteLine
("\u001b[38;5;9mThis text is a Xterm bright red color using ANSI escape codes.\u001b[0m");
129
Console.
WriteLine
("\u001b[48;5;1mThis text is a Xterm red background color using ANSI escape codes.\u001b[0m");
130
Console.
WriteLine
("\u001b[48;5;9mThis text is a Xterm bright red background color using ANSI escape codes.\u001b[0m");
131
Console.
WriteLine
("\u001b[3;38;5;9mThis text is a Xterm bright red color and italic using ANSI escape codes.\u001b[0m");
132
Console.
WriteLine
("\u001b[4;38;5;9mThis text is a Xterm bright red color and underlined using ANSI escape codes.\u001b[0m");
133
Console.
WriteLine
("\u001b[9;38;5;9mThis text is a Xterm bright red color and strikethrough using ANSI escape codes.\u001b[0m");
136
Console.
WriteLine
("\u001b[38;5;321mThis text is a Xterm text color using invalid color value.\u001b[0m");
137
Console.
WriteLine
("\u001b[38;5;100This text is a Xterm text color using unfinished escape sequence (m here to finish the sequence late).\u001b[0m");
138
Console.
WriteLine
("\u001b[38;5;100This text is a Xterm text color using unfinished escape sequence.\u001b[0m");
141
Console.
WriteLine
("A link in escape sequence: \u001b]8;;https://example.com\u001b\\The link text\u001b]8;;\u001b\\");
142
Console.
WriteLine
("A link with formatted link text in escape sequnce: \u001b]8;;https://example.com\u001b\\The \u001b[38;5;100mlink\u001b[0m formatted text\u001b]8;;\u001b\\");
145
Console.
WriteLine
("HTML:");
146
Console.
WriteLine
("<b>BOLD!</b>");
147
Console.
WriteLine
("<script>alert('Hello, World!')</script>");
148
Console.
WriteLine
("<span style=\"color: #ff0000; background-color: #00ff00; font-weight: bold; text-decoration: underline;\">This text is red with a green background, bold, and underlined using HTML.</span>");
151
Console.
WriteLine
("Long continious !!! content:");
152
Console.
WriteLine
(new string('!', 1000));
154
Console.
WriteLine
("Long continious letter content:");
161
Console.
WriteLine
("Long world content:");
SuperFileCheck (18)
Program.cs (18)
553
Console.
WriteLine
("USAGE: SuperFileCheck [options] <check-file>");
554
Console.
WriteLine
("USAGE: SuperFileCheck <super-option> <check-file> [options]");
556
Console.
WriteLine
("SUPER OPTIONS:");
558
Console.
WriteLine
($" --csharp - A {CommandLineInputFile} is required.");
559
Console.
WriteLine
($" <check-file> must be a C# source file.");
560
Console.
WriteLine
($" Methods must not have duplicate names.");
561
Console.
WriteLine
($" Methods must be marked as not inlining.");
562
Console.
WriteLine
($" One or more methods are required.");
563
Console.
WriteLine
($" Prefixes are determined by {CommandLineCheckPrefixes}.");
564
Console.
WriteLine
($" --csharp-list-method-names - Print a space-delimited list of method names to be");
565
Console.
WriteLine
($" supplied to environment variable DOTNET_JitDisasm.");
566
Console.
WriteLine
($" <check-file> must be a C# source file.");
567
Console.
WriteLine
($" Methods must not have duplicate names.");
568
Console.
WriteLine
($" Methods must be marked as not inlining.");
569
Console.
WriteLine
($" Prints nothing if no methods are found.");
570
Console.
WriteLine
($" Prefixes are determined by {CommandLineCheckPrefixes}.");
666
Console.
WriteLine
(ex.Message);
757
Console.
WriteLine
(ex.Message);
System.ServiceProcess.ServiceController (1)
System\ServiceProcess\ServiceBase.cs (1)
620
Console.
WriteLine
(SR.CantStartFromCommandLine);
TestProject.WorkerA (1)
Worker.cs (1)
26
System.Console.
WriteLine
($"Worker A: processing item {item++}...");
tlens (37)
TLens.Analyzers\Analyzer.cs (3)
55
Console.
WriteLine
(str);
56
Console.
WriteLine
(header);
57
Console.
WriteLine
(str);
TLens.Analyzers\DuplicatedCodeAnalyzer.cs (2)
57
Console.
WriteLine
($"String value \"{entry.Key}\"");
59
Console.
WriteLine
($"\tMethod '{m.ToDisplay()}'");
TLens.Analyzers\InterfaceDispatchAnalyzer.cs (2)
21
Console.
WriteLine
($"Interface {item.Key.FullName} is implemented {GetImplementationCount(item.Key)} times and called only at");
25
Console.
WriteLine
($"\t{location.ToDisplay()}");
TLens.Analyzers\InterfaceTypeCheckAnalyzers.cs (2)
20
Console.
WriteLine
($"Unused interface type '{iface.FullName}' is implemented by");
23
Console.
WriteLine
($"\t{type.FullName}");
TLens.Analyzers\InverterCtorsChainAnalyzer.cs (1)
59
Console.
WriteLine
($"Constructor '{entry.Item1.ToDisplay()}' calls possibly unnecessary initialization in '{entry.Item2.ToDisplay(showSize: true)}'");
TLens.Analyzers\LargeStaticArraysAnalyzer.cs (1)
47
Console.
WriteLine
($"{entry.Item1} bytes large array is initialized in {entry.Item2}");
TLens.Analyzers\LargeStaticCtorAnalyzer.cs (1)
33
Console.
WriteLine
(m.ToDisplay(showSize: true));
TLens.Analyzers\LargeStringsAnalyzer.cs (1)
47
Console.
WriteLine
($"Method '{entry.Item2.ToDisplay()}' loads '{entry.Item1}' characters long string");
TLens.Analyzers\LimitedMethodCalls.cs (2)
59
Console.
WriteLine
($"Method {entry.Key.ToDisplay(showSize: true)} is used only at");
62
Console.
WriteLine
($"\t{values.ToDisplay()}");
TLens.Analyzers\RedundantFieldInitializationAnalyzer.cs (2)
130
Console.
WriteLine
($"Constructor '{entry.Key.ToDisplay()} initializes with default value fields");
132
Console.
WriteLine
($"\tField {field.FullName}");
TLens.Analyzers\TypeInstatiationAnalyzer.cs (2)
72
Console.
WriteLine
($"Type '{entry.Key.FullName}' [size: {entry.Key.GetEstimatedSize()}] is instantiated only at");
75
Console.
WriteLine
($"\t{values.ToDisplay()}");
TLens.Analyzers\UnnecessaryFieldsAssignmentAnalyzer.cs (4)
97
Console.
WriteLine
($"Field '{entry.Key.FullName}' is never read but has value assigned");
101
Console.
WriteLine
($"\t{loc.ToDisplay()}");
118
Console.
WriteLine
($"Field '{entry.Key.FullName}' is never read but has value assigned");
122
Console.
WriteLine
($"\t{loc.ToDisplay()}");
TLens.Analyzers\UnusedParametersAnalyzer.cs (1)
80
Console.
WriteLine
($"Method '{method.ToDisplay()}' has unused parameter '{method.Parameters[entry.Item2].Name}'");
TLens.Analyzers\UserOperatorCalledForNullCheckAnalyzer.cs (1)
70
Console.
WriteLine
($"User operator '{e.Key.ToDisplay()}' was called {e.Value.Redundant} [{e.Value.Ratio:0%}] times with null values");
TLens\AssemlyReferenceResolver.cs (1)
52
Console.
WriteLine
($"The file for assembly reference '{name.Name}' could not be located.");
TLens\Driver.cs (11)
33
Console.
WriteLine
($"Error: Lens name '{l}' does not exist.");
41
Console.
WriteLine
($"Error: Directory '{l}' does not exist.");
64
Console.
WriteLine
(e.Message);
65
Console.
WriteLine
("Try `tlens --help' for more information.");
77
Console.
WriteLine
("Error: No input files were specified.");
113
Console.
WriteLine
("Trimming Lens");
114
Console.
WriteLine
(" tlens [options] input-files");
116
Console.
WriteLine
("Options:");
120
Console.
WriteLine
("Lenses Names:");
124
Console.
WriteLine
($" {lense.Name,-27}{lense.Description}");
135
Console.
WriteLine
($"File {file} could not be found.");
vbc (1)
src\roslyn\src\Compilers\VisualBasic\vbc\Program.cs (1)
26
Console.
WriteLine
(e.Message);
VBCSCompiler (2)
src\roslyn\src\Compilers\Server\VBCSCompiler\BuildServerController.cs (2)
188
Console.
WriteLine
(result);
205
Console.
WriteLine
(stats.FormatSummary(cachePath, verbosity));
WaitForSandbox.DbSetup (1)
Program.cs (1)
15
Console.
WriteLine
("Database created!");