@@ -102,6 +102,13 @@ public void Save(ITransformer model, DataViewSchema inputSchema, Stream stream)
102
102
/// be an empty <see cref="TransformerChain{TLastTransformer}"/>.</param>
103
103
/// <param name="inputSchema">The schema of the input to the transformer. This can be <see langword="null"/>.</param>
104
104
/// <param name="filePath">Path where model should be saved.</param>
105
+ /// <example>
106
+ /// <format type="text/markdown">
107
+ /// <]
109
+ /// ]]>
110
+ /// </format>
111
+ /// </example>
105
112
public void Save ( ITransformer model , DataViewSchema inputSchema , string filePath )
106
113
{
107
114
_env . CheckValueOrNull ( model ) ;
@@ -135,6 +142,13 @@ private void SaveInputSchema(DataViewSchema inputSchema, RepositoryWriter rep)
135
142
/// <param name="inputSchema">Will contain the input schema for the model. If the model was saved without
136
143
/// any description of the input, there will be no input schema. In this case this can be <see langword="null"/>.</param>
137
144
/// <returns>The loaded model.</returns>
145
+ /// <example>
146
+ /// <format type="text/markdown">
147
+ /// <]
149
+ /// ]]>
150
+ /// </format>
151
+ /// </example>
138
152
public ITransformer Load ( Stream stream , out DataViewSchema inputSchema )
139
153
{
140
154
_env . CheckValue ( stream , nameof ( stream ) ) ;
@@ -187,6 +201,13 @@ public ITransformer Load(Stream stream, out DataViewSchema inputSchema)
187
201
/// <param name="inputSchema">Will contain the input schema for the model. If the model was saved without
188
202
/// any description of the input, there will be no input schema. In this case this can be <see langword="null"/>.</param>
189
203
/// <returns>The loaded model.</returns>
204
+ /// <example>
205
+ /// <format type="text/markdown">
206
+ /// <]
208
+ /// ]]>
209
+ /// </format>
210
+ /// </example>
190
211
public ITransformer Load ( string filePath , out DataViewSchema inputSchema )
191
212
{
192
213
_env . CheckNonEmpty ( filePath , nameof ( filePath ) ) ;
@@ -281,6 +302,13 @@ public ITransformer LoadWithDataLoader(string filePath, out IDataLoader<IMultiSt
281
302
/// <typeparamref name="TDst"/>.</param>
282
303
/// <param name="inputSchemaDefinition">Additional settings of the input schema.</param>
283
304
/// <param name="outputSchemaDefinition">Additional settings of the output schema.</param>
305
+ /// <example>
306
+ /// <format type="text/markdown">
307
+ /// <]
309
+ /// ]]>
310
+ /// </format>
311
+ /// </example>
284
312
public PredictionEngine < TSrc , TDst > CreatePredictionEngine < TSrc , TDst > ( ITransformer transformer ,
285
313
bool ignoreMissingColumns = true , SchemaDefinition inputSchemaDefinition = null , SchemaDefinition outputSchemaDefinition = null )
286
314
where TSrc : class
0 commit comments