pyfair
pyfair copied to clipboard
Factor Analysis of Information Risk (FAIR) model written in Python.
FutureWarning about aggregation functions (np.mean, np.std, np.min, np.max): The warning suggests that in future versions of pandas, the callable will be used directly, so to maintain the current behavior, we...
``` from pyfair import FairModel, FairSimpleReport, FairMetaModel from random import random gamma1 = 4 model1 = FairModel(name="Model 1 - 4 shape", n_simulations=100_000, random_seed=int(random()*100)) model1.input_data('Contact Frequency', low=0, mode=0.33, high=2)#, gamma=gamma1) model1.input_data('Probability...
Not sure if this is a bug or intended functionality. I create a model and write it to the database. (v1) I decide I want to change the parameters of...
pyfair\pyfair\model\model.py:465: FutureWarning: The default dtype for empty Series will be 'object' instead of 'float64' in a future version. Specify a dtype explicitly to silence this warning.
- [ ] move to modern build system and packaging standards (poetry, pdm; pyproject.toml) - [ ] update pypi classifier list to declare supported python versions (3.8+) - [ ]...
Switch to Github actions: - [x] readthedocs - [ ] Run tests - [ ] Build docker container - [ ] Push docker reg - [ ] Push to PyPi