We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 368734b commit f17de37Copy full SHA for f17de37
src/Microsoft.ML.AutoML/API/RunDetails/RunDetail.cs
@@ -36,7 +36,7 @@ public sealed class RunDetail<TMetrics> : RunDetail
36
/// <remarks>
37
/// You can use the trained model to obtain predictions on input data.
38
/// </remarks>
39
- public ITransformer Model { get { return _modelContainer.GetModel(); } }
+ public ITransformer Model { get { return _modelContainer?.GetModel(); } }
40
41
/// <summary>
42
/// Exception encountered during the run. This property is <see langword="null"/> if
0 commit comments