Comments (2)
Original comment by Chris Mutel (Bitbucket: cmutel, GitHub: cmutel).
This is an annoying inconsistency. There are clear rules that distinguish between the two, but they are not properly explained in the documentation or code.
Brightway2-data uses the name uncertainty type
when defining an uncertain value. When this input data to converted to a parameter array, which can be an input to the RNG in stats_arrays, this field is named uncertainty_type
. uncertainty_type
is used exclusively in stats_arrays.
Both libraries are in widespread use now, and so introducing a breaking change would be difficult. Stats_arrays needs the underscore to allow attribute access, e.g. foo.uncertainty_type
. Updating Brightway2-data would require that everyone rewrites all their databases, which is also suboptimal. It would also make all the Excel import data spreadsheets obsolete. I guess you could write a function that would slowly introduce one form or the other, while still tolerating the older version.
Please post code that raises errors (rather than annoyances).
from brightway2-calc.
Original comment by Chris Mutel (Bitbucket: cmutel, GitHub: cmutel).
Closing for now. I made stats_arrays
be more forgiving in what it accepts in from_dicts
, and added a line to the documentation: https://bitbucket.org/cmutel/stats_arrays/commits/486e973e682ee07db39bc71788b7cda5e30f1509
from brightway2-calc.
Related Issues (20)
- Empty characterization matrix arrays for MultiLCA HOT 7
- Proposal: Allow user to calculate non-diagonalized results HOT 1
- Proposal: Cache Impact Assessment items
- `MultiLCA` class returning identical results under iteration HOT 7
- `MultiLCA` gives zero scores for single demand/multiple impact categories HOT 2
- `MultiLCA` normalizes and weights in all combinations HOT 4
- Should be able to pass `MethodConfig` to `MultiLCA` the way the cheat sheet recommends
- Use the expected value to parametrize lognormal distributions HOT 2
- Prevent multiple ``remap_inventory_dicts``
- Allow for selective use of distributions or arrays depending on matrix label
- `MappedMatrixDict` should support `__mul__` HOT 1
- Dependency Dashboard
- MultiLCA: Check that `method_config` resources are present in data objects
- MultiLCA: Filter data objects to those referred to in `method_config`
- Add tests for `scikit-umfpack` and `sparselu` solvers HOT 5
- Prepare for switch to sparse arrays
- MultiLCA checklist
- Document/Clarify Removal of GraphTraversal Functionality HOT 6
- Characterization matrix ... rabbit hole HOT 3
- Factorizing matrices with pypardiso is not a no-op
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 brightway2-calc.