You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -30,12 +33,12 @@ public static class DatasetLoader
30
33
/// <summary>
31
34
/// Creates a new <see cref="ITrainingDataset"/> instance to train a network from the input collection, with the specified batch size
32
35
/// </summary>
33
-
/// <param name="data">The source collection to use to build the training dataset</param>
36
+
/// <param name="data">The source collection to use to build the training dataset, where the samples will be extracted from the input <see cref="Func{TResult}"/> instances in parallel</param>
/// Creates a new <see cref="ITrainingDataset"/> instance to train a network from the input data, where each input sample is an image in a specified format
55
+
/// </summary>
56
+
/// <typeparam name="TPixel">The type of image pixels. It must be either <see cref="Alpha8"/>, <see cref="Rgb24"/> or <see cref="Argb32"/></typeparam>
57
+
/// <param name="data">A list of <see cref="ValueTuple{T1, T2}"/> items, where the first element is the image path and the second is a vector with the expected outputs</param>
/// Creates a new <see cref="ITrainingDataset"/> instance to train a network from the input data, where each input sample is an image in a specified format
69
+
/// </summary>
70
+
/// <typeparam name="TPixel">The type of image pixels. It must be either <see cref="Alpha8"/>, <see cref="Rgb24"/> or <see cref="Argb32"/></typeparam>
71
+
/// <param name="data">A list of <see cref="ValueTuple{T1, T2}"/> items, where the first element is the image path and the second is a <see cref="Func{TResult}"/> returning a vector with the expected outputs</param>
/// Creates a new <see cref="IValidationDataset"/> instance to validate a network accuracy from the input collection
68
99
/// </summary>
69
-
/// <param name="data">The source collection to use to build the validation dataset</param>
100
+
/// <param name="data">The source collection to use to build the validation dataset, where the samples will be extracted from the input <see cref="Func{TResult}"/> instances in parallel</param>
70
101
/// <param name="tolerance">The desired tolerance to test the network for convergence</param>
71
102
/// <param name="epochs">The epochs interval to consider when testing the network for convergence</param>
/// Creates a new <see cref="IValidationDataset"/> instance to validate a network accuracy from the input collection
122
+
/// </summary>
123
+
/// <typeparam name="TPixel">The type of image pixels. It must be either <see cref="Alpha8"/>, <see cref="Rgb24"/> or <see cref="Argb32"/></typeparam>
124
+
/// <param name="data">A list of <see cref="ValueTuple{T1, T2}"/> items, where the first element is the image path and the second is a vector with the expected outputs</param>
125
+
/// <param name="tolerance">The desired tolerance to test the network for convergence</param>
126
+
/// <param name="epochs">The epochs interval to consider when testing the network for convergence</param>
127
+
/// <param name="modify">An optional <see cref="Action{T}"/> to modify each sample image when loading the dataset</param>
/// Creates a new <see cref="IValidationDataset"/> instance to validate a network accuracy from the input collection
137
+
/// </summary>
138
+
/// <typeparam name="TPixel">The type of image pixels. It must be either <see cref="Alpha8"/>, <see cref="Rgb24"/> or <see cref="Argb32"/></typeparam>
139
+
/// <param name="data">A list of <see cref="ValueTuple{T1, T2}"/> items, where the first element is the image path and the second is a <see cref="Func{TResult}"/> returning a vector with the expected outputs</param>
140
+
/// <param name="tolerance">The desired tolerance to test the network for convergence</param>
141
+
/// <param name="epochs">The epochs interval to consider when testing the network for convergence</param>
142
+
/// <param name="modify">An optional <see cref="Action{T}"/> to modify each sample image when loading the dataset</param>
@@ -104,12 +165,12 @@ public static ITestDataset Test([NotNull] IEnumerable<(float[] X, float[] Y)> da
104
165
/// <summary>
105
166
/// Creates a new <see cref="ITestDataset"/> instance to test a network from the input collection
106
167
/// </summary>
107
-
/// <param name="data">The source collection to use to build the test dataset</param>
168
+
/// <param name="data">The source collection to use to build the test dataset, where the samples will be extracted from the input <see cref="Func{TResult}"/> instances in parallel</param>
108
169
/// <param name="progress">The optional progress callback to use</param>
/// Creates a new <see cref="ITestDataset"/> instance to test a network from the input collection
188
+
/// </summary>
189
+
/// <typeparam name="TPixel">The type of image pixels. It must be either <see cref="Alpha8"/>, <see cref="Rgb24"/> or <see cref="Argb32"/></typeparam>
190
+
/// <param name="data">A list of <see cref="ValueTuple{T1, T2}"/> items, where the first element is the image path and the second is a vector with the expected outputs</param>
191
+
/// <param name="progress">The optional progress callback to use</param>
192
+
/// <param name="modify">An optional <see cref="Action{T}"/> to modify each sample image when loading the dataset</param>
/// Creates a new <see cref="ITestDataset"/> instance to test a network from the input collection
202
+
/// </summary>
203
+
/// <typeparam name="TPixel">The type of image pixels. It must be either <see cref="Alpha8"/>, <see cref="Rgb24"/> or <see cref="Argb32"/></typeparam>
204
+
/// <param name="data">A list of <see cref="ValueTuple{T1, T2}"/> items, where the first element is the image path and the second is a <see cref="Func{TResult}"/> returning a vector with the expected outputs</param>
205
+
/// <param name="progress">The optional progress callback to use</param>
206
+
/// <param name="modify">An optional <see cref="Action{T}"/> to modify each sample image when loading the dataset</param>
0 commit comments