This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # Author: Overxfl0w13 # | |
| """You can define more kernel functions to test its performance whenever it respect the following condition: | |
| http://latex.codecogs.com/gif.latex?\forall i\in K(x,y)\rightarrow i\geq 0 | |
| Some examples: http://gyazo.com/3b1d3ae355c2638f5ac4d98c82c31d12 (Theme 4: representation based on kernels.) Perception (PER), DSIC-UPV) | |
| """ | |
| # Kernel test -> hamming distance # |
NewerOlder