Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Haleshot committed Aug 26, 2024
1 parent 5727b47 commit 3581060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easy/Linear_Kernel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ A kernel function in machine learning is used to measure the similarity between

The linear kernel between two vectors $\mathbf{x}_1$ and $\mathbf{x}_2$ is mathematically defined as:

$K(\mathbf{x}_1, \mathbf{x}_2) = \mathbf{x}_1 \cdot \mathbf{x}_2 = \sum_{i=1}^{n} x_{1,i} \cdot x_{2,i}$
$$ K(\mathbf{x}_1, \mathbf{x}_2) = \mathbf{x}_1 \cdot \mathbf{x}_2 = \sum_{i=1}^{n} x_{1,i} \cdot x_{2,i} $$

Where $n$ is the number of features, and $x_{1,i}$ and $x_{2,i}$ are the components of the vectors $\mathbf{x}_1$ and $\mathbf{x}_2$ respectively.

Expand Down

0 comments on commit 3581060

Please sign in to comment.