Iterative Approach to using Tikhonov Regularizaiton for inverting a matrix
Project description
InverseProblem
- InverseProblem.invert(A, b, k, l)
- Function that operates on any sized ill conditioned matrix A and noisy vecotr b, to solveAx=b by inverting A.It uses the Tikhonov Regularization method, but rather that using its analytic solution ituses its iterative solution, which converges to the noiseless solution for b.A is any dimension matrix m x nb is a vector m x 1x is a vector n x 1k is the number of iterations requiredl is lambda, or the dampenign parameter in the regularizaiton problem
In many inversion problems the data frame or matrix X is ill-conditioned, meaning the matrix iself is close to singular (e.g. a Hilbert matrix that has several close to dependent columns),and the solution, b, is therefore is noisy. A small perturbation in the matrix X will lead to wild adjustements in the solution, b, as is well-known.
One way to deal with such instability is to regularize the problem and solve a “nearby” problem using Lasso methods or the more general Tikhanov reguarlization problem, which add a penalty, lambda, to the optimizaiton problem. However, currently, no efficient method exists for searching for lambda.
In this new innovative method, we have derived an iterative approach to solving the general Tikhanov regularization problem, which converges to the noiseless solution, does not depend strongly on the choice of lambda, and yet still avoids the inversion problem.
This alogirithm is written in a few lines of code using Python’s numpy package, and primarily relies on the SVD composition. The solution is applicable to many fields in image processing and data, and the code, as we’ll see in the talk, is quite simple.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file InverseProblem-1.0.tar.gz
.
File metadata
- Download URL: InverseProblem-1.0.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dae68399dc0fdd0e416071ef2c6611ae1413b26965b9f0ce5fa517b04f3ca49a |
|
MD5 | 310553826224aff0c48f2ff87fd7e5fe |
|
BLAKE2b-256 | 5967c2da0c700a573f4ddf4acf3825a42d2f6f14da91dd279b6f6a959e7439e9 |
File details
Details for the file InverseProblem-1.0-py3.4.egg
.
File metadata
- Download URL: InverseProblem-1.0-py3.4.egg
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f86206e91daf9f214ef754bdce8be501dd281351a4fc0545d61b74124b1675a |
|
MD5 | 59bdbfb3a72b3c2c4d533c1867d0065b |
|
BLAKE2b-256 | 059c5cb047ec8d8ab3239b7b436b413c7d61b34ba87d5bc48a1b1ce7c93e3a01 |