Comments (7)
Thanks for your detailed report. Much appreciated.
FairModel has an attribute called _tree
. This attribute is a FairDependencyTree instance that is used to track calculation dependencies. This class was using erroneously using "Contact" and "Action" as handles for tracking, which is where the issue arose.
I am going to take this fix and another I've been meaning to get out (#24) and package them up this weekend for version 0.1-alpha.11.
For posterity. going forward these will work:
- C
- A
- Contact Frequency
- Probability of Action
These will not work:
- CF
- Contact
- Action
from pyfair.
Brilliant, and thanks for your attention to detail, @vidhisshah !
It appears that FairDataInput
validator and accompanying unit tests use the term "Action" as well. I will modify FairDataInput._le_1_targets
attribute, look for any stray "Action" references in the code base, and check back with you in the next day.
from pyfair.
Thanks, @vidhisshah . Will check this evening and reply back.
from pyfair.
Would you please download version 0.1-alpha.11 from PyPI, ensure it fixes your problem, and then close this issue out?
Thanks again for the bug report.
from pyfair.
@theonaunheim Thanks a lot!
The keywords 'C'
, 'Contact Frequency'
, 'A'
, and 'Probability of Action'
are working fine.
One small issue though, it doesn't seem to be doing the check where values need to be between zero and one. Could you please check that? For example, model.input_data('Probability of Action', low=2, mode=10, high=20)
would have thrown an error earlier, but it seems to be accepting it now.
from pyfair.
@vidhisshah , I believe I have fixed the validation problems.
At your convenience, would you please check version 1.0-alpha.12 on your machine, and close out this issue if fixed?
Thanks again for your diligence.
from pyfair.
Works! Thank you.
from pyfair.
Related Issues (20)
- Examples for customizing HTML Output and specific Charts HOT 4
- Meta Model Average vs. Sum Operators HOT 11
- documentation fix from_json HOT 1
- cyber insurance talk HOT 1
- Store finished simulation calculations (Min, Max, Mean) with Serialized JSON model
- Currency prefix on charts HOT 1
- Report shows vulnerability to only 2 decimal places HOT 7
- Secondary losses computed through input_multi_data are wrong
- Futurewarning in tree_graph.py HOT 1
- futurewarning in model.py
- Matplotlib UserWarning in violin.py
- DB Write and read give different results
- Pandas now throws an error not a warning HOT 1
- Migrate build.image -> build.os
- Add Github actions for rtd, tests, build docker, push docker registry, push to PyPi.
- Modernize 🧑🔬 (build sys, pypi classifier,dependencies, unit testing, contrib.md, pre-com hooks, lint, semantic rels)
- Multiple Errors Thrown: Mac OS Ventura - (Matplotlib + Pandas deprecations) HOT 2
- Loss + Probability Excellence Curves do not display correctly when gamma is altered
- Provide the 90th percentile
- Report the mode value in the results
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 pyfair.