Commit b0e4bcb6 authored by Davis King's avatar Davis King

merged

parents 8f6ca729 0b7896c9
...@@ -67,7 +67,7 @@ namespace dlib ...@@ -67,7 +67,7 @@ namespace dlib
- a is a sparse vector - a is a sparse vector
- b is a sparse vector - b is a sparse vector
ensures ensures
- returns exp(-gamma * sparse_vector::distance_squared(a,b)) - returns exp(-gamma * distance_squared(a,b))
!*/ !*/
sparse_radial_basis_kernel& operator= ( sparse_radial_basis_kernel& operator= (
...@@ -173,7 +173,7 @@ namespace dlib ...@@ -173,7 +173,7 @@ namespace dlib
- a is a sparse vector - a is a sparse vector
- b is a sparse vector - b is a sparse vector
ensures ensures
- returns tanh(gamma * sparse_vector::dot(a,b) + coef) - returns tanh(gamma * dot(a,b) + coef)
!*/ !*/
sparse_sigmoid_kernel& operator= ( sparse_sigmoid_kernel& operator= (
...@@ -285,7 +285,7 @@ namespace dlib ...@@ -285,7 +285,7 @@ namespace dlib
- a is a sparse vector - a is a sparse vector
- b is a sparse vector - b is a sparse vector
ensures ensures
- returns pow(gamma * sparse_vector::dot(a,b) + coef, degree) - returns pow(gamma * dot(a,b) + coef, degree)
!*/ !*/
sparse_polynomial_kernel& operator= ( sparse_polynomial_kernel& operator= (
...@@ -362,7 +362,7 @@ namespace dlib ...@@ -362,7 +362,7 @@ namespace dlib
- a is a sparse vector - a is a sparse vector
- b is a sparse vector - b is a sparse vector
ensures ensures
- returns sparse_vector::dot(a,b) - returns dot(a,b)
!*/ !*/
bool operator== ( bool operator== (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment