![]() |
Prev | Next | whats_new_2021 |
sys.exit(msg)
calls were changed to
assert False, msg
to make then easier to debug.
plot_rate_fit
argument.
dismodat.py
.
file_stdout
,
file_stderr
, and
write_command
arguments to system_command_prc
.
distutils
module has been deprecated.
Replace all use of distutils.dir_util.mkpath
with
os.makedirs
.
./dock_dismod_at.sh image mixed
because the version of cppad_mixed changed.
integrand_list
and
plot_title
optional.
In addition, its return value
n_fit_dict
was changed
from a list to a dictionary.
plot_data_fit
.
plot_title
argument was added to the
plot_rate_fit
and plot_data_fit
functions.
In addition, the
max_plot
argument was added to plot_data_fit
.
plot_data_fit
function now plots data that is held out in
green
.
out
column in the data.csv into the
d_out
and
s_out
columns.
print_command
,
return_stdout
,
return_stderr
.
The default settings for these arguments makes system_command_prc
backward compatible.
Could not find table or column in table.
detected in age table
This has been changed to
Cannot find the database file_name
where
file_name
is the name used for the database.
sim_data
utility was moved to average_integrand
.
It is still considered under construction.
system_command_prc
function so its
result
is a python string
(instead of bytes); e.g., see user_trace_init.py
.
AssertionError
instead of exiting the current program.
mulcov_
).
To be specific, these integrands would not get included in the predict table
avgint subset
.
This has been fixed.
system_command_prc
function.
To be specific, stderr is not returned.
user_sample_simple.py
to user_sample_asy_sim.py
.
bash
worked and this broke it's install.
To be specific, export DYLD_LIBRARY_PATH
no longer works
(export works for most shell variables but not others).
The bin/get_cppad_mixed.sh
was changed to adapt to this problem
including advancing to cppad_mixed-20210714.
In addition, the specific_compiler
setting was added to bin/run_cmake.sh
to make it easier
to build using MacPorts.
sim_data
utility is under construction.
It which is slower and easier to use than the
simulate_command
.
It also can be used for independent testing of the dismod_at integrators.
false
and it was added to the option_default
list.
bin/get_cppad_mixed.sh
so that
example_install.sh
so that it automatically replaces all the
special requirements
.
This catches changes in the install of eigen, ipopt, and cppad
without have to remove the old install directory.
true
was corrected to True
).
m_bnd
was changed to
bound
to included this
new feature in its output.
dismod_at
is executed with no arguments.
m_bnd
to variable.csv
user
to user_example
and sort the user examples.
Previous fit command in log table used simulated data but
cannot find data_sim table
This has been fixed.
out
column of the
data.csv to include the result of all the hold_out settings.
This has since been changed to the
d_out
and
s_out
columns.
init
and set
.
bin/get_cppad_mixed.sh
on ubuntu.
_table
from the links in data_flow
where they are in lists of tables and it is not necessary.
fixed_trace
table's name to trace_fixed
.
adaptive
derivative_test
.
It also improves the checking of bounds, complementarity, and
the gradient of the Lagrangian at the final solution.
It also improves the detection of when Lagrangian multipliers should be
non-zero because a constraint is active; e.g., see
lagrange_value
in the
fit_var table.
./dock_dismod_at image mixed ./dock_dismod_at image dismod_atThe dismod_at.mixed image is necessary because the version of cppad_mixed has changed since the last advancement of dock_dismod_at.sh.
user_data_sim_py
example the code
residual = (math.log(z + eta + delta) - math.log(mu + eta)) / sigmawas incorrect and was changed to
residual = (math.log(z + eta) - math.log(mu + eta)) / sigma
'true'
to 'false'
.
quasi_newton
setting from
'true'
to 'false'
and make the maximum allowable error
smaller.
data_sim_delta
and data_sim_stdcv
in the
data_sim_table
often resulted in zero or negative values
which does not make sense and would cause dismod_at to abort with the message
... simulate_command sim_stdcv is nan or less than zero ...
This problem has been fixed using the
adjusted standard deviation
to replace
data_sim_delta
and
the minimum CV standard deviation
to replace
data_sim_stdcv
.
These replacements use the original measurements
meas_value
instead of the simulated measurements
data_sim_value
to define the corresponding
transformed standard deviation
.
data_sim_delta
and data_sim_stdcv
columns
were removed from the data_sim_table
.
The sim_stdcv
and sim_delta
columns
were removed from the data.csv
.
std::exception
both in the output and in the log_table
.
data.csv
created by db2csv
command,
is greater than the maximum python float
, report it as empty.
test/user/fit_sim.py
program.
This has been fixed.
external/release/cppad_mixed/external
(similarly for the debug case).
Previously Mumps.git was below ASL.git and
Ipopt.git was below Mumps.git.
meas_noise_effect
options
added on 01-10
.
For those at IHME, it is also has the new fit_ihme.py
program.
option
command
no longer requires the option table it to be consistent with all the
other input
tables.
It only has to be self consistent.
This enables one to use the set option
command to change the
rate_case
to a value
that is consistent with the rest of the database.
db_simplify
was changed to
fit_ihme.py
because it fits ihme databases.
It now gets installed and is part of the User API.
You can use it, if you have access to the ihme databases,
but it is not part of this documentation (specifications).
If you execute fit_ihme.py
with no arguments,
you will get a usage message that give you some idea how to use it.
dismodat.py
command.
This is so that all log messages with
message_type
command
start with begin
and then the name of the command.
data_sim_stdcv
on 01-09
was corrected (better testing show it was incorrect).
data_sim_stdcv
when meas_noise_effect
is
add_var_scale_log
and the density is
linear
.
sigma
in
data_like
,
fixed_value
,
random_value
,
smooth_dage
,
smooth_dtime
.