15 references to OutputModelFile
Microsoft.ML.Data (15)
Commands\CrossValidationCommand.cs (2)
416
env.CheckValueOrNull(args.
OutputModelFile
);
436
_outputModelFile = args.
OutputModelFile
;
Commands\DataCommand.cs (4)
94
Utils.CheckOptionalUserDirectory(options.
OutputModelFile
, nameof(options.
OutputModelFile
));
218
if (!string.IsNullOrWhiteSpace(ImplOptions.
OutputModelFile
))
220
using (var file = Host.CreateOutputFile(ImplOptions.
OutputModelFile
))
Commands\ScoreCommand.cs (2)
132
if (!string.IsNullOrWhiteSpace(ImplOptions.
OutputModelFile
))
135
SaveLoader(loader, ImplOptions.
OutputModelFile
);
Commands\TrainCommand.cs (3)
100
Host.CheckNonWhiteSpace(args.
OutputModelFile
, nameof(args.
OutputModelFile
));
203
using (var file = Host.CreateOutputFile(ImplOptions.
OutputModelFile
))
Commands\TrainTestCommand.cs (2)
190
bool hasOutfile = !string.IsNullOrEmpty(ImplOptions.
OutputModelFile
);
193
using (var file = new SimpleFileHandle(ch, hasOutfile ? ImplOptions.
OutputModelFile
: tempFilePath, true, !hasOutfile))
Model\Pfa\SavePfaCommand.cs (2)
212
if (!string.IsNullOrWhiteSpace(ImplOptions.
OutputModelFile
))
216
SaveLoader(loader, ImplOptions.
OutputModelFile
);