Hi,
Question:
Why is the error 'Error parsing inputs' in CVXPy occurring?
Context:
I am trying to solve a semidefinite program in CVXPy (using Google Colab). I went to the documentation (HERE) and I copied the example code into a cell. It doesn't work for some reason and I don't understand...
Hi,
This is a simple question that I just wanted to clarify. I was reading the following paper on label propagation: HERE and I can't understand whether the terms are vectors or scalars in one of the equations - specifically, equation (2.15) shown in the image below.
My understanding:
- ##f##...
Oh wow, that does work! Many thanks. Do you know of any reason why using an upper case Log[] inside a Solve[] function could lead to an error, but then I changed it to log[] (lower case) and the error went away).
Hi,
I was attempting example 27.1 question from the book: 'Information Theory, Inference, and Learning Algorithms'. It is about the Laplace approximation. I was confused about part (b) of the question and wanted to check my method if possible.
[EDIT]: The link to the book website (official) is...
Hi,
This is a pretty simple question, but I am new to Mathematica so I am not sure if I am missing something obvious.
Question: How do I make the expression ## e^{log(z)} ## return z?
Attempt:
I have used all of the following combinations and all of them return ## e^{log(z)}##. Are there any...
Hi,
I'll have a go at answering this. You might have more luck putting this in the Engineering forum, as this seems like a signal processing question (correct me if I am wrong). If this is a signal processing course, have you learned about concepts like: z-transform, high pass/low pass/band...
Thanks for the reply @Orodruin !
Agreed
I think so... I could imagine forming some matrix equation like:
W [ \vec{a} \quad \vec{b}] = [\vec{c} \quad \vec{d}]
and if ## \vec{a} ## and ## \vec{b} ## are linearly independent, then the matrix is full-rank and that can be inverted to find ## W...
Hi,
I was thinking about the following problem, but I couldn't think of any conclusive reasons to support my idea.
Question:
Let us imagine that we have two vectors ## \vec{a} ## and ## \vec{b} ## and they point in similar directions, such that the inner-product is evaluated to be a +ve...
Thanks for the response @Mark44 !
Yeh that makes sense - I understood that part of the problem. We can differentiate that expression for ## g(\lambda) ## and then the optimal lambda (which is 2) leads us to dual problem optimal of 5. The strong duality makes sense because Slater's condition...
Hi,
I was reading through some notes on standard problems and their corresponding dual problems. I came across the L2 norm minimization for an equality constraint, and then I thought how one might formulate the dual problem if we had an L1-norm instead.
Question:
Consider the following...