Skip to content

Commit

Permalink
rename Converter
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham808 committed Jun 21, 2018
1 parent 1e93c7f commit 0cae94f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
15 changes: 8 additions & 7 deletions doc/cookbook/source/examples/converter/diffusion_maps.rst
Expand Up @@ -5,26 +5,27 @@ Diffusion Maps
Diffusion Maps is a non-linear dimensionality reduction method that uses
eigenfunctions of Markov matrices to diffusion maps for efficient
representations of complex geometric structures.
The diffusion kernel :math: `k` must satisfy the following properties:

1. :math: `k` is symmetric :math: `{\bf k}(x, y) = {\bf k}(y, x)`
2. :math: `k` is positivity preserving :math: `{\bf k}(x, y) ≥ 0`


For more information see :cite:`Coifman-Lafon2006Diffusionmaps`.

-------
Example
-------

we create CDenseFeatures (RealFeatures, here 64 bit float values).
We create CDenseFeatures (RealFeatures, here 64 bit float values).

.. sgexample:: diffusionmaps.sg:create_features

We create the :sgclass:`CDiffusionMaps` instance, and set its parameters. The diffusion kernel :math: `k` must satisfy
the following properties:

1. :math: `k` is symmetric :math: `{\bf k}(x, y) = {\bf k}(y, x)`
2. :math: `k` is positivity preserving :math: `{\bf k}(x, y) ≥ 0`
We create a :sgclass:`CDiffusionMaps` instance, and set its parameters.

.. sgexample:: diffusionmaps.sg:set_parameters

Then we apply DiffusionMaps, which gives us the distance embeddings.
Then we apply diffusion maps, which gives us distance embeddings.

.. sgexample:: diffusionmaps.sg:apply_convert

Expand Down
1 change: 1 addition & 0 deletions src/interfaces/swig/Converter.i
Expand Up @@ -29,6 +29,7 @@
%rename(FFSep) CFFSep;
%rename(JediSep) CJediSep;
%rename(UWedgeSep) CUWedgeSep;
%rename(Converter) CConverter;
%rename(FastICA) CFastICA;

%newobject shogun::CEmbeddingConverter::apply;
Expand Down

0 comments on commit 0cae94f

Please sign in to comment.