Releases: adopy/adopy
Releases · adopy/adopy
ADOpy 0.4.1
- A minor fix on retrieving version information with
importlib-metadata.
ADOpy 0.4.0
- Drop support for Python 3.5.
- (breaking change)
adopy.base.Tasktakes labels of response variables as the argumentresponses. Instead, the possible values for the response variables should be given toadopy.base.Engineas an argument namedgrid_response. - (breaking change)
adopy.base.Modeltakes a log likelihood function for an argumentfuncnow, instead of the probability function for a single binary response variable. The log likelihood function can take multiple response variables. - (breaking change) The
computemethod inadopy.base.Modelprovides the log likelihood function now, instead of the probability of a single binary response variable. - Using multiple response variables is available now!
adopy.base.Enginenow can update multiple observations, given as a list of designs and a list of corresponding responses into code:designandresponsearguments, respectively.- Now, you can choose what datatype to use for
adopy.base.Engine, with an argument nameddtype. The default isnumpy.float32. - Remove unused types at base (#26; contributed by @NicholasWon47).
ADOpy 0.3.1
A minor version update due to PyPI configuration. It has the exact same features as ADOpy 0.3.0.
ADOpy 0.3.0
The first version that is released publicly.
- General changes
- Now, we fully updated the README file and documentation.
- Example codes are provided in the
/examplesdirectory.
- Base classes (
adopy.base)- Possible responses (
responses) are now stored in task classes (previously in Engine classes). - The engine class gets a new function,
reset(), in order to reset an engine object to an initial state.
- Possible responses (
- Choice under risk and ambiguity task (
adopy.tasks.cra)- Two design variables,
probandambig, are renamed top_varanda_var, respectively.
- Two design variables,
- Delay discounting task (
adopy.tasks.dd)- The module name for the delay discounting task is changed to
adopy.tasks.dd(previouslyadopy.tasks.ddt), in order to make it consistent to other tasks (e.g.,adopy.tasks.cra). Also, the task and engine classes are renamed toTaskDDandEngineDD(previouslyTaskDDTandEngineDDT). - 4 design variables are renamed to
t_ss,t_ll,r_ssandr_llin order to make it consistent to notations in math equations. - In all model classes for the DD task,
tau(inverse temperature) is ordered as the last parameter. - The model class for Generalized Hyperbolic model,
ModelGH, is renamed toModelHPBfor Hyperboloid model.
- The module name for the delay discounting task is changed to
- Psychometric function estimation (
adopy.tasks.psi)- The task class for a 2-alternative forced choice task is renamed to
Task2AFC(previouslyTaskPsi). N-AFC task will be supported in future updates (see Issue #18). - The model class with a shape of Normal CDF is renamed to
ModelProbit(previouslyModelNormal).
- The task class for a 2-alternative forced choice task is renamed to
ADOpy 0.2.0
- Support only for Python 3.5+, excluding Python 2.7.
- Rename
adopy.tasks.psi.TaskPsitoadopy.tasks.psi.Task2AFC. - Add docs powered by Sphinx.
ADOpy 0.1.2
- Fix
adopy.functions.get_nearest_grid_indexwhich had made posterior updating malfunction. - Use
autopep8instead ofyapffor develop environment. - Fix staircase implementation for Psychometric function.
ADOpy 0.1.1
- Fix
Engine.post_covdue to the unexpected usage ofpandas.DataFrame.
ADOpy 0.1.0
- Use three base classes:
Task,Model, andEngine. - Provide three pre-implemented tasks:
psi(Psychometric function),cra(Choice under risk and ambiguity), andddt(Delayed discounting task).