Comments (6)
Sure, A vs B is ok, but then the equation becomes 100 * (A - B)/B. That way, if there if A DECREASED, the percentage is negative; if A increased, the percentage is positive.
I would like to stick with that usage: negative means a decrease, that is what we've trained users to expect. Think of it as the change from some original state to a new state. The percent change would be: 100 * (New - Original) / Original, and our naming convention would be New vs Original.
In the current code, I just think the denominator is wrong; it should be B.
from qnspect.
Good catch, the formula should be 100 * (B - A)/ A which is the change from A to B:
The results using your numbers would then be: [[-20%, 100%]], a decrease to 20% for the first element, and a increase of 100% for the second.
from qnspect.
Oops, [[-80%, 100%]]. math is hard.
from qnspect.
Since, our Results Group name is A vs B
I think what we have might already be correct.
A is 80% greater than B, A is 100% smaller than B.
vs
If we change the formula it will be
B is 80% less than A and B is 100% more than A
What do you think will be better considering our group name A vs B
? I think it is just a way of interpretation but thinking about it more I like the first one.
from qnspect.
Ok 100 * (A - B)/B
makes much more sense. Glad we caught this. Is this the same what OpenNSPECT had or is it different?
from qnspect.
It should be the same.
from qnspect.
Related Issues (20)
- Division by zero error in comparison tools HOT 7
- Restructure files and folders to make it easy to zip and ship plugin
- Add tests
- Change pollutant selection gui
- Remove alphabetical sort on land cover classes
- Reorder input fields on GUIs to be as consistent as possible HOT 1
- Modify Land Cover (NLCD/C-CAP) is failing to execute.
- Erosion Analysis HOT 4
- Add raster alignment option to Rasterize Soils tool
- Validate user input for Null Values in Lookup Table and return user friendly error HOT 5
- Change the name for the โDesired Outputs [optional]โ group in Pollution Analysis tool HOT 4
- Warn user if `analysis` inputs are temporary layers
- Limit displayed files to common raster types when loading rasters
- Raster colors not loading consistently HOT 3
- Change most "land use" terms to land cover
- It should not be, but is, possible to reclass from CCAP to NLCD and vice-versa HOT 3
- Limit pollutant and erosion calculations to a selected polygon area HOT 5
- Change NoData value, at least in comparison results
- Concentration error introduced with SHA: 18fe2433f31
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 qnspect.