SlideShare a Scribd company logo
1 of 117
Download to read offline
Support Fuzzy-Set Machines
From Kernels on Fuzzy Sets to Machine Learning Applications
Tutorial IEEE-FUZZ 2019
Jorge Guevara Díaz1 Roberto Hirata Jr.2 Stéphane Canu3
1IBM Research
2Institute of Mathematics and Statistics
University of Sao Paulo-Brazil
3Institut National de Sciences Appliquees
University of Normandy-France
June, 2019
Outline
1 Introduction
2 Kernel Machines
3 Kernels on Fuzzy sets
4 Support fuzzy-set machines
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 2 / 75
Outline
1 Introduction
2 Kernel Machines
3 Kernels on Fuzzy sets
4 Support fuzzy-set machines
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 3 / 75
Overall picture
how to use the kernel trick for constructing a fuzzy kernel machines
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 4 / 75
Overall picture
In this tutorial we are going to construct a support fuzzy-set machine
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 5 / 75
Overall picture
This novel approach differs from other fuzzy support machines,
because we are not modifying the machine learning algorithm but
using kernels on fuzzy sets.
All the following approaches modify the SVM algorithm in some sense, but
not the kernel:
Lin, Chun-Fu, and Sheng-De Wang. "Fuzzy support vector machines." IEEE transactions on neural networks
13.2 (2002): 464-471.
Inoue, Takuya, and Shigeo Abe. "Fuzzy support vector machines for pattern classification." IJCNN’01.
International Joint Conference on Neural Networks. Proceedings (Cat. No. 01CH37222). Vol. 2. IEEE,
2001.
Wang, Yongqiao, Shouyang Wang, and Kin Keung Lai. "A new fuzzy support vector machine to evaluate
credit risk." IEEE Transactions on Fuzzy Systems 13.6 (2005): 820-831.
Abe, Shigeo, and Takuya Inoue. "Fuzzy support vector machines for multiclass problems." ESANN. 2002.
etc.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 6 / 75
Overall picture
Our approach differs from other "fuzzy support machines", because
we do not modify the machine learning algorithm, instead we
construct kernels on fuzzy sets.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 7 / 75
Overall picture
Our approach differs from other "fuzzy support machines", because
we do not modify the machine learning algorithm, instead we
construct kernels on fuzzy sets.
The kernel trick given by kernels on fuzzy sets can be used for any
kernel method (support vector regression, kernel PCA, Gaussian
process, etc)
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 7 / 75
Overall picture
Our approach differs from other "fuzzy support machines", because
we do not modify the machine learning algorithm, instead we
construct kernels on fuzzy sets.
The kernel trick given by kernels on fuzzy sets can be used for any
kernel method (support vector regression, kernel PCA, Gaussian
process, etc)
for instance, a support fuzzy-set machine is a SVM with kernel on
fuzzy sets. We call it "support fuzzy-set machine" because the
solution (decision function) will depend only by a subset of the
training examples (fuzzy sets).
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 7 / 75
Overall picture
Kernel on fuzzy set library (collaboration with Lucas Yau from University of Sao Paulo)
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 8 / 75
Introduction
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 9 / 75
Introduction
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 10 / 75
Introduction
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 11 / 75
Introduction
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 12 / 75
Outline
1 Introduction
2 Kernel Machines
3 Kernels on Fuzzy sets
4 Support fuzzy-set machines
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 13 / 75
Kernel methods
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 14 / 75
Kernel methods
Support Vector Machines
min
α∈RN
1
2
α Kα − 1 α
subject to α y = 0.
0 ≤ αi ≤ λ, i = 1, . . . , N.
Cortes, Corinna, and Vladimir Vapnik. "Support-vector networks." Machine learning 20.3 (1995): 273-297
Figure from Shawe-Taylor, John, and Nello Cristianini. Kernel methods for pattern analysis. Cambridge university
press, 2004.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 14 / 75
Kernel methods
Kernel PCA
Solve Mλα = Kα
subject to α Kα = 1.
where the eigen functions are given by V (.) = i αi k(xi , .)
Schölkopf, Bernhard, Alexander Smola, and Klaus-Robert Müller. "Nonlinear component analysis as a kernel
eigenvalue problem." Neural computation 10.5 (1998): 1299-1319.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 15 / 75
Kernel methods
Gaussian process regression
f ∼ GP E[f (X)], k(x, x) = GP m(x), k(x, x)
Predictive distribution yi | x∗, x, y ∼ N k(x∗, x)k(x, x)−1
y, k(x∗, x∗) − k(x∗, x)k(x, x)−1
k(x, x∗)
thus, y = ˆf (x∗) ≡ k(x∗, x)k(x, x)−1
y = i αi k(xi , x∗), , where α = K−1
y
Rasmussen, Carl Edward. "Gaussian processes in machine learning." Advanced lectures on machine learning.
Springer, Berlin, Heidelberg, 2004. 63-71.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 16 / 75
Kernel methods
Support Vector Data Description
min
α∈RN
α Kα − α diag(K)
subject to α 1 = 0.
0 ≤ αi ≤ λ, i = 1, . . . , N,
Tax, David MJ, and Robert PW Duin. "Support vector data description." Machine learning 54.1 (2004): 45-66.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 17 / 75
Kernel methods
Radial basis function neural network
f (x) =
L
l=1
wl exp(−γ x − µk
2
)
Broomhead, David S., and David Lowe. Radial basis functions, multi-variable functional interpolation and adaptive
networks. No. RSRE-MEMO-4148. Royal Signals and Radar Establishment Malvern (United Kingdom), 1988.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 18 / 75
Kernel methods
SVM
kernel PCA
Gaussian process
SVDD
MKL
SMDD
Kernel regression
Kernel two-sample test
kernel spectral clustering
Representer Theorem
f
∗
= argmin
f ∈H
Cost (x1, y1, f (x1)), . . . , (xN , yN , f (xN ))) + Ω( f ) (1)
f
∗
(.) =
N
i=1
αi k(., xi ) (2)
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 19 / 75
Kernel methods
A kernel matrix is a similarity matrix
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 20 / 75
RKHS, where the magic happens
Figure: Kernel mappinga
Figure from Shawe-Taylor et al. "Kernel Methods for Pattern Analysis". Cambridge University Press.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 21 / 75
RKHS, where the magic happens
Main ingredient
A real-valued symmetric positive definite kernel k.
N
i=1,j=1 ci cj k(xi , xj ) ≥ 0
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 22 / 75
Reproducing Kernel Hilbert Spaces
Definition (Reproducing kernel)
A function
k : X × X → R
(x, y) → k(x, t) (3)
is called a reproducing kernel of the Hilbert space H if and only if:
1 ∀x ∈ X, k(., x) ∈ H
2 ∀x ∈ X, ∀f ∈ H f , k(., x) H = f (x)
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 23 / 75
Reproducing Kernel Hilbert Spaces
Definition (Reproducing kernel)
A function
k : X × X → R
(x, y) → k(x, t) (3)
is called a reproducing kernel of the Hilbert space H if and only if:
1 ∀x ∈ X, k(., x) ∈ H
2 ∀x ∈ X, ∀f ∈ H f , k(., x) H = f (x)
Reproducing property
∀(x, y) ∈ X × X, k(x, y) = k(., x), k(., y) H (4)
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 23 / 75
Reproducing Kernel Hilbert Spaces
Definition (Real RKHS)
A Hilbert Space of real valued functions on X, denoted by H, with
reproducing kernel is called a real Reproducing Kernel Hilbert Space or real
RKHS.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 24 / 75
Reproducing Kernel Hilbert Spaces
Definition (Real RKHS)
A Hilbert Space of real valued functions on X, denoted by H, with
reproducing kernel is called a real Reproducing Kernel Hilbert Space or real
RKHS.
Characterization
All the evaluation functionals are continuous on H. :
ex : H → R (5)
f → ex (f ) = f (x) (6)
Berlinet, Alain, and Christine Thomas-Agnan. Reproducing kernel Hilbert spaces in probability and statistics.
Springer Science Business Media, 2011.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 24 / 75
Positive Definite Kernel
Lemma
Any reproducing kernel k : X × X → R is a symmetric positive definite
function, that is, it satisfies:
N
i=1
N
j=1
ci cj k(xi , xj ) ≥ 0 (7)
∀N ∈ N, ∀ci , cj ∈ R and k(x, y) = k(y, x), ∀x, y ∈ X. The converse is
true.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 25 / 75
Positive Definite Kernel
Lemma
Any reproducing kernel k : X × X → R is a symmetric positive definite
function, that is, it satisfies:
N
i=1
N
j=1
ci cj k(xi , xj ) ≥ 0 (7)
∀N ∈ N, ∀ci , cj ∈ R and k(x, y) = k(y, x), ∀x, y ∈ X. The converse is
true.
Consequently
Kernels k are reproducing kernels of some RKHS. The space spanned by
k(x, .) generates a RKHS or a Hilbert space with reproducing kernel k.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 25 / 75
Positive Definite Kernel
If k is a reproducing kernel, then
N
i=1
N
j=1
ci cj k(xi , xj ) =
N
i=1
N
j=1
ci cj k(., xi ), k(., xj ) H
=
N
i=1
ci k(., xi ),
N
j=1
cj k(., xj ) H
=
N
i=1
ci k(., xi ) 2
H
≥ 0
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 26 / 75
Positive Definite Kernel
If k is a reproducing kernel, then
N
i=1
N
j=1
ci cj k(xi , xj ) =
N
i=1
N
j=1
ci cj k(., xi ), k(., xj ) H
=
N
i=1
ci k(., xi ),
N
j=1
cj k(., xj ) H
=
N
i=1
ci k(., xi ) 2
H
≥ 0
That is
Elements of the RKHS are real-valued functions on X of the form
f (.) = N
i=1 ci k(., xi ).
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 26 / 75
Polynomial kernel k(x, x ) = (a + bx x )γ
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 27 / 75
Examples of reproducing kernels or positive definite kernels
k(x, x ) = (1 + x x )2
= (1 + x1x1 + x2x2)2
= (1 + x2
1 x 2
1 + x2
2 x 2
2 + 2x1x1 + 2x2x2 + 2x1x1x2x2)
= (1, x2
1 , x2
2 ,
√
2x1,
√
2x2 ,
√
2x1x2), (1, x 2
1 , x 2
2 ,
√
2x1,
√
2x2,
√
2x1x2)
Polynomial kernel k(x, x ) = (a + bx x )γ
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 27 / 75
Positive Definite Kernel
Examples of reproducing kernels or positive definite kernels
k(x, x ) = exp − (x − x )2
= exp(−x2
) exp(−x 2
)
∞
i=0
2i
xi
x i
i!
infinite dimensional
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 28 / 75
Positive Definite Kernel
Examples of reproducing kernels or positive definite kernels
k(x, x ) = exp − (x − x )2
= exp(−x2
) exp(−x 2
)
∞
i=0
2i
xi
x i
i!
infinite dimensional
RBF kernel k(x, x ) = exp(−0.5 ∗ γ x − x 2
)
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 28 / 75
Positive Definite Kernel
Examples of reproducing kernels or positive definite kernels
The real-valued kernel on P × P, defined by
˜k(P, Q) = EP[k(X, .)], EQ[k(X , .)] H
=
x∈RD x ∈RD
k(x, x )dP(x)dQ(x )
(8)
is positive definite.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 29 / 75
Positive Definite Kernel
Examples of reproducing kernels or positive definite kernels
Mean maps with stationary kernels do not have constant norm
µP H = EP[kI (X., )] H ≤ EP[ kI (X., ) H] = | |
normalize mean maps to lie on a surface of some hypersphere
˜˜k(Pi , Pj ) =
µP, µQ H
µP, µP H µQ, µQ H
, (9)
the injectivity of µ : P → H is preserved.
Muandet et al "One-class support measure machines for group anomaly detection."
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 30 / 75
Positive Definite Kernel
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 31 / 75
Positive Definite Kernel
The Matern kernel, widely used in kriging procedures by geostatisticians
Figure from: https://www.ethz.ch/content/specialinterest/baug/institute-ibk/risk-safety-and-
uncertainty/en/research/past-projects/polynomial-chaos-kriging.html
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 31 / 75
Positive Definite Kernel
Examples of reproducing kernels or positive definite kernels
Linear kernel k(x, y) = x, y x, y ∈ RD
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 32 / 75
Positive Definite Kernel
Examples of reproducing kernels or positive definite kernels
Linear kernel k(x, y) = x, y x, y ∈ RD
Polynomial kernel k(x, y) = ( x, y + 1)D x, y ∈ RD
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 32 / 75
Positive Definite Kernel
Examples of reproducing kernels or positive definite kernels
Linear kernel k(x, y) = x, y x, y ∈ RD
Polynomial kernel k(x, y) = ( x, y + 1)D x, y ∈ RD
Gaussian kernel k(x, y) = exp(− x − y 2/σ2) x, y ∈ RD
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 32 / 75
Positive Definite Kernel
Examples of reproducing kernels or positive definite kernels
Linear kernel k(x, y) = x, y x, y ∈ RD
Polynomial kernel k(x, y) = ( x, y + 1)D x, y ∈ RD
Gaussian kernel k(x, y) = exp(− x − y 2/σ2) x, y ∈ RD
Probability product kernel ˜k(P, Q) = X P(x)ρQ(x)ρdx
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 32 / 75
Positive Definite Kernel
Examples of reproducing kernels or positive definite kernels
Linear kernel k(x, y) = x, y x, y ∈ RD
Polynomial kernel k(x, y) = ( x, y + 1)D x, y ∈ RD
Gaussian kernel k(x, y) = exp(− x − y 2/σ2) x, y ∈ RD
Probability product kernel ˜k(P, Q) = X P(x)ρQ(x)ρdx
Kernel on probability measures for X ∼ P, X ∼ Q,
˜k(P, Q) = EP[k(X., )], EQ[k(X ., )] H
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 32 / 75
Positive Definite Kernel
Making new kernels from old If k1 and k2 are PD kernels, by closure
properties of PD kernels, also are PD kernels:
1 k1(x, y) + k2(x, y);
2 αk1(x, y), α ∈ R+;
3 k1(x, y)k2(x, y);
4 k(f (x), f (y))
5 exp(k1(x, y));
6 p(k1(x, y)), p is a polynomial with positive coefficients.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 33 / 75
Kernels
Positive definite kernels are
coovariance functions, i.e., k(x, x ) = E f (x)f (x ) ,
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 34 / 75
Kernels
Positive definite kernels are
coovariance functions, i.e., k(x, x ) = E f (x)f (x ) ,
similarity measures,
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 34 / 75
Kernels
Positive definite kernels are
coovariance functions, i.e., k(x, x ) = E f (x)f (x ) ,
similarity measures,
related to metrics by: k(x, x) − 2k(x, x ) + k(x , x )
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 34 / 75
Kernels
Positive definite kernels are
coovariance functions, i.e., k(x, x ) = E f (x)f (x ) ,
similarity measures,
related to metrics by: k(x, x) − 2k(x, x ) + k(x , x )
the main ingredient to define RKHS
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 34 / 75
Kernels
Positive definite kernels are
coovariance functions, i.e., k(x, x ) = E f (x)f (x ) ,
similarity measures,
related to metrics by: k(x, x) − 2k(x, x ) + k(x , x )
the main ingredient to define RKHS
very useful in practice in machine learning, i.e., they define gram
matrices Ki,j = k(xi , xj ) used in ML algorithms
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 34 / 75
Kernels
Positive definite kernels are
coovariance functions, i.e., k(x, x ) = E f (x)f (x ) ,
similarity measures,
related to metrics by: k(x, x) − 2k(x, x ) + k(x , x )
the main ingredient to define RKHS
very useful in practice in machine learning, i.e., they define gram
matrices Ki,j = k(xi , xj ) used in ML algorithms
defined on non empty sets: That enables its use on non-vectorial
spaces. (sets, graphs, strings, etc)
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 34 / 75
Outline
1 Introduction
2 Kernel Machines
3 Kernels on Fuzzy sets
4 Support fuzzy-set machines
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 35 / 75
Kernels on Fuzzy sets
Material
https://github.com/fuzzy-kernel-machines/fuzzy-kernel-machines
Guevara, Jorge, et.al. "Learning with Kernels on Fuzzy Sets" (Arxiv)
In-preparation
Guevara, Jorge, et.al. "Kernels on Fuzzy Sets: an Overview", Learning
on Distributions, Functions, Graphs and Groups @ NIPS-2017
Guevara, Jorge, et.al. "Cross product kernels for fuzzy set similarity."
Fuzzy Systems (FUZZ-IEEE), 2017.
Guevara, Jorge, et.al. "Fuzzy Set Similarity using a Distance-Based
Kernel on Fuzzy Sets", 2016, Book Chapter, Handbook of Fuzzy Sets
Comparison - Theory, Algorithms and Applications,pages 103-120.
Guevara, Jorge, et.al. "Positive Definite Kernel Functions on Fuzzy
Sets." Fuzzy Systems (FUZZ-IEEE), 2014.
Guevara, Jorge, et.al."Kernel Functions in Takagi-Sugeno-Kang Fuzzy
System with Nonsingleton Fuzzy Input." Fuzzy Systems (FUZZ-IEEE),
2013.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 36 / 75
Kernels on Fuzzy sets
Motivation
study, analysis and understanding of the nature of a research object.
testing (causal) hypotheses
discovering hidden patterns and correlations
postulate theories,
give explanations
make predictions on unobserved cases
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 37 / 75
Kernels on Fuzzy sets
Set-valued information
Ontic (conjuctive sets)
set of pixels denoting a region within a image
cluster of galaxies
Epistemic (disjuntive sets)
a set containing the unknown age of a person
an interval containing a non-precise measurement
Couso, Inés, and Didier Dubois. "Statistical reasoning with set-valued information: Ontic vs. epistemic views."
International Journal of Approximate Reasoning 55.7 (2014): 1502-1518.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 38 / 75
Kernels on Fuzzy sets
Fuzzy Sets
We can have both views ontic and epistemic
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 39 / 75
Kernels on Fuzzy sets
Fuzzy data
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 40 / 75
Kernels on Fuzzy sets
Fuzzy data
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 41 / 75
Kernels on Fuzzy sets
Fuzzy data
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 42 / 75
Kernels on Fuzzy sets
Motivation
similarity measure between fuzzy sets given by kernels
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 43 / 75
Kernels on Fuzzy sets
Motivation
similarity measure between fuzzy sets given by kernels
geometric interpretation of similarity between fuzzy set in RKHS
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 43 / 75
Kernels on Fuzzy sets
Motivation
similarity measure between fuzzy sets given by kernels
geometric interpretation of similarity between fuzzy set in RKHS
embedding of fuzzy sets into RKHS
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 43 / 75
Kernels on Fuzzy sets
Motivation
similarity measure between fuzzy sets given by kernels
geometric interpretation of similarity between fuzzy set in RKHS
embedding of fuzzy sets into RKHS
using fuzzy data "as is" in kernel methods
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 43 / 75
Kernels on Fuzzy sets
Motivation
similarity measure between fuzzy sets given by kernels
geometric interpretation of similarity between fuzzy set in RKHS
embedding of fuzzy sets into RKHS
using fuzzy data "as is" in kernel methods
covariance matrix for fuzzy samples
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 43 / 75
Fuzzy Set
Fuzzy sets on Ω are denoted by X, Y , Z.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 44 / 75
Fuzzy Set
Fuzzy sets on Ω are denoted by X, Y , Z.
The membership function Ω :→ [0, 1] of a fuzzy set is denoted by
X(.).
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 44 / 75
Fuzzy Set
Fuzzy sets on Ω are denoted by X, Y , Z.
The membership function Ω :→ [0, 1] of a fuzzy set is denoted by
X(.).
F(Ω) is the set of all the fuzzy sets on Ω.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 44 / 75
Fuzzy Set
Fuzzy sets on Ω are denoted by X, Y , Z.
The membership function Ω :→ [0, 1] of a fuzzy set is denoted by
X(.).
F(Ω) is the set of all the fuzzy sets on Ω.
Definition (Support of a fuzzy set)
The support of a fuzzy set is the set
supp(X) = {x ∈ Ω|X(x) > 0}.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 44 / 75
Cross product kernel on fuzzy sets
Definition (Cross product kernel on fuzzy sets)
The cross product kernel on fuzzy sets is a function
k× : F(Ω) × F(Ω) → R given by:
k×(X, Y ) =
x∈supp(X),
y∈supp(Y )
k1 ⊗ k2 (x, X(x)), (y, Y (y)) , (10)
where: k1 : Ω × Ω → R, k2 : [0, 1] × [0, 1] → R,
k1 ⊗ k2 x, X(x), y, Y (y) = k1(x, y) k2(X(x), Y (y)). (11)
Guevara, Jorge, et.al. "Cross product kernels for fuzzy set similarity." Fuzzy Systems (FUZZ-IEEE), 2017.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 45 / 75
Cross product kernel on fuzzy sets
Lemma
If k1 and k2 are real-valued pd kernels, then the cross product kernel on
fuzzy sets is pd.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 46 / 75
Cross product kernel on fuzzy sets
Lemma
If k1 and k2 are real-valued pd kernels, then the cross product kernel on
fuzzy sets is pd.
Corollary
Kernel k× defines a similarity measure for two fuzzy sets X, Y ∈ F(Ω) as
follows:
k×(X, Y ) = φX , φY H, (12)
Guevara, Jorge, et.al. "Cross product kernels for fuzzy set similarity." Fuzzy Systems (FUZZ-IEEE), 2017.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 46 / 75
Cross product kernel on fuzzy sets
k1(x, y) k×(X, Y )
linear
x∈supp(X),
y∈supp(Y )
xyX(x)Y (y)
polynomial
x∈supp(X),
y∈supp(Y )
(γ x, y + b)β
X(x)Y (y)
exponential
x∈supp(X),
y∈supp(Y )
exp(γ x, y )X(x)Y (y)
Gaussian
x∈supp(X),
y∈supp(Y )
exp(−γ x − y 2
)X(x)Y (y)
Table: Examples of cross product kernels on fuzzy sets.
Guevara, Jorge, et.al. "Cross product kernels for fuzzy set similarity." Fuzzy Systems (FUZZ-IEEE), 2017.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 47 / 75
Cross product kernel on fuzzy sets
Example
Let (Ω, A, µ) be a finite measure space. Let k1, k2 be continuous functions with finite integral. The kernel
k×(X, Y ) =
x∈supp(X),
y∈supp(Y )
k1 ⊗ k2 (x, X(x)), (y, Y (y)) dµ(x)dµ(y),
(13)
is a cross product kernel on fuzzy sets.
Example
Replacing the measure µ of the previous example with a probability measure P results in the following cross product
kernel on fuzzy sets:
k×(X, Y ) =
x∈supp(X),
y∈supp(Y )
k1 ⊗ k2 (x, X(x)), (y, Y (y)) dP(x)dP(y),
(14)
Guevara, Jorge, et.al. "Cross product kernels for fuzzy set similarity." Fuzzy Systems (FUZZ-IEEE), 2017.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 48 / 75
Cross product kernel on fuzzy sets
A generalization of k× to deal with a D-tuple of fuzzy sets, i.e., (X1, . . . , XD ) ∈ F(Ω1) × · · · × F(ΩD ) is
implemented by the following kernel:
k
π
× (X1, . . . , XD ), (Y1, . . . , YD ) =
D
d=1
k
d
×(Xd , Yd ). (15)
If all the kernels kd
× are positive definite then kπ
× is positive definite by closure properties of kernels. Another
generalization based on addition of positive definite kernels is also possible:
k
Σ
× (X1, . . . , XD ), (Y1, . . . , YD ) =
D
d=1
αi k
d
×(Xd , Yd ). (16)
Kernel kΣ
× is positive definite if only if αi ∈ R+
and all the kD
× kernels are positive definite.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 49 / 75
Cross product kernel on fuzzy sets
Properties
k× is a convolution kernel, i.e., it can be derived from
kconv (e, e ) = e∈R−1(e),e ∈R−1(e )
L
l=1 kl (el , el ),
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 50 / 75
Cross product kernel on fuzzy sets
Properties
k× is a convolution kernel, i.e., it can be derived from
kconv (e, e ) = e∈R−1(e),e ∈R−1(e )
L
l=1 kl (el , el ),
k× generalize the cross product kernel on sets, i.e., k(A, A )
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 50 / 75
Cross product kernel on fuzzy sets
Properties
k× is a convolution kernel, i.e., it can be derived from
kconv (e, e ) = e∈R−1(e),e ∈R−1(e )
L
l=1 kl (el , el ),
k× generalize the cross product kernel on sets, i.e., k(A, A )
k× embeds probability distributions into a RKHS.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 50 / 75
Cross product kernel on fuzzy sets
Properties
k× is a convolution kernel, i.e., it can be derived from
kconv (e, e ) = e∈R−1(e),e ∈R−1(e )
L
l=1 kl (el , el ),
k× generalize the cross product kernel on sets, i.e., k(A, A )
k× embeds probability distributions into a RKHS.
fuzzines and radomness modeling (see example when µ = P)
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 50 / 75
Cross product kernel on fuzzy sets
Properties
k× is a convolution kernel, i.e., it can be derived from
kconv (e, e ) = e∈R−1(e),e ∈R−1(e )
L
l=1 kl (el , el ),
k× generalize the cross product kernel on sets, i.e., k(A, A )
k× embeds probability distributions into a RKHS.
fuzzines and radomness modeling (see example when µ = P)
noise resistant under supervised classification experiments on attribute noisy
datasets (see Paper below)
Guevara, Jorge, et.al. "Cross product kernels for fuzzy set similarity." Fuzzy Systems (FUZZ-IEEE), 2017.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 50 / 75
Cross product kernel on fuzzy sets
Example of this kernel using the fuzzy-kernel-machines library (see
notebook 2)
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 51 / 75
Cross product kernel on fuzzy sets
Kernel gram matrix example using the fuzzy-kernel-machines library (see
notebook 3)
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 52 / 75
The intersection kernel on fuzzy sets
A triangular norm or T-norm is the function T : [0, 1]2 → [0, 1], such that,
for all x, y, z ∈ [0, 1] satisfies:
T1 commutativity: T(x, y) = T(y, x);
T2 associativity: T(x, T(y, z)) = T(T(x, y), z);
T3 monotonicity: y ≤ z ⇒ T(x, y) ≤ T(x, z);
T4 boundary condition T(x, 1) = x.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 53 / 75
The intersection kernel on fuzzy sets
A triangular norm or T-norm is the function T : [0, 1]2 → [0, 1], such that,
for all x, y, z ∈ [0, 1] satisfies:
T1 commutativity: T(x, y) = T(y, x);
T2 associativity: T(x, T(y, z)) = T(T(x, y), z);
T3 monotonicity: y ≤ z ⇒ T(x, y) ≤ T(x, z);
T4 boundary condition T(x, 1) = x.
a multiple-valued extension
Using n ∈ N, n ≥ 2 and associativity, a multiple-valued extension
Tn : [0, 1]n → [0, 1] of a T-norm T is given by T2 = T and
Tn(x1, x2, . . . , xn) = T(x1, Tn−1(x2, x3, . . . , xn)). (17)
We will use T to denote T or Tn.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 53 / 75
The intersection kernel on fuzzy sets
A semi-ring of sets, S on Ω, is a subset of the power set P(Ω), that is, a
set of sets satisfying:
1 φ ∈ S, φ denotes the empty set;
2 A, B ∈ S, =⇒ A ∩ B ∈ S;
3 for all A, A1 ∈ S and A1 ⊆ A, there exists a sequence of
pairwise disjoint sets A2, A3, . . . AN ⊆ S, such
A =
N
i=1
Ai .
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 54 / 75
The intersection kernel on fuzzy sets
A semi-ring of sets, S on Ω, is a subset of the power set P(Ω), that is, a
set of sets satisfying:
1 φ ∈ S, φ denotes the empty set;
2 A, B ∈ S, =⇒ A ∩ B ∈ S;
3 for all A, A1 ∈ S and A1 ⊆ A, there exists a sequence of
pairwise disjoint sets A2, A3, . . . AN ⊆ S, such
A =
N
i=1
Ai .
Finite decomposition
Condition 3 is called finite decomposition of A.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 54 / 75
The intersection kernel on fuzzy sets
Definition (Measure)
Let S be a semi-ring and let ρ : S → [0, ∞] be a pre-measure, i.e., ρ
satisfy:
1 ρ(φ) = 0;
2 for a finite decomposition of A ∈ S, ρ(A) = N
i=1 ρ(Ai );
by Carathéodory’s extension theorem, ρ is a measure on σ(S), where σ(S)
is the smallest σ-algebra containing S.
Gartner et.al., shows that a kernel k : S × S → R defined by k(A, A ) = ρ(A ∩ A )
is positive definite, where ρ : S → [0, ∞] is a measure.
Gartner, Thomas. Kernels for structured data. Vol. 72. World Scientific, 2008.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 55 / 75
The intersection kernel on fuzzy sets
Remark
Notation FS(Ω) stands for the set of all fuzzy sets over Ω whose support
belongs to S, i.e.,
FS(Ω) = {X ⊂ Ω| supp(X) ∈ S}.
where S is a semi-ring of sets on Ω
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 56 / 75
The intersection kernel on fuzzy sets
Remark
Notation FS(Ω) stands for the set of all fuzzy sets over Ω whose support
belongs to S, i.e.,
FS(Ω) = {X ⊂ Ω| supp(X) ∈ S}.
where S is a semi-ring of sets on Ω
Example
If X ∩ Y ∈ FS(Ω) then satisfy (finite decomposition):
supp(X ∩ Y ) =
i∈I
Ai , Ai ∈ S,
where {A1, A2, . . . , AN}. are pairwise disjoint sets
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 56 / 75
Intersection Kernel on Fuzzy Sets
Example cont.
We can measure supp(X ∩ Y ) = i∈I Ai , Ai ∈ S using the measure
ρ : S → [0, ∞] as follows:
ρ supp(X ∩ Y ) = ρ(
i∈I
Ai ) =
i∈I
ρ(Ai ),
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 57 / 75
Intersection Kernel on Fuzzy Sets
Example cont.
We can measure supp(X ∩ Y ) = i∈I Ai , Ai ∈ S using the measure
ρ : S → [0, ∞] as follows:
ρ supp(X ∩ Y ) = ρ(
i∈I
Ai ) =
i∈I
ρ(Ai ),
Adding fuzziness
The idea to include fuzziness is to weight each ρ(Ai ) by a value given by the
contribution of the membership function on all the elements of the set Ai .
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 57 / 75
Intersection Kernel on Fuzzy Sets
Definition
The intersection kernel on fuzzy sets is a function:
k∩ : FS(Ω) × FS(Ω) → R, defined by:
k∩(X, Y ) =
i∈I
X ∩ Y (Ai )ρ(Ai ), (18)
where X ∩ Y (A) ≡ x∈A X ∩ Y (x)
Guevara, Jorge, et.al. "Positive Definite Kernel Functions on Fuzzy Sets." Fuzzy Systems (FUZZ-IEEE), 2014.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 58 / 75
Intersection Kernel on Fuzzy Sets
Kernel k∩ can be implemented via T-norm operators:
k∩(X,Y) =
i∈I
X ∩ Y (Ai )ρ(Ai )
=
i∈I x∈Ai
X ∩ Y (x)ρ(Ai )
=
i∈I x∈Ai
T(X(x), Y (x))ρ(Ai )
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 59 / 75
Intersection Kernel on Fuzzy Sets
Some kernel examples for different T-norm operators Examples
Kernel k∩ T-norm
k∩_ min(X, Y ) = i∈I x∈Ai
min(X(x), Y (x))ρ(A) minimum
k∩_pro(X, Y ) = i∈I x∈Ai
X(x)Y (x)ρ(A) product
k∩_Łuk(X, Y ) = i∈I x∈Ai
max(X(x) + Y (x) − 1, 0)ρ(A) Łukasiewicz
k∩_Dra(X, Y ) = i∈I x∈Ai
f (X(x), Y (x))ρ(A) Drastic
where f is defined as
f (X(x), Y (x)) =



X(x), if Y (x) = 1
Y (x), if X(x) = 1
0, otherwise
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 60 / 75
Intersection Kernel on Fuzzy Sets
Lemma
kmin(X, Y ) = i∈I x∈Ai
min(µX (x), µY (x))ρ(Ai )
is positive definite
Lemma
kP(X, Y )= i∈I x∈Ai
µX (x)µY (x)ρ(Ai )
is positive definite.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 61 / 75
Intersection Kernel on Fuzzy Sets
Lemma
kmin(X, Y ) = i∈I x∈Ai
min(µX (x), µY (x))ρ(Ai )
is positive definite
Lemma
kP(X, Y )= i∈I x∈Ai
µX (x)µY (x)ρ(Ai )
is positive definite.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 61 / 75
The non-singleton kernel on fuzzy sets
Definition
This kernel is a function knsk : F(Ω) × F(Ω) → [0, 1] defined by:
knsk(X, Y ) = sup
x∈Ω
X ∩ Y (x)
= sup
x∈Ω
T X(x), Y (x) ,
where sup is the supremum.
Derived from non-singleton fuzzy systems.
Guevara, Jorge, et.al. "Kernel Functions in Takagi-Sugeno-Kang Fuzzy System with Nonsingleton Fuzzy Input."
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 62 / 75
The non-singleton kernel on fuzzy sets
Examples Given X = (X1, . . . , Xd , . . . , XD) and
Y = (Y1, . . . , Xd , . . . , YD), such that: Xd (.) = exp −1
2
(.−md )2
σ2
d
, where,
md ∈ R amd σd ∈ R+, then, the following kernel
knsk(X, Y ) =
D
d=1
exp −
1
2
(md − md )2
σ2
d + (σd )2
, (19)
is a positive definite kernel.
Guevara, Jorge, et.al. "Kernel Functions in Takagi-Sugeno-Kang Fuzzy System with Nonsingleton Fuzzy Input."
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 63 / 75
The non-singleton kernel on fuzzy sets
Examples Given X = (X1, . . . , Xd , . . . , XD) and
Y = (Y1, . . . , Xd , . . . , YD), such that: Xd (.) = exp −1
2
(.−md )2
σ2
d
, where,
md ∈ R amd σd ∈ R+, then, the following kernel
kγ
nsk(X, Y ) =
D
d=1
exp −
1
2
(md − md )2
σ2
d + (σd )2 + γ
, (20)
is a positive definite kernel.
Guevara, Jorge, et.al."Kernel Functions in Takagi-Sugeno-Kang Fuzzy System with Nonsingleton Fuzzy Input."
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 64 / 75
Distance-based kernels on fuzzy sets
Based on the concept of distance substitution kernels. Examples Kernel
KD(X, X ) = exp(−λD(X, X )2),is PD when we use the following metric
on fuzzy sets: D(X, X ) = x∈Ω |X(x) − X (x)|
x∈Ω |X(x) + X (x)|
.
Guevara, Jorge, et.al. "Fuzzy Set Similarity using a Distance-Based Kernel on Fuzzy Sets", 2016, Book Chapter,
Handbook of Fuzzy Sets Comparison - Theory, Algorithms and Applications,pages 103-120
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 65 / 75
Outline
1 Introduction
2 Kernel Machines
3 Kernels on Fuzzy sets
4 Support fuzzy-set machines
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 66 / 75
Fuzzy kernel machines
Definition (Support fuzzy-set machines)
Kernels machines with kernel gram matrix constructed by kernels on fuzzy
sets.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 67 / 75
Fuzzy kernel machines
Definition (Support fuzzy-set machines)
Kernels machines with kernel gram matrix constructed by kernels on fuzzy
sets.
Support fuzzy-set machines learn f = i αi k(X, ) using the SVM
algorithm
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 67 / 75
Fuzzy kernel machines
Definition (Support fuzzy-set machines)
Kernels machines with kernel gram matrix constructed by kernels on fuzzy
sets.
Support fuzzy-set machines learn f = i αi k(X, ) using the SVM
algorithm
Definition (Support fuzzy-sets)
Is the set given by all the fuzzy sets used in a kernel machine such the
correspondent αi > 0.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 67 / 75
Support fuzzy-set machines
Support fuzzy-set machine example using the fuzzy-kernel-machines
library (see notebook 4 and 5)
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 68 / 75
Support fuzzy-set machines
Practical example on supervised classification on noisy data:
Table: Summary of the PIMA dataset
Dataset %Noise
pima-5an-nn 5%
pima-10an-nn 10%
pima-15an-nn 15%
pima-20an-nn 20%
pima-5an-nc 5%
pima-10an-nc 10%
pima-15an-nc 15%
pima-20an-nc 20%
Pima, 768 observations, 35/65 class rate
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 69 / 75
Support fuzzy-set machines
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 70 / 75
Support fuzzy-set machines
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 71 / 75
Support fuzzy-set machines
Kernels used on the experiment
k1(x, y) k×(X, Y )
Fuzzy linear
x∈supp(X),
y∈supp(Y )
xyX(x)Y (y)
Fuzzy exp
x∈supp(X),
y∈supp(Y )
exp(γ x, y )X(x)Y (y)
Fuzzy Gaussian
x∈supp(X),
y∈supp(Y )
exp(−γ x − y
2
)X(x)Y (y)
Table
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 72 / 75
Support fuzzy-set machines
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 73 / 75
Conclusions and next steps
similarity measure between fuzzy sets given by kernels
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 74 / 75
Conclusions and next steps
similarity measure between fuzzy sets given by kernels
geometric interpretation of similarity between fuzzy set in RKHS
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 74 / 75
Conclusions and next steps
similarity measure between fuzzy sets given by kernels
geometric interpretation of similarity between fuzzy set in RKHS
embedding of fuzzy sets into RKHS
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 74 / 75
Conclusions and next steps
similarity measure between fuzzy sets given by kernels
geometric interpretation of similarity between fuzzy set in RKHS
embedding of fuzzy sets into RKHS
using fuzzy data "as is" in kernel methods
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 74 / 75
Conclusions and next steps
similarity measure between fuzzy sets given by kernels
geometric interpretation of similarity between fuzzy set in RKHS
embedding of fuzzy sets into RKHS
using fuzzy data "as is" in kernel methods
covariance matrix for fuzzy samples [?,?,?,?,?]
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 74 / 75
References
S. C. Jorge Guevara, Roberto Hirata Jr, “Kernels on fuzzy sets: an
overview,” NIPS 2017 Workshop book, 2017.
J. Guevara, R. Hirata, and S. Canu, “Cross product kernels for fuzzy
set similarity,” in 2017 IEEE International Conference on Fuzzy
Systems (FUZZ-IEEE), July 2017, pp. 1–6.
——, “Positive definite kernel functions on fuzzy sets,” in Fuzzy
Systems (FUZZ-IEEE), 2014 IEEE International Conference on, July
2014, pp. 439–446.
——, “Kernel functions in takagi-sugeno-kang fuzzy system with
nonsingleton fuzzy input,” in Fuzzy Systems (FUZZ), 2013 IEEE
International Conference on, 2013, pp. 1–8.
——, Fuzzy Set Similarity using a Distance-Based Kernel on Fuzzy
Sets, 2015.
Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 75 / 75

More Related Content

Recently uploaded

一比一原版麦考瑞大学毕业证成绩单如何办理
一比一原版麦考瑞大学毕业证成绩单如何办理一比一原版麦考瑞大学毕业证成绩单如何办理
一比一原版麦考瑞大学毕业证成绩单如何办理
cyebo
 
如何办理滑铁卢大学毕业证(Waterloo毕业证)成绩单本科学位证原版一比一
如何办理滑铁卢大学毕业证(Waterloo毕业证)成绩单本科学位证原版一比一如何办理滑铁卢大学毕业证(Waterloo毕业证)成绩单本科学位证原版一比一
如何办理滑铁卢大学毕业证(Waterloo毕业证)成绩单本科学位证原版一比一
0uyfyq0q4
 
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
acoha1
 
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxAudience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Stephen266013
 
一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理
一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理
一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理
pyhepag
 
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
acoha1
 
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotecAbortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
dq9vz1isj
 
edited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdfedited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdf
great91
 
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
fztigerwe
 

Recently uploaded (20)

一比一原版麦考瑞大学毕业证成绩单如何办理
一比一原版麦考瑞大学毕业证成绩单如何办理一比一原版麦考瑞大学毕业证成绩单如何办理
一比一原版麦考瑞大学毕业证成绩单如何办理
 
如何办理滑铁卢大学毕业证(Waterloo毕业证)成绩单本科学位证原版一比一
如何办理滑铁卢大学毕业证(Waterloo毕业证)成绩单本科学位证原版一比一如何办理滑铁卢大学毕业证(Waterloo毕业证)成绩单本科学位证原版一比一
如何办理滑铁卢大学毕业证(Waterloo毕业证)成绩单本科学位证原版一比一
 
How I opened a fake bank account and didn't go to prison
How I opened a fake bank account and didn't go to prisonHow I opened a fake bank account and didn't go to prison
How I opened a fake bank account and didn't go to prison
 
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
 
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
 
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxAudience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptx
 
一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理
一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理
一比一原版(Monash毕业证书)莫纳什大学毕业证成绩单如何办理
 
ℂall Girls Balbir Nagar ℂall Now Chhaya ☎ 9899900591 WhatsApp Number 24/7
ℂall Girls Balbir Nagar ℂall Now Chhaya ☎ 9899900591 WhatsApp  Number 24/7ℂall Girls Balbir Nagar ℂall Now Chhaya ☎ 9899900591 WhatsApp  Number 24/7
ℂall Girls Balbir Nagar ℂall Now Chhaya ☎ 9899900591 WhatsApp Number 24/7
 
What is Insertion Sort. Its basic information
What is Insertion Sort. Its basic informationWhat is Insertion Sort. Its basic information
What is Insertion Sort. Its basic information
 
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
 
Atlantic Grupa Case Study (Mintec Data AI)
Atlantic Grupa Case Study (Mintec Data AI)Atlantic Grupa Case Study (Mintec Data AI)
Atlantic Grupa Case Study (Mintec Data AI)
 
Genuine love spell caster )! ,+27834335081) Ex lover back permanently in At...
Genuine love spell caster )! ,+27834335081)   Ex lover back permanently in At...Genuine love spell caster )! ,+27834335081)   Ex lover back permanently in At...
Genuine love spell caster )! ,+27834335081) Ex lover back permanently in At...
 
NOAM AAUG Adobe Summit 2024: Summit Slam Dunks
NOAM AAUG Adobe Summit 2024: Summit Slam DunksNOAM AAUG Adobe Summit 2024: Summit Slam Dunks
NOAM AAUG Adobe Summit 2024: Summit Slam Dunks
 
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotecAbortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
 
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
 
The Significance of Transliteration Enhancing
The Significance of Transliteration EnhancingThe Significance of Transliteration Enhancing
The Significance of Transliteration Enhancing
 
123.docx. .
123.docx.                                 .123.docx.                                 .
123.docx. .
 
Artificial_General_Intelligence__storm_gen_article.pdf
Artificial_General_Intelligence__storm_gen_article.pdfArtificial_General_Intelligence__storm_gen_article.pdf
Artificial_General_Intelligence__storm_gen_article.pdf
 
edited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdfedited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdf
 
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
 

Featured

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Saba Software
 

Featured (20)

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 

Support fuzzy set machines tutorial

  • 1. Support Fuzzy-Set Machines From Kernels on Fuzzy Sets to Machine Learning Applications Tutorial IEEE-FUZZ 2019 Jorge Guevara Díaz1 Roberto Hirata Jr.2 Stéphane Canu3 1IBM Research 2Institute of Mathematics and Statistics University of Sao Paulo-Brazil 3Institut National de Sciences Appliquees University of Normandy-France June, 2019
  • 2. Outline 1 Introduction 2 Kernel Machines 3 Kernels on Fuzzy sets 4 Support fuzzy-set machines Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 2 / 75
  • 3. Outline 1 Introduction 2 Kernel Machines 3 Kernels on Fuzzy sets 4 Support fuzzy-set machines Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 3 / 75
  • 4. Overall picture how to use the kernel trick for constructing a fuzzy kernel machines Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 4 / 75
  • 5. Overall picture In this tutorial we are going to construct a support fuzzy-set machine Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 5 / 75
  • 6. Overall picture This novel approach differs from other fuzzy support machines, because we are not modifying the machine learning algorithm but using kernels on fuzzy sets. All the following approaches modify the SVM algorithm in some sense, but not the kernel: Lin, Chun-Fu, and Sheng-De Wang. "Fuzzy support vector machines." IEEE transactions on neural networks 13.2 (2002): 464-471. Inoue, Takuya, and Shigeo Abe. "Fuzzy support vector machines for pattern classification." IJCNN’01. International Joint Conference on Neural Networks. Proceedings (Cat. No. 01CH37222). Vol. 2. IEEE, 2001. Wang, Yongqiao, Shouyang Wang, and Kin Keung Lai. "A new fuzzy support vector machine to evaluate credit risk." IEEE Transactions on Fuzzy Systems 13.6 (2005): 820-831. Abe, Shigeo, and Takuya Inoue. "Fuzzy support vector machines for multiclass problems." ESANN. 2002. etc. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 6 / 75
  • 7. Overall picture Our approach differs from other "fuzzy support machines", because we do not modify the machine learning algorithm, instead we construct kernels on fuzzy sets. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 7 / 75
  • 8. Overall picture Our approach differs from other "fuzzy support machines", because we do not modify the machine learning algorithm, instead we construct kernels on fuzzy sets. The kernel trick given by kernels on fuzzy sets can be used for any kernel method (support vector regression, kernel PCA, Gaussian process, etc) Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 7 / 75
  • 9. Overall picture Our approach differs from other "fuzzy support machines", because we do not modify the machine learning algorithm, instead we construct kernels on fuzzy sets. The kernel trick given by kernels on fuzzy sets can be used for any kernel method (support vector regression, kernel PCA, Gaussian process, etc) for instance, a support fuzzy-set machine is a SVM with kernel on fuzzy sets. We call it "support fuzzy-set machine" because the solution (decision function) will depend only by a subset of the training examples (fuzzy sets). Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 7 / 75
  • 10. Overall picture Kernel on fuzzy set library (collaboration with Lucas Yau from University of Sao Paulo) Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 8 / 75
  • 11. Introduction Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 9 / 75
  • 12. Introduction Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 10 / 75
  • 13. Introduction Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 11 / 75
  • 14. Introduction Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 12 / 75
  • 15. Outline 1 Introduction 2 Kernel Machines 3 Kernels on Fuzzy sets 4 Support fuzzy-set machines Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 13 / 75
  • 16. Kernel methods Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 14 / 75
  • 17. Kernel methods Support Vector Machines min α∈RN 1 2 α Kα − 1 α subject to α y = 0. 0 ≤ αi ≤ λ, i = 1, . . . , N. Cortes, Corinna, and Vladimir Vapnik. "Support-vector networks." Machine learning 20.3 (1995): 273-297 Figure from Shawe-Taylor, John, and Nello Cristianini. Kernel methods for pattern analysis. Cambridge university press, 2004. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 14 / 75
  • 18. Kernel methods Kernel PCA Solve Mλα = Kα subject to α Kα = 1. where the eigen functions are given by V (.) = i αi k(xi , .) Schölkopf, Bernhard, Alexander Smola, and Klaus-Robert Müller. "Nonlinear component analysis as a kernel eigenvalue problem." Neural computation 10.5 (1998): 1299-1319. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 15 / 75
  • 19. Kernel methods Gaussian process regression f ∼ GP E[f (X)], k(x, x) = GP m(x), k(x, x) Predictive distribution yi | x∗, x, y ∼ N k(x∗, x)k(x, x)−1 y, k(x∗, x∗) − k(x∗, x)k(x, x)−1 k(x, x∗) thus, y = ˆf (x∗) ≡ k(x∗, x)k(x, x)−1 y = i αi k(xi , x∗), , where α = K−1 y Rasmussen, Carl Edward. "Gaussian processes in machine learning." Advanced lectures on machine learning. Springer, Berlin, Heidelberg, 2004. 63-71. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 16 / 75
  • 20. Kernel methods Support Vector Data Description min α∈RN α Kα − α diag(K) subject to α 1 = 0. 0 ≤ αi ≤ λ, i = 1, . . . , N, Tax, David MJ, and Robert PW Duin. "Support vector data description." Machine learning 54.1 (2004): 45-66. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 17 / 75
  • 21. Kernel methods Radial basis function neural network f (x) = L l=1 wl exp(−γ x − µk 2 ) Broomhead, David S., and David Lowe. Radial basis functions, multi-variable functional interpolation and adaptive networks. No. RSRE-MEMO-4148. Royal Signals and Radar Establishment Malvern (United Kingdom), 1988. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 18 / 75
  • 22. Kernel methods SVM kernel PCA Gaussian process SVDD MKL SMDD Kernel regression Kernel two-sample test kernel spectral clustering Representer Theorem f ∗ = argmin f ∈H Cost (x1, y1, f (x1)), . . . , (xN , yN , f (xN ))) + Ω( f ) (1) f ∗ (.) = N i=1 αi k(., xi ) (2) Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 19 / 75
  • 23. Kernel methods A kernel matrix is a similarity matrix Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 20 / 75
  • 24. RKHS, where the magic happens Figure: Kernel mappinga Figure from Shawe-Taylor et al. "Kernel Methods for Pattern Analysis". Cambridge University Press. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 21 / 75
  • 25. RKHS, where the magic happens Main ingredient A real-valued symmetric positive definite kernel k. N i=1,j=1 ci cj k(xi , xj ) ≥ 0 Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 22 / 75
  • 26. Reproducing Kernel Hilbert Spaces Definition (Reproducing kernel) A function k : X × X → R (x, y) → k(x, t) (3) is called a reproducing kernel of the Hilbert space H if and only if: 1 ∀x ∈ X, k(., x) ∈ H 2 ∀x ∈ X, ∀f ∈ H f , k(., x) H = f (x) Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 23 / 75
  • 27. Reproducing Kernel Hilbert Spaces Definition (Reproducing kernel) A function k : X × X → R (x, y) → k(x, t) (3) is called a reproducing kernel of the Hilbert space H if and only if: 1 ∀x ∈ X, k(., x) ∈ H 2 ∀x ∈ X, ∀f ∈ H f , k(., x) H = f (x) Reproducing property ∀(x, y) ∈ X × X, k(x, y) = k(., x), k(., y) H (4) Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 23 / 75
  • 28. Reproducing Kernel Hilbert Spaces Definition (Real RKHS) A Hilbert Space of real valued functions on X, denoted by H, with reproducing kernel is called a real Reproducing Kernel Hilbert Space or real RKHS. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 24 / 75
  • 29. Reproducing Kernel Hilbert Spaces Definition (Real RKHS) A Hilbert Space of real valued functions on X, denoted by H, with reproducing kernel is called a real Reproducing Kernel Hilbert Space or real RKHS. Characterization All the evaluation functionals are continuous on H. : ex : H → R (5) f → ex (f ) = f (x) (6) Berlinet, Alain, and Christine Thomas-Agnan. Reproducing kernel Hilbert spaces in probability and statistics. Springer Science Business Media, 2011. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 24 / 75
  • 30. Positive Definite Kernel Lemma Any reproducing kernel k : X × X → R is a symmetric positive definite function, that is, it satisfies: N i=1 N j=1 ci cj k(xi , xj ) ≥ 0 (7) ∀N ∈ N, ∀ci , cj ∈ R and k(x, y) = k(y, x), ∀x, y ∈ X. The converse is true. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 25 / 75
  • 31. Positive Definite Kernel Lemma Any reproducing kernel k : X × X → R is a symmetric positive definite function, that is, it satisfies: N i=1 N j=1 ci cj k(xi , xj ) ≥ 0 (7) ∀N ∈ N, ∀ci , cj ∈ R and k(x, y) = k(y, x), ∀x, y ∈ X. The converse is true. Consequently Kernels k are reproducing kernels of some RKHS. The space spanned by k(x, .) generates a RKHS or a Hilbert space with reproducing kernel k. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 25 / 75
  • 32. Positive Definite Kernel If k is a reproducing kernel, then N i=1 N j=1 ci cj k(xi , xj ) = N i=1 N j=1 ci cj k(., xi ), k(., xj ) H = N i=1 ci k(., xi ), N j=1 cj k(., xj ) H = N i=1 ci k(., xi ) 2 H ≥ 0 Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 26 / 75
  • 33. Positive Definite Kernel If k is a reproducing kernel, then N i=1 N j=1 ci cj k(xi , xj ) = N i=1 N j=1 ci cj k(., xi ), k(., xj ) H = N i=1 ci k(., xi ), N j=1 cj k(., xj ) H = N i=1 ci k(., xi ) 2 H ≥ 0 That is Elements of the RKHS are real-valued functions on X of the form f (.) = N i=1 ci k(., xi ). Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 26 / 75
  • 34. Polynomial kernel k(x, x ) = (a + bx x )γ Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 27 / 75
  • 35. Examples of reproducing kernels or positive definite kernels k(x, x ) = (1 + x x )2 = (1 + x1x1 + x2x2)2 = (1 + x2 1 x 2 1 + x2 2 x 2 2 + 2x1x1 + 2x2x2 + 2x1x1x2x2) = (1, x2 1 , x2 2 , √ 2x1, √ 2x2 , √ 2x1x2), (1, x 2 1 , x 2 2 , √ 2x1, √ 2x2, √ 2x1x2) Polynomial kernel k(x, x ) = (a + bx x )γ Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 27 / 75
  • 36. Positive Definite Kernel Examples of reproducing kernels or positive definite kernels k(x, x ) = exp − (x − x )2 = exp(−x2 ) exp(−x 2 ) ∞ i=0 2i xi x i i! infinite dimensional Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 28 / 75
  • 37. Positive Definite Kernel Examples of reproducing kernels or positive definite kernels k(x, x ) = exp − (x − x )2 = exp(−x2 ) exp(−x 2 ) ∞ i=0 2i xi x i i! infinite dimensional RBF kernel k(x, x ) = exp(−0.5 ∗ γ x − x 2 ) Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 28 / 75
  • 38. Positive Definite Kernel Examples of reproducing kernels or positive definite kernels The real-valued kernel on P × P, defined by ˜k(P, Q) = EP[k(X, .)], EQ[k(X , .)] H = x∈RD x ∈RD k(x, x )dP(x)dQ(x ) (8) is positive definite. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 29 / 75
  • 39. Positive Definite Kernel Examples of reproducing kernels or positive definite kernels Mean maps with stationary kernels do not have constant norm µP H = EP[kI (X., )] H ≤ EP[ kI (X., ) H] = | | normalize mean maps to lie on a surface of some hypersphere ˜˜k(Pi , Pj ) = µP, µQ H µP, µP H µQ, µQ H , (9) the injectivity of µ : P → H is preserved. Muandet et al "One-class support measure machines for group anomaly detection." Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 30 / 75
  • 40. Positive Definite Kernel Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 31 / 75
  • 41. Positive Definite Kernel The Matern kernel, widely used in kriging procedures by geostatisticians Figure from: https://www.ethz.ch/content/specialinterest/baug/institute-ibk/risk-safety-and- uncertainty/en/research/past-projects/polynomial-chaos-kriging.html Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 31 / 75
  • 42. Positive Definite Kernel Examples of reproducing kernels or positive definite kernels Linear kernel k(x, y) = x, y x, y ∈ RD Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 32 / 75
  • 43. Positive Definite Kernel Examples of reproducing kernels or positive definite kernels Linear kernel k(x, y) = x, y x, y ∈ RD Polynomial kernel k(x, y) = ( x, y + 1)D x, y ∈ RD Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 32 / 75
  • 44. Positive Definite Kernel Examples of reproducing kernels or positive definite kernels Linear kernel k(x, y) = x, y x, y ∈ RD Polynomial kernel k(x, y) = ( x, y + 1)D x, y ∈ RD Gaussian kernel k(x, y) = exp(− x − y 2/σ2) x, y ∈ RD Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 32 / 75
  • 45. Positive Definite Kernel Examples of reproducing kernels or positive definite kernels Linear kernel k(x, y) = x, y x, y ∈ RD Polynomial kernel k(x, y) = ( x, y + 1)D x, y ∈ RD Gaussian kernel k(x, y) = exp(− x − y 2/σ2) x, y ∈ RD Probability product kernel ˜k(P, Q) = X P(x)ρQ(x)ρdx Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 32 / 75
  • 46. Positive Definite Kernel Examples of reproducing kernels or positive definite kernels Linear kernel k(x, y) = x, y x, y ∈ RD Polynomial kernel k(x, y) = ( x, y + 1)D x, y ∈ RD Gaussian kernel k(x, y) = exp(− x − y 2/σ2) x, y ∈ RD Probability product kernel ˜k(P, Q) = X P(x)ρQ(x)ρdx Kernel on probability measures for X ∼ P, X ∼ Q, ˜k(P, Q) = EP[k(X., )], EQ[k(X ., )] H Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 32 / 75
  • 47. Positive Definite Kernel Making new kernels from old If k1 and k2 are PD kernels, by closure properties of PD kernels, also are PD kernels: 1 k1(x, y) + k2(x, y); 2 αk1(x, y), α ∈ R+; 3 k1(x, y)k2(x, y); 4 k(f (x), f (y)) 5 exp(k1(x, y)); 6 p(k1(x, y)), p is a polynomial with positive coefficients. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 33 / 75
  • 48. Kernels Positive definite kernels are coovariance functions, i.e., k(x, x ) = E f (x)f (x ) , Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 34 / 75
  • 49. Kernels Positive definite kernels are coovariance functions, i.e., k(x, x ) = E f (x)f (x ) , similarity measures, Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 34 / 75
  • 50. Kernels Positive definite kernels are coovariance functions, i.e., k(x, x ) = E f (x)f (x ) , similarity measures, related to metrics by: k(x, x) − 2k(x, x ) + k(x , x ) Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 34 / 75
  • 51. Kernels Positive definite kernels are coovariance functions, i.e., k(x, x ) = E f (x)f (x ) , similarity measures, related to metrics by: k(x, x) − 2k(x, x ) + k(x , x ) the main ingredient to define RKHS Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 34 / 75
  • 52. Kernels Positive definite kernels are coovariance functions, i.e., k(x, x ) = E f (x)f (x ) , similarity measures, related to metrics by: k(x, x) − 2k(x, x ) + k(x , x ) the main ingredient to define RKHS very useful in practice in machine learning, i.e., they define gram matrices Ki,j = k(xi , xj ) used in ML algorithms Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 34 / 75
  • 53. Kernels Positive definite kernels are coovariance functions, i.e., k(x, x ) = E f (x)f (x ) , similarity measures, related to metrics by: k(x, x) − 2k(x, x ) + k(x , x ) the main ingredient to define RKHS very useful in practice in machine learning, i.e., they define gram matrices Ki,j = k(xi , xj ) used in ML algorithms defined on non empty sets: That enables its use on non-vectorial spaces. (sets, graphs, strings, etc) Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 34 / 75
  • 54. Outline 1 Introduction 2 Kernel Machines 3 Kernels on Fuzzy sets 4 Support fuzzy-set machines Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 35 / 75
  • 55. Kernels on Fuzzy sets Material https://github.com/fuzzy-kernel-machines/fuzzy-kernel-machines Guevara, Jorge, et.al. "Learning with Kernels on Fuzzy Sets" (Arxiv) In-preparation Guevara, Jorge, et.al. "Kernels on Fuzzy Sets: an Overview", Learning on Distributions, Functions, Graphs and Groups @ NIPS-2017 Guevara, Jorge, et.al. "Cross product kernels for fuzzy set similarity." Fuzzy Systems (FUZZ-IEEE), 2017. Guevara, Jorge, et.al. "Fuzzy Set Similarity using a Distance-Based Kernel on Fuzzy Sets", 2016, Book Chapter, Handbook of Fuzzy Sets Comparison - Theory, Algorithms and Applications,pages 103-120. Guevara, Jorge, et.al. "Positive Definite Kernel Functions on Fuzzy Sets." Fuzzy Systems (FUZZ-IEEE), 2014. Guevara, Jorge, et.al."Kernel Functions in Takagi-Sugeno-Kang Fuzzy System with Nonsingleton Fuzzy Input." Fuzzy Systems (FUZZ-IEEE), 2013. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 36 / 75
  • 56. Kernels on Fuzzy sets Motivation study, analysis and understanding of the nature of a research object. testing (causal) hypotheses discovering hidden patterns and correlations postulate theories, give explanations make predictions on unobserved cases Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 37 / 75
  • 57. Kernels on Fuzzy sets Set-valued information Ontic (conjuctive sets) set of pixels denoting a region within a image cluster of galaxies Epistemic (disjuntive sets) a set containing the unknown age of a person an interval containing a non-precise measurement Couso, Inés, and Didier Dubois. "Statistical reasoning with set-valued information: Ontic vs. epistemic views." International Journal of Approximate Reasoning 55.7 (2014): 1502-1518. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 38 / 75
  • 58. Kernels on Fuzzy sets Fuzzy Sets We can have both views ontic and epistemic Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 39 / 75
  • 59. Kernels on Fuzzy sets Fuzzy data Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 40 / 75
  • 60. Kernels on Fuzzy sets Fuzzy data Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 41 / 75
  • 61. Kernels on Fuzzy sets Fuzzy data Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 42 / 75
  • 62. Kernels on Fuzzy sets Motivation similarity measure between fuzzy sets given by kernels Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 43 / 75
  • 63. Kernels on Fuzzy sets Motivation similarity measure between fuzzy sets given by kernels geometric interpretation of similarity between fuzzy set in RKHS Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 43 / 75
  • 64. Kernels on Fuzzy sets Motivation similarity measure between fuzzy sets given by kernels geometric interpretation of similarity between fuzzy set in RKHS embedding of fuzzy sets into RKHS Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 43 / 75
  • 65. Kernels on Fuzzy sets Motivation similarity measure between fuzzy sets given by kernels geometric interpretation of similarity between fuzzy set in RKHS embedding of fuzzy sets into RKHS using fuzzy data "as is" in kernel methods Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 43 / 75
  • 66. Kernels on Fuzzy sets Motivation similarity measure between fuzzy sets given by kernels geometric interpretation of similarity between fuzzy set in RKHS embedding of fuzzy sets into RKHS using fuzzy data "as is" in kernel methods covariance matrix for fuzzy samples Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 43 / 75
  • 67. Fuzzy Set Fuzzy sets on Ω are denoted by X, Y , Z. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 44 / 75
  • 68. Fuzzy Set Fuzzy sets on Ω are denoted by X, Y , Z. The membership function Ω :→ [0, 1] of a fuzzy set is denoted by X(.). Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 44 / 75
  • 69. Fuzzy Set Fuzzy sets on Ω are denoted by X, Y , Z. The membership function Ω :→ [0, 1] of a fuzzy set is denoted by X(.). F(Ω) is the set of all the fuzzy sets on Ω. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 44 / 75
  • 70. Fuzzy Set Fuzzy sets on Ω are denoted by X, Y , Z. The membership function Ω :→ [0, 1] of a fuzzy set is denoted by X(.). F(Ω) is the set of all the fuzzy sets on Ω. Definition (Support of a fuzzy set) The support of a fuzzy set is the set supp(X) = {x ∈ Ω|X(x) > 0}. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 44 / 75
  • 71. Cross product kernel on fuzzy sets Definition (Cross product kernel on fuzzy sets) The cross product kernel on fuzzy sets is a function k× : F(Ω) × F(Ω) → R given by: k×(X, Y ) = x∈supp(X), y∈supp(Y ) k1 ⊗ k2 (x, X(x)), (y, Y (y)) , (10) where: k1 : Ω × Ω → R, k2 : [0, 1] × [0, 1] → R, k1 ⊗ k2 x, X(x), y, Y (y) = k1(x, y) k2(X(x), Y (y)). (11) Guevara, Jorge, et.al. "Cross product kernels for fuzzy set similarity." Fuzzy Systems (FUZZ-IEEE), 2017. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 45 / 75
  • 72. Cross product kernel on fuzzy sets Lemma If k1 and k2 are real-valued pd kernels, then the cross product kernel on fuzzy sets is pd. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 46 / 75
  • 73. Cross product kernel on fuzzy sets Lemma If k1 and k2 are real-valued pd kernels, then the cross product kernel on fuzzy sets is pd. Corollary Kernel k× defines a similarity measure for two fuzzy sets X, Y ∈ F(Ω) as follows: k×(X, Y ) = φX , φY H, (12) Guevara, Jorge, et.al. "Cross product kernels for fuzzy set similarity." Fuzzy Systems (FUZZ-IEEE), 2017. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 46 / 75
  • 74. Cross product kernel on fuzzy sets k1(x, y) k×(X, Y ) linear x∈supp(X), y∈supp(Y ) xyX(x)Y (y) polynomial x∈supp(X), y∈supp(Y ) (γ x, y + b)β X(x)Y (y) exponential x∈supp(X), y∈supp(Y ) exp(γ x, y )X(x)Y (y) Gaussian x∈supp(X), y∈supp(Y ) exp(−γ x − y 2 )X(x)Y (y) Table: Examples of cross product kernels on fuzzy sets. Guevara, Jorge, et.al. "Cross product kernels for fuzzy set similarity." Fuzzy Systems (FUZZ-IEEE), 2017. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 47 / 75
  • 75. Cross product kernel on fuzzy sets Example Let (Ω, A, µ) be a finite measure space. Let k1, k2 be continuous functions with finite integral. The kernel k×(X, Y ) = x∈supp(X), y∈supp(Y ) k1 ⊗ k2 (x, X(x)), (y, Y (y)) dµ(x)dµ(y), (13) is a cross product kernel on fuzzy sets. Example Replacing the measure µ of the previous example with a probability measure P results in the following cross product kernel on fuzzy sets: k×(X, Y ) = x∈supp(X), y∈supp(Y ) k1 ⊗ k2 (x, X(x)), (y, Y (y)) dP(x)dP(y), (14) Guevara, Jorge, et.al. "Cross product kernels for fuzzy set similarity." Fuzzy Systems (FUZZ-IEEE), 2017. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 48 / 75
  • 76. Cross product kernel on fuzzy sets A generalization of k× to deal with a D-tuple of fuzzy sets, i.e., (X1, . . . , XD ) ∈ F(Ω1) × · · · × F(ΩD ) is implemented by the following kernel: k π × (X1, . . . , XD ), (Y1, . . . , YD ) = D d=1 k d ×(Xd , Yd ). (15) If all the kernels kd × are positive definite then kπ × is positive definite by closure properties of kernels. Another generalization based on addition of positive definite kernels is also possible: k Σ × (X1, . . . , XD ), (Y1, . . . , YD ) = D d=1 αi k d ×(Xd , Yd ). (16) Kernel kΣ × is positive definite if only if αi ∈ R+ and all the kD × kernels are positive definite. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 49 / 75
  • 77. Cross product kernel on fuzzy sets Properties k× is a convolution kernel, i.e., it can be derived from kconv (e, e ) = e∈R−1(e),e ∈R−1(e ) L l=1 kl (el , el ), Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 50 / 75
  • 78. Cross product kernel on fuzzy sets Properties k× is a convolution kernel, i.e., it can be derived from kconv (e, e ) = e∈R−1(e),e ∈R−1(e ) L l=1 kl (el , el ), k× generalize the cross product kernel on sets, i.e., k(A, A ) Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 50 / 75
  • 79. Cross product kernel on fuzzy sets Properties k× is a convolution kernel, i.e., it can be derived from kconv (e, e ) = e∈R−1(e),e ∈R−1(e ) L l=1 kl (el , el ), k× generalize the cross product kernel on sets, i.e., k(A, A ) k× embeds probability distributions into a RKHS. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 50 / 75
  • 80. Cross product kernel on fuzzy sets Properties k× is a convolution kernel, i.e., it can be derived from kconv (e, e ) = e∈R−1(e),e ∈R−1(e ) L l=1 kl (el , el ), k× generalize the cross product kernel on sets, i.e., k(A, A ) k× embeds probability distributions into a RKHS. fuzzines and radomness modeling (see example when µ = P) Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 50 / 75
  • 81. Cross product kernel on fuzzy sets Properties k× is a convolution kernel, i.e., it can be derived from kconv (e, e ) = e∈R−1(e),e ∈R−1(e ) L l=1 kl (el , el ), k× generalize the cross product kernel on sets, i.e., k(A, A ) k× embeds probability distributions into a RKHS. fuzzines and radomness modeling (see example when µ = P) noise resistant under supervised classification experiments on attribute noisy datasets (see Paper below) Guevara, Jorge, et.al. "Cross product kernels for fuzzy set similarity." Fuzzy Systems (FUZZ-IEEE), 2017. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 50 / 75
  • 82. Cross product kernel on fuzzy sets Example of this kernel using the fuzzy-kernel-machines library (see notebook 2) Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 51 / 75
  • 83. Cross product kernel on fuzzy sets Kernel gram matrix example using the fuzzy-kernel-machines library (see notebook 3) Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 52 / 75
  • 84. The intersection kernel on fuzzy sets A triangular norm or T-norm is the function T : [0, 1]2 → [0, 1], such that, for all x, y, z ∈ [0, 1] satisfies: T1 commutativity: T(x, y) = T(y, x); T2 associativity: T(x, T(y, z)) = T(T(x, y), z); T3 monotonicity: y ≤ z ⇒ T(x, y) ≤ T(x, z); T4 boundary condition T(x, 1) = x. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 53 / 75
  • 85. The intersection kernel on fuzzy sets A triangular norm or T-norm is the function T : [0, 1]2 → [0, 1], such that, for all x, y, z ∈ [0, 1] satisfies: T1 commutativity: T(x, y) = T(y, x); T2 associativity: T(x, T(y, z)) = T(T(x, y), z); T3 monotonicity: y ≤ z ⇒ T(x, y) ≤ T(x, z); T4 boundary condition T(x, 1) = x. a multiple-valued extension Using n ∈ N, n ≥ 2 and associativity, a multiple-valued extension Tn : [0, 1]n → [0, 1] of a T-norm T is given by T2 = T and Tn(x1, x2, . . . , xn) = T(x1, Tn−1(x2, x3, . . . , xn)). (17) We will use T to denote T or Tn. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 53 / 75
  • 86. The intersection kernel on fuzzy sets A semi-ring of sets, S on Ω, is a subset of the power set P(Ω), that is, a set of sets satisfying: 1 φ ∈ S, φ denotes the empty set; 2 A, B ∈ S, =⇒ A ∩ B ∈ S; 3 for all A, A1 ∈ S and A1 ⊆ A, there exists a sequence of pairwise disjoint sets A2, A3, . . . AN ⊆ S, such A = N i=1 Ai . Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 54 / 75
  • 87. The intersection kernel on fuzzy sets A semi-ring of sets, S on Ω, is a subset of the power set P(Ω), that is, a set of sets satisfying: 1 φ ∈ S, φ denotes the empty set; 2 A, B ∈ S, =⇒ A ∩ B ∈ S; 3 for all A, A1 ∈ S and A1 ⊆ A, there exists a sequence of pairwise disjoint sets A2, A3, . . . AN ⊆ S, such A = N i=1 Ai . Finite decomposition Condition 3 is called finite decomposition of A. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 54 / 75
  • 88. The intersection kernel on fuzzy sets Definition (Measure) Let S be a semi-ring and let ρ : S → [0, ∞] be a pre-measure, i.e., ρ satisfy: 1 ρ(φ) = 0; 2 for a finite decomposition of A ∈ S, ρ(A) = N i=1 ρ(Ai ); by Carathéodory’s extension theorem, ρ is a measure on σ(S), where σ(S) is the smallest σ-algebra containing S. Gartner et.al., shows that a kernel k : S × S → R defined by k(A, A ) = ρ(A ∩ A ) is positive definite, where ρ : S → [0, ∞] is a measure. Gartner, Thomas. Kernels for structured data. Vol. 72. World Scientific, 2008. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 55 / 75
  • 89. The intersection kernel on fuzzy sets Remark Notation FS(Ω) stands for the set of all fuzzy sets over Ω whose support belongs to S, i.e., FS(Ω) = {X ⊂ Ω| supp(X) ∈ S}. where S is a semi-ring of sets on Ω Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 56 / 75
  • 90. The intersection kernel on fuzzy sets Remark Notation FS(Ω) stands for the set of all fuzzy sets over Ω whose support belongs to S, i.e., FS(Ω) = {X ⊂ Ω| supp(X) ∈ S}. where S is a semi-ring of sets on Ω Example If X ∩ Y ∈ FS(Ω) then satisfy (finite decomposition): supp(X ∩ Y ) = i∈I Ai , Ai ∈ S, where {A1, A2, . . . , AN}. are pairwise disjoint sets Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 56 / 75
  • 91. Intersection Kernel on Fuzzy Sets Example cont. We can measure supp(X ∩ Y ) = i∈I Ai , Ai ∈ S using the measure ρ : S → [0, ∞] as follows: ρ supp(X ∩ Y ) = ρ( i∈I Ai ) = i∈I ρ(Ai ), Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 57 / 75
  • 92. Intersection Kernel on Fuzzy Sets Example cont. We can measure supp(X ∩ Y ) = i∈I Ai , Ai ∈ S using the measure ρ : S → [0, ∞] as follows: ρ supp(X ∩ Y ) = ρ( i∈I Ai ) = i∈I ρ(Ai ), Adding fuzziness The idea to include fuzziness is to weight each ρ(Ai ) by a value given by the contribution of the membership function on all the elements of the set Ai . Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 57 / 75
  • 93. Intersection Kernel on Fuzzy Sets Definition The intersection kernel on fuzzy sets is a function: k∩ : FS(Ω) × FS(Ω) → R, defined by: k∩(X, Y ) = i∈I X ∩ Y (Ai )ρ(Ai ), (18) where X ∩ Y (A) ≡ x∈A X ∩ Y (x) Guevara, Jorge, et.al. "Positive Definite Kernel Functions on Fuzzy Sets." Fuzzy Systems (FUZZ-IEEE), 2014. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 58 / 75
  • 94. Intersection Kernel on Fuzzy Sets Kernel k∩ can be implemented via T-norm operators: k∩(X,Y) = i∈I X ∩ Y (Ai )ρ(Ai ) = i∈I x∈Ai X ∩ Y (x)ρ(Ai ) = i∈I x∈Ai T(X(x), Y (x))ρ(Ai ) Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 59 / 75
  • 95. Intersection Kernel on Fuzzy Sets Some kernel examples for different T-norm operators Examples Kernel k∩ T-norm k∩_ min(X, Y ) = i∈I x∈Ai min(X(x), Y (x))ρ(A) minimum k∩_pro(X, Y ) = i∈I x∈Ai X(x)Y (x)ρ(A) product k∩_Łuk(X, Y ) = i∈I x∈Ai max(X(x) + Y (x) − 1, 0)ρ(A) Łukasiewicz k∩_Dra(X, Y ) = i∈I x∈Ai f (X(x), Y (x))ρ(A) Drastic where f is defined as f (X(x), Y (x)) =    X(x), if Y (x) = 1 Y (x), if X(x) = 1 0, otherwise Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 60 / 75
  • 96. Intersection Kernel on Fuzzy Sets Lemma kmin(X, Y ) = i∈I x∈Ai min(µX (x), µY (x))ρ(Ai ) is positive definite Lemma kP(X, Y )= i∈I x∈Ai µX (x)µY (x)ρ(Ai ) is positive definite. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 61 / 75
  • 97. Intersection Kernel on Fuzzy Sets Lemma kmin(X, Y ) = i∈I x∈Ai min(µX (x), µY (x))ρ(Ai ) is positive definite Lemma kP(X, Y )= i∈I x∈Ai µX (x)µY (x)ρ(Ai ) is positive definite. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 61 / 75
  • 98. The non-singleton kernel on fuzzy sets Definition This kernel is a function knsk : F(Ω) × F(Ω) → [0, 1] defined by: knsk(X, Y ) = sup x∈Ω X ∩ Y (x) = sup x∈Ω T X(x), Y (x) , where sup is the supremum. Derived from non-singleton fuzzy systems. Guevara, Jorge, et.al. "Kernel Functions in Takagi-Sugeno-Kang Fuzzy System with Nonsingleton Fuzzy Input." Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 62 / 75
  • 99. The non-singleton kernel on fuzzy sets Examples Given X = (X1, . . . , Xd , . . . , XD) and Y = (Y1, . . . , Xd , . . . , YD), such that: Xd (.) = exp −1 2 (.−md )2 σ2 d , where, md ∈ R amd σd ∈ R+, then, the following kernel knsk(X, Y ) = D d=1 exp − 1 2 (md − md )2 σ2 d + (σd )2 , (19) is a positive definite kernel. Guevara, Jorge, et.al. "Kernel Functions in Takagi-Sugeno-Kang Fuzzy System with Nonsingleton Fuzzy Input." Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 63 / 75
  • 100. The non-singleton kernel on fuzzy sets Examples Given X = (X1, . . . , Xd , . . . , XD) and Y = (Y1, . . . , Xd , . . . , YD), such that: Xd (.) = exp −1 2 (.−md )2 σ2 d , where, md ∈ R amd σd ∈ R+, then, the following kernel kγ nsk(X, Y ) = D d=1 exp − 1 2 (md − md )2 σ2 d + (σd )2 + γ , (20) is a positive definite kernel. Guevara, Jorge, et.al."Kernel Functions in Takagi-Sugeno-Kang Fuzzy System with Nonsingleton Fuzzy Input." Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 64 / 75
  • 101. Distance-based kernels on fuzzy sets Based on the concept of distance substitution kernels. Examples Kernel KD(X, X ) = exp(−λD(X, X )2),is PD when we use the following metric on fuzzy sets: D(X, X ) = x∈Ω |X(x) − X (x)| x∈Ω |X(x) + X (x)| . Guevara, Jorge, et.al. "Fuzzy Set Similarity using a Distance-Based Kernel on Fuzzy Sets", 2016, Book Chapter, Handbook of Fuzzy Sets Comparison - Theory, Algorithms and Applications,pages 103-120 Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 65 / 75
  • 102. Outline 1 Introduction 2 Kernel Machines 3 Kernels on Fuzzy sets 4 Support fuzzy-set machines Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 66 / 75
  • 103. Fuzzy kernel machines Definition (Support fuzzy-set machines) Kernels machines with kernel gram matrix constructed by kernels on fuzzy sets. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 67 / 75
  • 104. Fuzzy kernel machines Definition (Support fuzzy-set machines) Kernels machines with kernel gram matrix constructed by kernels on fuzzy sets. Support fuzzy-set machines learn f = i αi k(X, ) using the SVM algorithm Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 67 / 75
  • 105. Fuzzy kernel machines Definition (Support fuzzy-set machines) Kernels machines with kernel gram matrix constructed by kernels on fuzzy sets. Support fuzzy-set machines learn f = i αi k(X, ) using the SVM algorithm Definition (Support fuzzy-sets) Is the set given by all the fuzzy sets used in a kernel machine such the correspondent αi > 0. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 67 / 75
  • 106. Support fuzzy-set machines Support fuzzy-set machine example using the fuzzy-kernel-machines library (see notebook 4 and 5) Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 68 / 75
  • 107. Support fuzzy-set machines Practical example on supervised classification on noisy data: Table: Summary of the PIMA dataset Dataset %Noise pima-5an-nn 5% pima-10an-nn 10% pima-15an-nn 15% pima-20an-nn 20% pima-5an-nc 5% pima-10an-nc 10% pima-15an-nc 15% pima-20an-nc 20% Pima, 768 observations, 35/65 class rate Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 69 / 75
  • 108. Support fuzzy-set machines Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 70 / 75
  • 109. Support fuzzy-set machines Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 71 / 75
  • 110. Support fuzzy-set machines Kernels used on the experiment k1(x, y) k×(X, Y ) Fuzzy linear x∈supp(X), y∈supp(Y ) xyX(x)Y (y) Fuzzy exp x∈supp(X), y∈supp(Y ) exp(γ x, y )X(x)Y (y) Fuzzy Gaussian x∈supp(X), y∈supp(Y ) exp(−γ x − y 2 )X(x)Y (y) Table Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 72 / 75
  • 111. Support fuzzy-set machines Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 73 / 75
  • 112. Conclusions and next steps similarity measure between fuzzy sets given by kernels Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 74 / 75
  • 113. Conclusions and next steps similarity measure between fuzzy sets given by kernels geometric interpretation of similarity between fuzzy set in RKHS Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 74 / 75
  • 114. Conclusions and next steps similarity measure between fuzzy sets given by kernels geometric interpretation of similarity between fuzzy set in RKHS embedding of fuzzy sets into RKHS Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 74 / 75
  • 115. Conclusions and next steps similarity measure between fuzzy sets given by kernels geometric interpretation of similarity between fuzzy set in RKHS embedding of fuzzy sets into RKHS using fuzzy data "as is" in kernel methods Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 74 / 75
  • 116. Conclusions and next steps similarity measure between fuzzy sets given by kernels geometric interpretation of similarity between fuzzy set in RKHS embedding of fuzzy sets into RKHS using fuzzy data "as is" in kernel methods covariance matrix for fuzzy samples [?,?,?,?,?] Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 74 / 75
  • 117. References S. C. Jorge Guevara, Roberto Hirata Jr, “Kernels on fuzzy sets: an overview,” NIPS 2017 Workshop book, 2017. J. Guevara, R. Hirata, and S. Canu, “Cross product kernels for fuzzy set similarity,” in 2017 IEEE International Conference on Fuzzy Systems (FUZZ-IEEE), July 2017, pp. 1–6. ——, “Positive definite kernel functions on fuzzy sets,” in Fuzzy Systems (FUZZ-IEEE), 2014 IEEE International Conference on, July 2014, pp. 439–446. ——, “Kernel functions in takagi-sugeno-kang fuzzy system with nonsingleton fuzzy input,” in Fuzzy Systems (FUZZ), 2013 IEEE International Conference on, 2013, pp. 1–8. ——, Fuzzy Set Similarity using a Distance-Based Kernel on Fuzzy Sets, 2015. Guevara ,Hirata , Canu , Fuzz IEEE 2019 (Universities Here and There)Support Fuzzy-Set Machines June, 2019 75 / 75