Kernel function with a feature space equipped with an inner product that is not the dot productInner product space computationThe complex inner product spacedot product vs inner product?Implicit feature space of Power KernelWhy is $mathbbR^3$ not the Reproducing Kernel Hilbert Space defined by kernel $k(x,y)=(x_1y_1+x_2y_2)^2$Hilbert space with an additional semi-inner product structureComplexification of real inner product spaces and how the inner product extends to a complex spaceLinear regression with feature representation confusion - is design matrix column space the feature space?Semi-inner product structure in complex Hilbert spacesSimple (?) Quesiton on Inner Product in Reproducing Kernel Hilbert Space
Infinite past with a beginning?
Do airline pilots ever risk not hearing communication directed to them specifically, from traffic controllers?
How is it possible for user's password to be changed after storage was encrypted? (on OS X, Android)
A function which translates a sentence to title-case
How do I create uniquely male characters?
Pronouncing Dictionary.com's W.O.D "vade mecum" in English
A Journey Through Space and Time
What would the Romans have called "sorcery"?
What are these boxed doors outside store fronts in New York?
Why has Russell's definition of numbers using equivalence classes been finally abandoned? ( If it has actually been abandoned).
The use of multiple foreign keys on same column in SQL Server
Prevent a directory in /tmp from being deleted
Is there a familial term for apples and pears?
Why is this code 6.5x slower with optimizations enabled?
Are tax years 2016 & 2017 back taxes deductible for tax year 2018?
How is it possible to have an ability score that is less than 3?
I probably found a bug with the sudo apt install function
Draw simple lines in Inkscape
Can Medicine checks be used, with decent rolls, to completely mitigate the risk of death from ongoing damage?
TGV timetables / schedules?
Copycat chess is back
Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?
Why are 150k or 200k jobs considered good when there are 300k+ births a month?
Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)
Kernel function with a feature space equipped with an inner product that is not the dot product
Inner product space computationThe complex inner product spacedot product vs inner product?Implicit feature space of Power KernelWhy is $mathbbR^3$ not the Reproducing Kernel Hilbert Space defined by kernel $k(x,y)=(x_1y_1+x_2y_2)^2$Hilbert space with an additional semi-inner product structureComplexification of real inner product spaces and how the inner product extends to a complex spaceLinear regression with feature representation confusion - is design matrix column space the feature space?Semi-inner product structure in complex Hilbert spacesSimple (?) Quesiton on Inner Product in Reproducing Kernel Hilbert Space
$begingroup$
Premise:
A function $K: mathbb R^d times mathbb R^d to mathbb R$ is called
a kernel function on $mathbbR^d$ if there exists a Hilbert space
$mathcalH$ and a map $phi: mathbb R^d to mathcalH$ such that
for any $mathbf x, mathbf yin mathbbR^d$: beginequation
labeleq:kerdef K(mathbf x,mathbf y) = langle phi(mathbf x),
phi(mathbf y) rangle_mathcalH, endequation where $
langlecdot,cdotrangle$ is an inner product.
I have recently noticed that under this definition $ langlecdot,cdotrangle$ is not necessary the standard inner product (dot product).
I have thought of the following example.
Consider the degree-two polynomial kernel on $mathbb R^2$:
beginequation
K(mathbf x,mathbf y) = (mathbf xcdot mathbf y)^2.
endequation
Then, the following is a valid feature map for this kernel:
beginequation
phi(mathbf x) = (2mathbf x_1 mathbf x_1,~ 2mathbf x_1 mathbf x_2,~ 2mathbf x_2 mathbf x_1,~ 2mathbf x_2 mathbf x_2 ),
endequation
considering the feature space $mathcal H=mathbb R^4$, with the custom inner product:
beginequation
langlemathbf x, mathbf y rangle = fracmathbf xcdot mathbf y4.
endequation
Proof:
beginalign
langle phi(mathbf x), phi(mathbf y) rangle_mathcalH &= (2mathbf x_1 mathbf x_1,~ 2mathbf x_1 mathbf x_2,~ 2mathbf x_2 mathbf x_1,~ 2mathbf x_2 mathbf x_2 ) cdot (2mathbf y_1 mathbf y_1,~ 2mathbf y_1 mathbf y_2,~ 2mathbf y_2 mathbf y_1,~ 2mathbf y_2 mathbf y_2 )/4\
&= (mathbf x cdot mathbf y)^2 \&= K(mathbf x, mathbf y)
endalign
Question:
Can you provide a less trivial example of kernel function, feature map and feature space, with an inner product that is not the dot product?
hilbert-spaces inner-product-space machine-learning reproducing-kernel-hilbert-spaces
$endgroup$
add a comment |
$begingroup$
Premise:
A function $K: mathbb R^d times mathbb R^d to mathbb R$ is called
a kernel function on $mathbbR^d$ if there exists a Hilbert space
$mathcalH$ and a map $phi: mathbb R^d to mathcalH$ such that
for any $mathbf x, mathbf yin mathbbR^d$: beginequation
labeleq:kerdef K(mathbf x,mathbf y) = langle phi(mathbf x),
phi(mathbf y) rangle_mathcalH, endequation where $
langlecdot,cdotrangle$ is an inner product.
I have recently noticed that under this definition $ langlecdot,cdotrangle$ is not necessary the standard inner product (dot product).
I have thought of the following example.
Consider the degree-two polynomial kernel on $mathbb R^2$:
beginequation
K(mathbf x,mathbf y) = (mathbf xcdot mathbf y)^2.
endequation
Then, the following is a valid feature map for this kernel:
beginequation
phi(mathbf x) = (2mathbf x_1 mathbf x_1,~ 2mathbf x_1 mathbf x_2,~ 2mathbf x_2 mathbf x_1,~ 2mathbf x_2 mathbf x_2 ),
endequation
considering the feature space $mathcal H=mathbb R^4$, with the custom inner product:
beginequation
langlemathbf x, mathbf y rangle = fracmathbf xcdot mathbf y4.
endequation
Proof:
beginalign
langle phi(mathbf x), phi(mathbf y) rangle_mathcalH &= (2mathbf x_1 mathbf x_1,~ 2mathbf x_1 mathbf x_2,~ 2mathbf x_2 mathbf x_1,~ 2mathbf x_2 mathbf x_2 ) cdot (2mathbf y_1 mathbf y_1,~ 2mathbf y_1 mathbf y_2,~ 2mathbf y_2 mathbf y_1,~ 2mathbf y_2 mathbf y_2 )/4\
&= (mathbf x cdot mathbf y)^2 \&= K(mathbf x, mathbf y)
endalign
Question:
Can you provide a less trivial example of kernel function, feature map and feature space, with an inner product that is not the dot product?
hilbert-spaces inner-product-space machine-learning reproducing-kernel-hilbert-spaces
$endgroup$
add a comment |
$begingroup$
Premise:
A function $K: mathbb R^d times mathbb R^d to mathbb R$ is called
a kernel function on $mathbbR^d$ if there exists a Hilbert space
$mathcalH$ and a map $phi: mathbb R^d to mathcalH$ such that
for any $mathbf x, mathbf yin mathbbR^d$: beginequation
labeleq:kerdef K(mathbf x,mathbf y) = langle phi(mathbf x),
phi(mathbf y) rangle_mathcalH, endequation where $
langlecdot,cdotrangle$ is an inner product.
I have recently noticed that under this definition $ langlecdot,cdotrangle$ is not necessary the standard inner product (dot product).
I have thought of the following example.
Consider the degree-two polynomial kernel on $mathbb R^2$:
beginequation
K(mathbf x,mathbf y) = (mathbf xcdot mathbf y)^2.
endequation
Then, the following is a valid feature map for this kernel:
beginequation
phi(mathbf x) = (2mathbf x_1 mathbf x_1,~ 2mathbf x_1 mathbf x_2,~ 2mathbf x_2 mathbf x_1,~ 2mathbf x_2 mathbf x_2 ),
endequation
considering the feature space $mathcal H=mathbb R^4$, with the custom inner product:
beginequation
langlemathbf x, mathbf y rangle = fracmathbf xcdot mathbf y4.
endequation
Proof:
beginalign
langle phi(mathbf x), phi(mathbf y) rangle_mathcalH &= (2mathbf x_1 mathbf x_1,~ 2mathbf x_1 mathbf x_2,~ 2mathbf x_2 mathbf x_1,~ 2mathbf x_2 mathbf x_2 ) cdot (2mathbf y_1 mathbf y_1,~ 2mathbf y_1 mathbf y_2,~ 2mathbf y_2 mathbf y_1,~ 2mathbf y_2 mathbf y_2 )/4\
&= (mathbf x cdot mathbf y)^2 \&= K(mathbf x, mathbf y)
endalign
Question:
Can you provide a less trivial example of kernel function, feature map and feature space, with an inner product that is not the dot product?
hilbert-spaces inner-product-space machine-learning reproducing-kernel-hilbert-spaces
$endgroup$
Premise:
A function $K: mathbb R^d times mathbb R^d to mathbb R$ is called
a kernel function on $mathbbR^d$ if there exists a Hilbert space
$mathcalH$ and a map $phi: mathbb R^d to mathcalH$ such that
for any $mathbf x, mathbf yin mathbbR^d$: beginequation
labeleq:kerdef K(mathbf x,mathbf y) = langle phi(mathbf x),
phi(mathbf y) rangle_mathcalH, endequation where $
langlecdot,cdotrangle$ is an inner product.
I have recently noticed that under this definition $ langlecdot,cdotrangle$ is not necessary the standard inner product (dot product).
I have thought of the following example.
Consider the degree-two polynomial kernel on $mathbb R^2$:
beginequation
K(mathbf x,mathbf y) = (mathbf xcdot mathbf y)^2.
endequation
Then, the following is a valid feature map for this kernel:
beginequation
phi(mathbf x) = (2mathbf x_1 mathbf x_1,~ 2mathbf x_1 mathbf x_2,~ 2mathbf x_2 mathbf x_1,~ 2mathbf x_2 mathbf x_2 ),
endequation
considering the feature space $mathcal H=mathbb R^4$, with the custom inner product:
beginequation
langlemathbf x, mathbf y rangle = fracmathbf xcdot mathbf y4.
endequation
Proof:
beginalign
langle phi(mathbf x), phi(mathbf y) rangle_mathcalH &= (2mathbf x_1 mathbf x_1,~ 2mathbf x_1 mathbf x_2,~ 2mathbf x_2 mathbf x_1,~ 2mathbf x_2 mathbf x_2 ) cdot (2mathbf y_1 mathbf y_1,~ 2mathbf y_1 mathbf y_2,~ 2mathbf y_2 mathbf y_1,~ 2mathbf y_2 mathbf y_2 )/4\
&= (mathbf x cdot mathbf y)^2 \&= K(mathbf x, mathbf y)
endalign
Question:
Can you provide a less trivial example of kernel function, feature map and feature space, with an inner product that is not the dot product?
hilbert-spaces inner-product-space machine-learning reproducing-kernel-hilbert-spaces
hilbert-spaces inner-product-space machine-learning reproducing-kernel-hilbert-spaces
asked Mar 22 at 9:06
Daniel LópezDaniel López
1185
1185
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3157925%2fkernel-function-with-a-feature-space-equipped-with-an-inner-product-that-is-not%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3157925%2fkernel-function-with-a-feature-space-equipped-with-an-inner-product-that-is-not%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown