TensorFlow 2.0 Beta is available Learn more

Module: tf.contrib.kernel_methods

Ops and estimators that enable explicit kernel methods in TensorFlow.

View source on GitHub


class KernelLinearClassifier: Linear classifier using kernel methods as feature preprocessing.

class RandomFourierFeatureMapper: Class that implements Random Fourier Feature Mapping (RFFM) in TensorFlow.


sparse_multiclass_hinge_loss(...): Adds Ops for computing the multiclass hinge loss.