Comments (3)
So it seems this is likely just a better solution. In the old version:
dist(s, K) = 4.5449e-07, dist(y, K*) = 0.0000e+00, s'y/|s||y| = 1.6867e-09
|Ax + s - b|_2 / (1 + |b|_2) = 5.7120e-03
|A'y + c|_2 / (1 + |c|_2) = 1.2275e-02
|c'x + b'y| / (1 + |c'x| + |b'y|) = 1.2320e-05
In the new version
dist(s, K) = 9.2188e-21, dist(y, K*) = 0.0000e+00, s'y/|s||y| = 5.2658e-10
primal res: |Ax + s - b|_2 / (1 + |b|_2) = 5.4125e-06
dual res: |A'y + c|_2 / (1 + |c|_2) = 2.6497e-07
rel gap: |c'x + b'y| / (1 + |c'x| + |b'y|) = 9.7344e-09
Error has gone down
from doppelganger.
@kaelgreco I've fixed this test by adding two alternate solutions, so this isn't as high priority, but I'm guessing the test is still unstable so please take a look at some point. @bnaul suggested we could check the objective value instead of the weights. There might also be more stable inputs.
from doppelganger.
FYI those aren't technically the objective function, they show how much the estimated solution changed in the last iteration (that's how it decides when to stop). The objective looks like
c'x = -282.1634, -b'y = -282.1634
EDIT: checking rel_gap < 1e-6
or so would also be fine
from doppelganger.
Related Issues (20)
- Preferred communication medium? HOT 1
- Pomegrenate issues on CentOS 7.3 HOT 5
- Household indexing is confusing HOT 3
- Modifying inputs.py HOT 6
- 1 year vs 5 year PUMS input difference HOT 1
- doppelganger.person_structure -> pomegranite.BayesianNetwork HOT 1
- Add state & county IDs HOT 1
- Segmenting on an input variable that allows the None type causes a sorting error HOT 2
- Solver variable bin lineup between inputs and marginals
- Error in doppelganger_example_simple.ipynb HOT 6
- nosetests HOT 1
- Pomegranate pinned to old version HOT 2
- marginals dtypes HOT 1
- keep leading zeros in code columns - dtypes HOT 3
- IEEE Computer Society Magazine for an upcoming edition on Governments in the Age of Big Data and Smart Cities(December 2018)
- Generated population doesn't match input controls HOT 4
- Length mismatch HOT 6
- ---
- issue with cvxpy.Variable functions in example code
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 doppelganger.