Recent content by Master1022

  1. M

    Calculating Area Under a Curve Using Change of Variables and Quotient Rule

    Apologies, is there a question here? Your answer agrees with the solution - so it looks fine to me...
  2. M

    Python: Semidefinite program with CVXPy 'Error parsing inputs'

    Thanks for the reply @pbuk ! That's correct - when I used a version on my local machine via a conda environment, then it worked
  3. M

    Python: Semidefinite program with CVXPy 'Error parsing inputs'

    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...
  4. M

    I Label propagation equation: what are the terms?

    Many thanks for the response! So would ## f( \nu ) ## be a vector instead of just referring to the entry of vector ## f## corresponding to ## \nu ##?
  5. M

    I Label propagation equation: what are the terms?

    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##...
  6. M

    Mathematica How to simplify expressions in Mathematica with log and exp in them?

    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).
  7. M

    MacKay Textbook Example: Laplace Approximation

    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...
  8. M

    Mathematica How to simplify expressions in Mathematica with log and exp in them?

    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...
  9. M

    Frequency Response Problem for given system

    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...
  10. M

    Is result of vector inner product retained after matrix multiplication?

    Okay thanks @PeroK ! That makes sense, and yes I can see how the answer to my question was 'not necessarily'.
  11. M

    Is result of vector inner product retained after matrix multiplication?

    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...
  12. M

    Is result of vector inner product retained after matrix multiplication?

    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...
  13. M

    Convex Optimization: Dual Function Definition

    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...
  14. M

    Optimization: Dual for L1 norm minimization with equality constraint

    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...
Back
Top