Public Member Functions | Public Attributes | List of all members
ML::matrix::KernelParams Struct Reference

#include <kernel_params.hpp>

Collaboration diagram for ML::matrix::KernelParams:
Collaboration graph

Public Member Functions

cuvs::distance::kernels::KernelParams to_cuvs () const
 Convert to cuvs KernelParams. More...
 

Public Attributes

KernelType kernel
 
int degree
 
double gamma
 
double coef0
 

Member Function Documentation

◆ to_cuvs()

cuvs::distance::kernels::KernelParams ML::matrix::KernelParams::to_cuvs ( ) const

Convert to cuvs KernelParams.

Note
For PRECOMPUTED kernels, the returned cuvs params will have kernel_type set to LINEAR as a placeholder, since cuvs doesn't have a PRECOMPUTED type. The kernel value won't be used in this case.

Member Data Documentation

◆ coef0

double ML::matrix::KernelParams::coef0

◆ degree

int ML::matrix::KernelParams::degree

◆ gamma

double ML::matrix::KernelParams::gamma

◆ kernel

KernelType ML::matrix::KernelParams::kernel

The documentation for this struct was generated from the following files: