Skip to content

Commit 5d9e880

Browse files
authored
Fix some SDCA documentation issues (#3533)
* Fix some SDCA documentation issues * Remove empty lines * Add empty lines
1 parent 356b3a4 commit 5d9e880

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

docs/api-reference/algo-details-sdca.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ error of the hypothesis. An accurate model with extreme coefficient values would
3939
be penalized more, but a less accurate model with more conservative values would
4040
be penalized less. This learner supports [elastic net
4141
regularization](https://en.wikipedia.org/wiki/Elastic_net_regularization): a
42-
linear combination of L1-norm (LASSO), $|| \boldsymbol{w} ||_1$, and L2-norm
43-
(ridge), $|| \boldsymbol{w} ||_2^2$ regularizations. L1-nrom and L2-norm
42+
linear combination of L1-norm (LASSO), $|| \textbf{w} ||_1$, and L2-norm
43+
(ridge), $|| \textbf{w} ||_2^2$ regularizations. L1-nrom and L2-norm
4444
regularizations have different effects and uses that are complementary in
4545
certain respects. Using L1-norm can increase sparsity of the trained
46-
$\boldsymbol{w}$. When working with high-dimensional data, it shrinks small
46+
$\textbf{w}$. When working with high-dimensional data, it shrinks small
4747
weights of irrevalent features to 0 and therefore no reource will be spent on
4848
those bad features when making prediction. L2-norm regularization is preferable
4949
for data that is not sparse and it largely penalizes the existence of large

docs/api-reference/io-columns-binary-classification.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
### Input and Output Columns
22
The input label column data must be <xref:System.Boolean>.
3-
The input features column data must be a known-sized vector of <xref:System.Single>. This trainer outputs the following columns:
3+
The input features column data must be a known-sized vector of <xref:System.Single>.
4+
5+
This trainer outputs the following columns:
46

57
| Output Column Name | Column Type | Description|
68
| -- | -- | -- |

docs/api-reference/io-columns-regression.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
### Input and Output Columns
2-
The input label column data must be <xref:System.Single>. This trainer outputs the following columns:
2+
The input label column data must be <xref:System.Single>.
3+
The input features column data must be a known-sized vector of <xref:System.Single>.
4+
5+
This trainer outputs the following columns:
36

47
| Output Column Name | Column Type | Description|
58
| -- | -- | -- |

src/Microsoft.ML.StandardTrainers/Standard/SdcaBinary.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1651,7 +1651,7 @@ private protected override SchemaShape.Column[] ComputeSdcaBinaryClassifierSchem
16511651
/// | Is caching required? | No |
16521652
/// | Required NuGet in addition to Microsoft.ML | None |
16531653
///
1654-
/// [!include[algorithm](~/../docs/samples/docs/api-reference/algo-details-sdca.md)].
1654+
/// [!include[algorithm](~/../docs/samples/docs/api-reference/algo-details-sdca.md)]
16551655
/// ]]>
16561656
/// </format>
16571657
/// </remarks>

0 commit comments

Comments
 (0)