Skip to content

Instantly share code, notes, and snippets.

View ReiiSky's full-sized avatar
🏠
Working for my startup (Tripantero)

Satsuki Reikaa ReiiSky

🏠
Working for my startup (Tripantero)
  • Tripantero
  • Indonesia
View GitHub Profile
@ReiiSky
ReiiSky / KernelPerceptron.py
Created August 26, 2017 09:23 — forked from jogonba2/KernelPerceptron.py
Kernel Perceptron
#!/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 #