Skip to content

Commit b9c4f5f

Browse files
vinodshanbhagDmitry-A
authored andcommitted
Setting model directory to temp directory (dotnet#327)
1 parent 43c62ae commit b9c4f5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.ML.Auto/API/ExperimentSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class ExperimentSettings
1818
/// (Please note: for an experiment with high runtime operating on a large dataset, opting to keep models in
1919
/// memory could cause a system to run out of memory.)
2020
/// </summary>
21-
public DirectoryInfo ModelDirectory { get; set; } = null;
21+
public DirectoryInfo ModelDirectory { get; set; } = new DirectoryInfo(Path.Combine(Path.GetTempPath(), "Microsoft.ML.Auto"));
2222

2323
/// <summary>
2424
/// This setting controls whether or not an AutoML experiment will make use of ML.NET-provided caching.

0 commit comments

Comments
 (0)