Comments (2)
What would be incorrect with it?
Just for fun I tried creating a PSD matrix
>>> import numpy as np
>>> x = np.random.normal(size=(2,2))
>>> V = x.dot(x.T)
>>> V
array([[ 0.48580582, -1.27191924],
[-1.27191924, 3.64642338]])
>>> Vrr, Vri, Vii = float(V[0,0]), float(V[0,1]), float(V[1,1])
>>> tau = Vrr + Vii
>>> delta = (Vrr * Vii) - (Vri ** 2)
>>> s = np.sqrt(delta)
>>> t = np.sqrt(tau + 2 * s)
>>> inverse_st = 1.0 / (s * t)
>>> Wrr = (Vii + s) * inverse_st
>>> Wii = (Vrr + s) * inverse_st
>>> Wri = -Vri * inverse_st
>>> W = np.array([[Wrr, Wri], [Wri, Wii]])
>>> W
array([[ 4.64616077, 1.46332366],
[ 1.46332366, 1.00991855]])
>>> V.dot(W.dot(W))
array([[ 1.00000000e+00, 3.02928156e-16],
[ -4.25075250e-16, 1.00000000e+00]])
from deep_complex_networks.
@obilaniu Your solution is right. It is funny, but indeed 1/(st) = t / ( (Vrr + s)(Vii + s) - (Vri**2) ).
from deep_complex_networks.
Related Issues (20)
- Mímir IOError HOT 2
- Windows support HOT 1
- utilsextension DLL load failed HOT 1
- [Feature request] deconvolution layer HOT 2
- modReLU, CreLU, zReLU are absent? HOT 12
- Anybody port this to TensorFlow or Pytorch? HOT 8
- Typo in readme example leads to zero division or input size 0 errors
- questions about transformation of tensor shape in Conv2d HOT 1
- Fourier argument question & comparison of shallow vs. deep complex models
- ValueError: Error when checking target: expected complex_dense_1 to have shape (None, 48) but got array with shape (38400, 24) HOT 1
- GetReal not working HOT 1
- modReLU HOT 2
- AttributeError: 'module' object has no attribute 'Logger' HOT 4
- Question concerning weight initialization.
- Has the plural neural network been doing plural work?
- About the version of library to be imported HOT 3
- Using your own dataset. HOT 1
- Is the learn imaginary data really work?
- different shape tensors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deep_complex_networks.