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
Copy file name to clipboardExpand all lines: docs/code/MlNetHighLevelConcepts.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -6,20 +6,20 @@ In this document, we give a brief overview of the ML.NET high-level concepts. Th
6
6
7
7
This document is going to cover the following ML.NET concepts:
8
8
9
-
-*Data*, represented as an `IDataView` interface.
9
+
-[*Data*](#data), represented as an `IDataView` interface.
10
10
- In ML.NET, data is very similar to a SQL view: it's a lazily-evaluated, immutable, cursorable, heterogenous, schematized dataset.
11
11
- An excellent document about the data interface is [IDataView Design Principles](IDataViewDesignPrinciples.md).
12
-
-*Transformer*, represented as `ITransformer` interface.
12
+
-[*Transformer*](#transformer), represented as `ITransformer` interface.
13
13
- In one sentence, a transformer is a component that takes data, does some work on it, and return new 'transformed' data.
14
14
- For example, you can think of a machine learning model as a transformer that takes features and returns predictions.
15
15
- Another example, 'text tokenizer' would take a single text column and output a vector column with individual 'words' extracted out of the texts.
16
-
-*Data reader*, represented as an `IDataReader<T>` interface.
16
+
-[*Data reader*](#data-reader), represented as an `IDataReader<T>` interface.
17
17
- The data reader is ML.NET component to 'create' data: it takes an instance of `T` and returns data out of it.
18
18
- For example, a *TextLoader* is an `IDataReader<FileSource>`: it takes the file source and produces data.
19
-
-*Estimator*, represented as an `IEstimator<T>` interface.
19
+
-[*Estimator*](#estimator), represented as an `IEstimator<T>` interface.
20
20
- This is an object that learns from data. The result of the learning is a *transformer*.
21
21
- You can think of a machine learning *algorithm* as an estimator that learns on data and produces a machine learning *model* (which is a transformer).
22
-
-*Prediction function*, represented as a `PredictionFunction<TSrc, TDst>` class.
22
+
-[*Prediction function*](#prediction-function), represented as a `PredictionFunction<TSrc, TDst>` class.
23
23
- The prediction function can be seen as a machine that applies a transformer to one 'row', such as at prediction time.
24
24
25
25
## Data
@@ -150,4 +150,4 @@ var output = predictionFunc.Predict(example);
150
150
151
151
The same `predictionFunc` can (and should!) be used multiple times, thus amortizing the initial cost of `MakePredictionFunction` call.
152
152
153
-
The prediction function is *not re-entrant / thread-safe*: if you want to conduct predictions simultaneously with multiple threads, you need to have a prediction function per thread.
153
+
The prediction function is *not re-entrant / thread-safe*: if you want to conduct predictions simultaneously with multiple threads, you need to have a prediction function per thread.
0 commit comments