Incorporate cmdstanpy v1.0.4 updates (#2259)

This commit is contained in:
Cuong Duong 2022-09-05 06:55:58 +10:00 committed by GitHub
parent 4a53023bec
commit 201887403b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 4 deletions

View file

@ -6,7 +6,6 @@
from __future__ import absolute_import, division, print_function from __future__ import absolute_import, division, print_function
from abc import abstractmethod, ABC from abc import abstractmethod, ABC
from tempfile import mkdtemp
from typing import Tuple from typing import Tuple
from collections import OrderedDict from collections import OrderedDict
from enum import Enum from enum import Enum
@ -92,7 +91,6 @@ class CmdStanPyBackend(IStanBackend):
inits=stan_init, inits=stan_init,
algorithm='Newton' if stan_data['T'] < 100 else 'LBFGS', algorithm='Newton' if stan_data['T'] < 100 else 'LBFGS',
iter=int(1e4), iter=int(1e4),
output_dir = mkdtemp(),
) )
args.update(kwargs) args.update(kwargs)

View file

@ -2,6 +2,6 @@
requires = [ requires = [
"setuptools>=42", "setuptools>=42",
"wheel", "wheel",
"cmdstanpy>=1.0.1, !=1.0.2, !=1.0.3", "cmdstanpy>=1.0.4",
] ]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"

View file

@ -1,5 +1,5 @@
Cython>=0.22 Cython>=0.22
cmdstanpy>=1.0.1,!=1.0.2,!=1.0.3 cmdstanpy>=1.0.4
numpy>=1.15.4 numpy>=1.15.4
pandas>=1.0.4 pandas>=1.0.4
matplotlib>=2.0.0 matplotlib>=2.0.0