# Module: tf.contrib.kernel_methods

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/kernel_methods/__init__.py) |

Ops and estimators that enable explicit kernel methods in TensorFlow.

## Classes

[`class KernelLinearClassifier`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/kernel_methods/KernelLinearClassifier): Linear classifier using kernel methods as feature preprocessing.

[`class RandomFourierFeatureMapper`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/kernel_methods/RandomFourierFeatureMapper): Class that implements Random Fourier Feature Mapping (RFFM) in TensorFlow.

## Functions

[`sparse_multiclass_hinge_loss(...)`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/kernel_methods/sparse_multiclass_hinge_loss): Adds Ops for computing the multiclass hinge loss.