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 c8140e2 commit d473147
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions easy/Linear_Kernel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +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 Expand Up @@ -113,6 +111,6 @@ Both NumPy functions are more efficient and can handle multi-dimensional arrays,

To ensure proper rendering of LaTeX equations in various Markdown environments, we'll use inline LaTeX notation. 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}$


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.

0 comments on commit d473147

Please sign in to comment.