Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible issue #38

Open
saifulkhan opened this issue Jan 22, 2022 · 2 comments
Open

Possible issue #38

saifulkhan opened this issue Jan 22, 2022 · 2 comments
Assignees

Comments

@saifulkhan
Copy link
Collaborator

I am getting this error in my local machine, could you please check!

Download from URLs has finished
Running Uncertainty Analysis Agents
CANNOT FIND  /home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/app/core/../../../data/live/models/uncertainty/uncertainty_inventory.json
Exception in thread Thread-4:
Traceback (most recent call last):
Converting ents files to sandu SensitivityInput objects.
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 973, in _bootstrap_inner
CANNOT FIND  /home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/app/core/../../../data/live/models/uncertainty/uncertainty_inventory.json
Exception in thread Thread-6:
CANNOT FIND  /home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/app/core/../../../data/live/models/sensitivity/sensitivity_inventory.json
Traceback (most recent call last):
Exception in thread Thread-7:
    self.run()
Traceback (most recent call last):
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 910, in run
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 973, in _bootstrap_inner
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 973, in _bootstrap_inner
    self.run()
    self._target(*self._args, **self._kwargs)
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 910, in run
  File "/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/./app/controllers/agents/uncertainty_clustering_agent.py", line 71, in uncertainty_clustering_agent
    self.run()
    cluster_list = get_cluster_list(model_list)
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 910, in run
  File "/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/./app/controllers/agents/uncertainty_clustering_agent.py", line 56, in get_cluster_list
    self._target(*self._args, **self._kwargs)
    self._target(*self._args, **self._kwargs)
  File "/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/./app/controllers/agents/ents_to_sandu_agent.py", line 107, in ents_to_sandu_agent
    for model in models:
  File "/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/./app/controllers/agents/uncertainty_mean_sample_agent.py", line 34, in uncertainty_mean_sample_agent
    for model in model_list:
TypeError: 'NoneType' object is not iterable
TypeError: 'NoneType' object is not iterable
Uncertainty Clustering Complete
    for model in model_list:
Running Uncertainty Cluster Analysis
 SensitivityInput objects created from ents files.
Running Sensitivity Analysis Agents
TypeError: 'NoneType' object is not iterable
CANNOT FIND  /home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/app/core/../../../data/live/models/uncertainty/uncertainty_inventory.json
Exception in thread Thread-9:
Traceback (most recent call last):
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 973, in _bootstrap_inner
CANNOT FIND  /home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/app/core/../../../data/live/models/sensitivity/sensitivity_inventory.json
Exception in thread Thread-10:
Traceback (most recent call last):
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 973, in _bootstrap_inner
    self.run()
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 910, in run
    self.run()
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 910, in run
    self._target(*self._args, **self._kwargs)
  File "/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/./app/controllers/agents/uncertainty_cluster_mean_sample_agent.py", line 59, in uncertainty_cluster_mean_sample_agent
    self._target(*self._args, **self._kwargs)
    list_of_clusters = get_cluster_list(model_list)
  File "/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/./app/controllers/agents/sensitivity_clustering_agent.py", line 122, in sensitivity_clustering_agent
  File "/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/./app/controllers/agents/uncertainty_cluster_mean_sample_agent.py", line 47, in get_cluster_list
    cluster_list = get_cluster_list(model_list)
  File "/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/./app/controllers/agents/sensitivity_clustering_agent.py", line 105, in get_cluster_list
    for model in models:
TypeError: 'NoneType' object is not iterable
    for model in models:
TypeError: 'NoneType' object is not iterable
Sensitivity Clustering Complete
CANNOT FIND  /home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/app/core/../../../data/live/models/sensitivity/sensitivity_inventory.json
Exception in thread Thread-11:
Traceback (most recent call last):
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 973, in _bootstrap_inner
    self.run()
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 910, in run
    self._target(*self._args, **self._kwargs)
  File "/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/./app/controllers/agents/sensitivity_range_mean_sample_agent.py", line 83, in sensitivity_clustering_range_mean_agent
    cluster_list = get_cluster_list(model_list)
  File "/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/./app/controllers/agents/sensitivity_range_mean_sample_agent.py", line 48, in get_cluster_list
    for model in models:
TypeError: 'NoneType' object is not iterable

@ErikRZH
Copy link
Collaborator

ErikRZH commented Jan 22, 2022

I will look at this!

@saifulkhan
Copy link
Collaborator Author

$ uvicorn app.main:app --reload --port 4010 --host 0.0.0.0

INFO:     Will watch for changes in these directories: ['/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api']
INFO:     Uvicorn running on http://0.0.0.0:4010 (Press CTRL+C to quit)
INFO:     Started reloader process [35150] using statreload
2022-01-22 15:02:39.506 | INFO     | app.core.settings:<module>:23 - ENV = development
2022-01-22 15:02:39.973 | DEBUG    | matplotlib.cbook:_get_data_path:518 - matplotlib data path: /home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/venv/lib/python3.9/site-packages/matplotlib/mpl-data
2022-01-22 15:02:39.975 | DEBUG    | matplotlib:gen_candidates:564 - CONFIGDIR=/home/saifulkhan/.config/matplotlib
2022-01-22 15:02:39.976 | DEBUG    | importlib._bootstrap:_call_with_frames_removed:228 - interactive is False
2022-01-22 15:02:39.976 | DEBUG    | importlib._bootstrap:_call_with_frames_removed:228 - platform is linux
2022-01-22 15:02:39.976 | DEBUG    | importlib._bootstrap:_call_with_frames_removed:228 - loaded modules: ['sys', 'builtins', '_frozen_importlib', '_imp', '_thread', '_warnings', '_weakref', '_io', 'marshal', 'posix', '_frozen_importlib_external', 'time', 'zipimport', '_codecs', 'codecs', 'encodings.aliases', 'encodings', 'encodings.utf_8', '_signal', 'encodings.latin_1', '_abc', 'abc', 'io', '__main__', '_stat', 'stat', '_collections_abc', 'genericpath', 'posixpath', 'os.path', 'os', '_sitebuiltins', '_locale', '_bootlocale', '_heapq', 'heapq', 'itertools', 'keyword', '_operator', 'operator', 'reprlib', '_collections', 'collections', 'types', '_functools', 'functools', 'importlib._bootstrap', 'importlib._bootstrap_external', 'warnings', 'importlib', 'importlib.machinery', 'collections.abc', 'contextlib', 'enum', '_sre', 'sre_constants', 'sre_parse', 'sre_compile', 'copyreg', 're', 'typing.io', 'typing.re', 'typing', 'importlib.abc', 'importlib.util', '_virtualenv', '_distutils_hack', 'mpl_toolkits', 'site', '_weakrefset', 'threading', 'signal', 'multiprocessing.process', '_struct', 'struct', '_compat_pickle', '_pickle', 'pickle', '_socket', 'math', 'select', 'selectors', 'errno', 'array', 'socket', 'multiprocessing.reduction', 'multiprocessing.context', '__mp_main__', 'multiprocessing', 'weakref', 'pkgutil', 'runpy', 'atexit', 'pwd', 'grp', '_posixsubprocess', 'subprocess', 'multiprocessing.util', 'multiprocessing.spawn', '_multiprocessing', '_posixshmem', 'multiprocessing.resource_tracker', 'concurrent', 'token', 'tokenize', 'linecache', 'traceback', '_string', 'string', 'logging', 'concurrent.futures._base', 'concurrent.futures', '_ssl', 'binascii', 'base64', 'ssl', 'asyncio.constants', '_ast', 'ast', '_opcode', 'opcode', 'dis', 'inspect', 'asyncio.format_helpers', 'asyncio.base_futures', 'asyncio.log', 'asyncio.coroutines', '_contextvars', 'contextvars', 'asyncio.exceptions', 'asyncio.base_tasks', '_asyncio', 'asyncio.events', 'asyncio.futures', 'asyncio.protocols', 'asyncio.transports', 'asyncio.sslproto', 'asyncio.locks', 'asyncio.tasks', 'asyncio.staggered', 'asyncio.trsock', 'asyncio.base_events', 'asyncio.runners', 'asyncio.queues', 'asyncio.streams', 'asyncio.subprocess', 'asyncio.threads', 'asyncio.base_subprocess', 'asyncio.selector_events', 'asyncio.unix_events', 'asyncio', '_json', 'json.scanner', 'json.decoder', 'json.encoder', 'json', '_queue', 'queue', 'copy', 'logging.handlers', 'socketserver', 'logging.config', 'fnmatch', 'ntpath', 'urllib', 'urllib.parse', 'pathlib', 'http', 'gettext', '_datetime', 'datetime', 'click._compat', 'click.globals', 'click.utils', 'click.exceptions', 'click.types', 'click._unicodefun', 'click.parser', 'click.formatting', 'click.termui', 'click.core', 'click.decorators', 'click', 'uvicorn.logging', 'asgiref', 'asgiref._pep562', 'asgiref.typing', 'yaml.error', 'yaml.tokens', 'yaml.events', 'yaml.nodes', 'yaml.reader', 'yaml.scanner', 'yaml.parser', 'yaml.composer', 'yaml.constructor', 'yaml.resolver', 'yaml.loader', 'yaml.emitter', 'yaml.serializer', 'yaml.representer', 'yaml.dumper', 'cython_runtime', 'yaml._yaml', 'yaml.cyaml', 'yaml', 'uvicorn.importer', 'uvicorn.middleware', 'uvicorn.middleware.asgi2', 'html.entities', 'html', 'uvicorn.middleware.debug', 'uvicorn.middleware.message_logger', 'uvicorn.middleware.proxy_headers', 'uvicorn._types', 'concurrent.futures.thread', 'uvicorn.middleware.wsgi', 'uvicorn.config', 'platform', 'email', '_bisect', 'bisect', '_random', '_sha512', 'random', 'locale', 'calendar', 'email._parseaddr', 'email.base64mime', 'email.quoprimime', 'email.errors', 'quopri', 'email.encoders', 'email.charset', 'email.utils', 'uvicorn._handlers', 'uvicorn._handlers.http', 'uvicorn.server', 'zlib', '_compression', '_bz2', 'bz2', '_lzma', 'lzma', 'shutil', 'tempfile', 'multiprocessing.connection', 'uvicorn.subprocess', 'uvicorn.supervisors.basereload', 'uvicorn.supervisors.multiprocess', 'uvicorn.supervisors.statreload', 'uvicorn.supervisors', 'uvicorn.main', 'uvicorn', 'multiprocessing.popen_fork', 'multiprocessing.popen_spawn_posix', 'uvicorn.loops', 'uvicorn.loops.auto', 'uvicorn.loops.asyncio', 'uvicorn.protocols', 'uvicorn.protocols.http', 'dataclasses', 'h11._abnf', 'h11._util', 'h11._headers', 'h11._events', 'h11._receivebuffer', 'h11._state', 'h11._readers', 'h11._writers', 'h11._connection', 'h11._version', 'h11', 'uvicorn.protocols.http.flow_control', 'uvicorn.protocols.utils', 'uvicorn.protocols.http.h11_impl', 'uvicorn.protocols.http.auto', 'uvicorn.protocols.websockets', 'uvicorn.protocols.websockets.auto', 'uvicorn.lifespan', 'uvicorn.lifespan.on', 'app', 'app.main', 'loguru._defaults', 'loguru._colorama', 'loguru._filters', 'sysconfig', 'loguru._better_exceptions', 'loguru._colorizer', 'loguru._datetime', 'loguru._error_interceptor', 'numbers', '_decimal', 'decimal', 'glob', 'loguru._string_parsers', 'loguru._ctime_functions', 'loguru._file_sink', 'loguru._get_frame', 'loguru._locks_machinery', 'loguru._handler', 'loguru._recattrs', 'loguru._simple_sinks', 'loguru._logger', '_sysconfigdata__linux_x86_64-linux-gnu', 'loguru', 'starlette', 'starlette.status', 'uu', 'email.header', 'email._policybase', 'email._encoded_words', 'email.iterators', 'email.message', '_cython_0_29_26', 'typing_extensions', 'pydantic.typing', 'pydantic.errors', 'pydantic.version', 'pydantic.utils', 'pydantic.class_validators', 'ipaddress', 'uuid', 'colorsys', 'pydantic.color', 'pydantic.datetime_parse', 'pydantic.validators', 'pydantic.networks', 'pydantic.types', 'pydantic.json', 'pydantic.error_wrappers', 'pydantic.fields', 'pydantic.config', 'pydantic.parse', 'pydantic.schema', 'pydantic.main', 'pydantic.dataclasses', 'pydantic.annotated_types', 'pydantic.decorator', 'pydantic.env_settings', 'pydantic.tools', 'pydantic', 'fastapi.params', 'shlex', 'anyio._core', 'anyio._core._compat', 'sniffio._version', 'sniffio._impl', 'sniffio', 'anyio._core._eventloop', 'anyio._core._exceptions', 'anyio.abc._resources', 'anyio._core._typedattr', 'anyio.abc._tasks', 'anyio.abc._streams', 'anyio.abc._sockets', 'anyio.abc._subprocesses', 'anyio.abc._testing', 'anyio.lowlevel', 'anyio._core._tasks', 'anyio._core._testing', 'anyio._core._synchronization', 'anyio.from_thread', 'anyio.abc', 'anyio.to_thread', 'anyio._core._fileio', 'anyio._core._resources', 'anyio._core._signals', 'anyio.streams', 'anyio.streams.stapled', 'anyio.streams.tls', 'anyio._core._sockets', 'anyio.streams.memory', 'anyio._core._streams', 'anyio._core._subprocesses', 'anyio', 'starlette.concurrency', 'starlette.types', 'starlette.datastructures', 'fastapi.datastructures', 'fastapi.dependencies', 'fastapi.openapi', 'fastapi.logger', 'fastapi.openapi.models', 'fastapi.security.base', 'http.cookies', '__future__', 'multipart._version', 'six', 'multipart.exceptions', 'multipart.decoders', 'multipart.multipart', 'multipart', 'starlette.formparsers', 'starlette.requests', '_hashlib', '_blake2', 'hashlib', 'mimetypes', 'starlette.background', 'starlette.responses', 'starlette.exceptions', 'fastapi.security.api_key', 'fastapi.exceptions', 'fastapi.security.utils', 'fastapi.security.http', 'fastapi.param_functions', 'fastapi.security.oauth2', 'fastapi.security.open_id_connect_url', 'fastapi.security', 'fastapi.dependencies.models', 'fastapi.concurrency', 'fastapi.openapi.constants', 'fastapi.utils', 'starlette.websockets', 'fastapi.dependencies.utils', 'fastapi.encoders', 'fastapi.types', 'starlette.convertors', 'starlette.routing', 'fastapi.routing', 'fastapi.exception_handlers', 'fastapi.openapi.docs', 'email.feedparser', 'email.parser', 'http.client', 'ujson', 'fastapi.responses', 'fastapi.openapi.utils', 'starlette.middleware', 'starlette.middleware.base', 'starlette.middleware.errors', 'starlette.applications', 'fastapi.applications', 'fastapi.background', 'fastapi.requests', 'fastapi.websockets', 'fastapi', 'gzip', 'starlette.middleware.gzip', 'starlette.middleware.cors', 'app.core', 'app.core.logging', 'starlette.config', 'app.core.config', 'app.core.settings', 'app.controllers', 'zipfile', 'xml', 'xml.parsers', 'pyexpat.errors', 'pyexpat.model', 'pyexpat', 'xml.parsers.expat.model', 'xml.parsers.expat.errors', 'xml.parsers.expat', 'plistlib', 'textwrap', 'pkg_resources.extern', 'pkg_resources._vendor', 'pkg_resources._vendor.appdirs', 'pkg_resources.extern.appdirs', 'pkg_resources._vendor.packaging.__about__', 'pkg_resources._vendor.packaging', 'pkg_resources.extern.packaging', 'pkg_resources.extern.packaging._structures', 'pkg_resources.extern.packaging.version', 'pkg_resources._vendor.packaging._manylinux', 'pkg_resources._vendor.packaging._musllinux', 'pkg_resources.extern.packaging.tags', 'pkg_resources.extern.packaging.utils', 'pkg_resources.extern.packaging.specifiers', 'pprint', 'pkg_resources._vendor.pyparsing', 'pkg_resources.extern.pyparsing', 'pkg_resources.extern.packaging.markers', 'pkg_resources.extern.packaging.requirements', 'pkg_resources', 'apscheduler', 'apscheduler.schedulers', 'pytz_deprecation_shim._common', 'zoneinfo._tzpath', 'zoneinfo._common', '_zoneinfo', 'zoneinfo', 'pytz_deprecation_shim._compat_py3', 'pytz_deprecation_shim._compat', 'pytz_deprecation_shim._exceptions', 'pytz_deprecation_shim._impl', 'pytz_deprecation_shim.helpers', 'pytz_deprecation_shim', 'tzlocal.windows_tz', 'tzlocal.utils', 'tzlocal.unix', 'tzlocal', 'apscheduler.executors', 'pytz.exceptions', 'pytz.lazy', 'pytz.tzinfo', 'pytz.tzfile', 'pytz', 'apscheduler.events', 'apscheduler.executors.base', 'multiprocessing.queues', 'concurrent.futures.process', 'apscheduler.executors.pool', 'apscheduler.jobstores', 'apscheduler.jobstores.base', 'apscheduler.util', 'apscheduler.jobstores.memory', 'apscheduler.triggers', 'apscheduler.triggers.base', 'apscheduler.job', 'apscheduler.schedulers.base', 'apscheduler.schedulers.blocking', 'apscheduler.schedulers.background', 'app.controllers.agents', 'app.controllers.agents.sensitivity_analysis_agent', 'numpy._globals', 'numpy.__config__', 'numpy._version', 'numpy._distributor_init', 'numpy.version', 'numpy.core._multiarray_umath', 'numpy.compat._inspect', 'numpy.compat.py3k', 'numpy.compat', 'numpy.core.overrides', 'numpy.core.multiarray', 'numpy.core.umath', 'numpy.core._string_helpers', 'numpy.core._dtype', 'numpy.core._type_aliases', 'numpy.core.numerictypes', 'numpy.core._exceptions', 'numpy.core._methods', 'numpy.core.fromnumeric', 'numpy.core.shape_base', 'numpy.core._ufunc_config', 'numpy.core.arrayprint', 'numpy.core._asarray', 'numpy.core.numeric', 'numpy.core.defchararray', 'numpy.core.records', 'numpy.core.memmap', 'numpy.core.function_base', 'numpy.core.machar', 'numpy.core.getlimits', 'numpy.core.einsumfunc', 'numpy.core._multiarray_tests', 'numpy.core._add_newdocs', 'numpy.core._add_newdocs_scalars', 'numpy.core._dtype_ctypes', '_ctypes', 'ctypes._endian', 'ctypes', 'numpy.core._internal', 'numpy._pytesttester', 'numpy.core', 'numpy.lib.mixins', 'numpy.lib.ufunclike', 'numpy.lib.type_check', 'numpy.lib.scimath', 'numpy.lib.stride_tricks', 'numpy.lib.twodim_base', 'numpy.linalg.lapack_lite', 'numpy.linalg._umath_linalg', 'numpy.linalg.linalg', 'numpy.linalg', 'numpy.matrixlib.defmatrix', 'numpy.matrixlib', 'numpy.lib.histograms', 'numpy.lib.function_base', 'numpy.lib.index_tricks', 'numpy.lib.nanfunctions', 'numpy.lib.shape_base', 'numpy.lib.polynomial', 'numpy.lib.utils', 'numpy.lib.arraysetops', 'numpy.lib.format', 'numpy.lib._datasource', 'numpy.lib._iotools', 'numpy.lib.npyio', 'numpy.lib.arrayterator', 'numpy.lib.arraypad', 'numpy.lib._version', 'numpy.lib', 'numpy.fft._pocketfft_internal', 'numpy.fft._pocketfft', 'numpy.fft.helper', 'numpy.fft', 'numpy.polynomial.polyutils', 'numpy.polynomial._polybase', 'numpy.polynomial.polynomial', 'numpy.polynomial.chebyshev', 'numpy.polynomial.legendre', 'numpy.polynomial.hermite', 'numpy.polynomial.hermite_e', 'numpy.polynomial.laguerre', 'numpy.polynomial', '_cython_0_29_24', 'numpy.random._common', 'hmac', 'secrets', 'numpy.random.bit_generator', 'numpy.random._bounded_integers', 'numpy.random._mt19937', 'numpy.random.mtrand', 'numpy.random._philox', 'numpy.random._pcg64', 'numpy.random._sfc64', 'numpy.random._generator', 'numpy.random._pickle', 'numpy.random', 'numpy.ctypeslib', 'numpy.ma.core', 'numpy.ma.extras', 'numpy.ma', 'numpy', 'dateutil._version', 'dateutil', 'mmap', 'pandas._typing', 'pandas._libs.tslibs.dtypes', 'pandas._libs.tslibs.base', 'pandas._libs.tslibs.np_datetime', 'pandas._libs.tslibs.nattype', 'six.moves', 'dateutil.tz._common', 'dateutil.tz._factories', 'dateutil.tz.tz', 'dateutil.tz', 'pandas._libs.tslibs.timezones', 'pandas._libs.tslibs.ccalendar', 'pandas._libs.tslibs.tzconversion', 'pandas._config.config', 'pandas._config.dates', 'pandas._config.display', 'pandas._config', 'pandas._config.localization', 'pandas._libs.tslibs.strptime', 'pandas._libs.tslibs.fields', 'pandas._libs.tslibs.timedeltas', 'pandas._libs.tslibs.timestamps', 'dateutil.easter', 'dateutil._common', 'dateutil.relativedelta', 'pandas._libs.properties', 'pandas._libs.tslibs.offsets', 'dateutil.parser._parser', 'dateutil.parser.isoparser', 'dateutil.parser', 'pandas._libs.tslibs.parsing', 'pandas._libs.tslibs.conversion', 'pandas._libs.tslibs.period', 'pandas._libs.tslibs.vectorized', 'pandas._libs.tslibs', 'pandas._libs.ops_dispatch', 'pandas._libs.missing', 'pandas._libs.hashtable', 'pandas._libs.algos', 'pandas._libs.interval', 'pandas._libs', 'pandas.util._decorators', 'pandas.core', 'pandas.core.util', 'pandas._libs.tslib', 'pandas._libs.lib', 'pandas._libs.hashing', 'pandas.core.dtypes', 'pandas.errors', 'pandas.core.dtypes.generic', 'pandas.core.dtypes.base', 'pandas.core.dtypes.inference', 'pandas.core.dtypes.dtypes', 'pandas.core.dtypes.common', 'pandas.core.util.hashing', 'pandas.util', 'pandas.util.version', 'pandas.compat.numpy', 'pandas.compat.pyarrow', 'pandas.compat', 'pandas.core.config_init', 'pandas.core.dtypes.missing', 'pandas.util._exceptions', 'pandas.util._validators', 'pandas.core.dtypes.cast', 'pandas.core.array_algos', 'pandas.core.common', 'pandas.core.construction', 'pandas.core.array_algos.take', 'pandas.core.indexers', 'pandas.core.algorithms', 'pandas.compat.numpy.function', 'pandas.compat._optional', 'pandas.core.missing', 'pandas.core.roperator', 'pandas._libs.ops', 'pandas.core.computation', 'pandas.core.computation.check', 'pandas.core.computation.expressions', 'pandas.core.ops.missing', 'pandas.core.ops.dispatch', 'pandas.core.ops.invalid', 'pandas.core.ops.array_ops', 'pandas.core.ops.common', 'pandas.core.ops.docstrings', 'pandas.core.ops.mask_ops', 'pandas.core.ops.methods', 'pandas.core.ops', 'pandas.core.sorting', 'pandas.core.arrays.base', 'pandas.core.nanops', 'pandas.core.array_algos.masked_reductions', 'pandas.core.arraylike', 'pandas.core.arrays.masked', 'pandas.core.arrays.boolean', '_csv', 'csv', 'pandas._libs.arrays', 'pandas.core.accessor', 'pandas.core.array_algos.transforms', 'pandas.core.arrays._mixins', 'pandas.core.base', 'pandas.core.strings.accessor', 'pandas.core.strings.base', 'pandas.core.strings', 'unicodedata', 'pandas.core.strings.object_array', 'pandas.io', 'pandas.io.formats', 'pandas.io.formats.console', 'pandas.core.arrays.categorical', 'pandas.tseries', 'pandas.tseries.frequencies', 'pandas.core.arrays.datetimelike', 'pandas.core.arrays._ranges', 'pandas.core.arrays.numeric', 'pandas.core.tools', 'pandas.core.tools.numeric', 'pandas.core.arrays.integer', 'pandas.tseries.offsets', 'pandas.core.arrays.datetimes', 'pandas.core.arrays.floating', 'pandas.core.indexes', 'pandas._libs.index', 'pandas._libs.join', 'pandas._libs.sparse', 'pandas.core.arrays.sparse.dtype', 'pandas.io.formats.printing', 'pandas.core.arrays.sparse.array', 'pandas.core.arrays.sparse.accessor', 'pandas.core.arrays.sparse', 'pandas.core.dtypes.concat', 'pandas.core.array_algos.putmask', 'pandas.core.indexes.frozen', 'pandas.core.indexes.base', 'pandas.core.arrays.interval', 'pandas.core.arrays.numpy_', 'pandas.core.arrays.period', 'pandas.core.arrays.string_', 'pandas.core.arrays.string_arrow', 'pandas.core.arrays.timedeltas', 'pandas.core.arrays', 'pandas.core.flags', 'pandas._libs.reduction', 'pandas.core.indexes.extension', 'pandas.core.indexes.category', 'pandas.core.indexes.numeric', 'pandas.core.tools.timedeltas', 'pandas.core.indexes.datetimelike', 'pandas.core.tools.times', 'pandas.core.indexes.datetimes', 'pandas.core.indexes.multi', 'pandas.core.indexes.timedeltas', 'pandas.core.indexes.interval', 'pandas.core.indexes.period', 'pandas.core.indexes.range', 'pandas.core.indexes.api', 'pandas.core.aggregation', 'pandas.core.apply', 'gc', 'pandas._libs.indexing', 'pandas.core.indexing', 'pandas.core.reshape', 'pandas._libs.internals', 'pandas._libs.writers', 'pandas.core.array_algos.quantile', 'pandas.core.array_algos.replace', 'pandas.core.internals.blocks', 'pandas.core.internals.api', 'pandas.core.internals.base', 'pandas.core.internals.array_manager', 'pandas.core.internals.ops', 'pandas.core.internals.managers', 'pandas.core.internals.concat', 'pandas.core.internals', 'pandas.core.reshape.concat', 'pandas.io.common', 'pandas.io.formats.format', 'pandas.core.describe', 'pandas.core.internals.construction', 'pandas.core.shared_docs', 'pandas._libs.window', 'pandas._libs.window.aggregations', 'pandas.core.util.numba_', 'pandas.core.window.common', 'pandas.core.window.doc', 'pandas._libs.window.indexers', 'pandas.core.window.indexers', 'pandas.core.window.numba_', 'pandas.core.window.online', 'pandas.core.window.rolling', 'pandas.core.window.ewm', 'pandas.core.window.expanding', 'pandas.core.window', 'pandas.core.generic', 'pandas.core.reshape.util', 'pandas.core.reshape.melt', 'pandas._libs.reshape', 'pandas.core.indexes.accessors', 'pandas.arrays', 'pandas.core.tools.datetimes', 'pandas.plotting._core', 'pandas.plotting._misc', 'pandas.plotting', 'pandas.core.series', 'pandas.io.formats.info', 'pandas.core.frame', 'pandas.core.groupby.base', 'pandas._libs.groupby', 'pandas.core.groupby.numba_', 'pandas.core.groupby.categorical', 'pandas.core.groupby.grouper', 'pandas.core.groupby.ops', 'pandas.core.groupby.groupby', 'pandas.core.groupby.generic', 'pandas.core.groupby', 'pandas.core.api', 'pandas.tseries.api', 'pandas.core.computation.common', 'pandas.core.computation.align', 'pandas.compat.chainmap', 'pandas.core.computation.scope', 'pandas.core.computation.ops', 'pandas.core.computation.parsing', 'pandas.core.computation.expr', 'pandas.core.computation.engines', 'pandas.core.computation.eval', 'pandas.core.computation.api', 'pandas.core.reshape.merge', 'pandas.core.reshape.pivot', 'pandas.core.reshape.reshape', 'pandas.core.reshape.tile', 'pandas.core.reshape.api', 'pandas.api.extensions', 'pandas.api.indexers', 'pandas.core.dtypes.api', 'pandas.api.types', 'pandas.api', 'pandas.util._print_versions', 'pandas.io.clipboards', 'pandas._libs.parsers', 'pandas.io.excel._util', 'pandas.io.date_converters', 'pandas.io.parsers.base_parser', 'pandas.io.parsers.c_parser_wrapper', 'pandas.io.parsers.python_parser', 'pandas.io.parsers.readers', 'pandas.io.parsers', 'pandas.io.excel._odfreader', 'pandas.io.excel._openpyxl', 'pandas.io.excel._pyxlsb', 'pandas.io.excel._xlrd', 'pandas.io.excel._base', 'pandas._libs.json', 'pandas.io.formats._color_data', 'pandas.io.formats.css', 'pandas.io.formats.excel', 'pandas.io.excel._odswriter', 'pandas.io.excel._xlsxwriter', 'pandas.io.excel._xlwt', 'pandas.io.excel', 'pandas.io.feather_format', 'pandas.io.gbq', 'pandas.io.html', 'pandas.io.json._normalize', 'pandas.io.json._table_schema', 'pandas.io.json._json', 'pandas.io.json', 'pandas.io.orc', 'pandas.io.parquet', 'pandas.compat.pickle_compat', 'pandas.io.pickle', 'pandas.core.computation.pytables', 'pandas.io.pytables', 'pandas.io.sas.sasreader', 'pandas.io.sas', 'pandas.io.spss', 'pandas.io.sql', 'pandas.io.stata', 'pandas.io.xml', 'pandas.io.api', 'pandas.util._tester', 'pandas._testing._random', 'pandas._testing.contexts', 'pandas._testing._io', 'pandas._testing._warnings', 'cmath', 'pandas._libs.testing', 'pandas._testing.asserters', 'pandas._testing.compat', 'pandas._testing', 'pandas.testing', 'pandas._version', 'pandas', 'sandu', 'sandu.gaussian_process_emulator', 'sklearn._config', 'sklearn._distributor_init', 'sklearn.__check_build._check_build', 'sklearn.__check_build', 'timeit', 'scipy._lib._testutils', 'scipy._lib', 'scipy._lib.deprecation', 'scipy.__config__', 'scipy.version', 'scipy._distributor_init', 'scipy._lib._pep440', 'scipy._lib._ccallback_c', 'scipy._lib._ccallback', 'scipy', 'scipy._lib._util', 'scipy.sparse.sputils', 'scipy.sparse.base', 'scipy.sparse._sparsetools', 'scipy.sparse.data', 'scipy.sparse.dia', 'scipy.sparse._index', 'scipy.sparse.compressed', 'scipy.sparse.csr', 'scipy.sparse.csc', 'scipy.sparse._csparsetools', 'scipy.sparse.lil', 'scipy.sparse.dok', 'scipy.sparse.coo', 'scipy.sparse.bsr', 'scipy.sparse.construct', 'scipy.sparse.extract', 'scipy.sparse._matrix_io', 'scipy.sparse.csgraph._laplacian', 'scipy.sparse.csgraph._tools', 'scipy.sparse.csgraph._validation', 'scipy.sparse.csgraph._shortest_path', 'scipy.sparse.csgraph._traversal', 'scipy.sparse.csgraph._min_spanning_tree', 'scipy.sparse.csgraph._flow', 'scipy.sparse.csgraph._matching', 'scipy.sparse.csgraph._reordering', 'scipy.sparse.csgraph', 'scipy.sparse', 'sklearn.utils.murmurhash', 'sklearn.utils.class_weight', 'pydoc', 'joblib.hashing', 'joblib.disk', 'joblib.logger', 'joblib.func_inspect', 'setuptools._distutils', 'distutils.debug', 'distutils.errors', 'getopt', 'distutils.fancy_getopt', 'distutils.dep_util', 'setuptools._distutils.log', 'distutils.spawn', 'distutils.py35compat', 'distutils.util', 'distutils.dist', 'setuptools._distutils.dir_util', 'setuptools._distutils.file_util', 'distutils.dir_util', 'setuptools._distutils.archive_util', 'distutils.cmd', 'configparser', 'distutils.config', 'distutils.extension', 'distutils.core', '_distutils_hack.override', 'setuptools._deprecation_warning', 'setuptools.version', 'distutils.filelist', 'setuptools.monkey', 'setuptools.extension', 'distutils.log', 'distutils.command', 'setuptools.extern', 'setuptools._vendor', 'setuptools._vendor.packaging.__about__', 'setuptools._vendor.packaging', 'setuptools.extern.packaging', 'setuptools._vendor.ordered_set', 'setuptools.extern.ordered_set', 'setuptools._vendor.more_itertools.recipes', 'setuptools._vendor.more_itertools.more', 'setuptools._vendor.more_itertools', 'setuptools.extern.more_itertools', 'distutils.command.bdist', 'setuptools.command', 'setuptools.windows_support', 'setuptools.extern.packaging._structures', 'setuptools.extern.packaging.version', 'setuptools._vendor.packaging._manylinux', 'setuptools._vendor.packaging._musllinux', 'setuptools.extern.packaging.tags', 'setuptools.extern.packaging.utils', 'setuptools.extern.packaging.specifiers', 'setuptools.config', 'setuptools.dist', 'setuptools.py34compat', 'setuptools._imp', 'setuptools.depends', 'setuptools.logging', 'distutils.file_util', 'distutils.ccompiler', 'setuptools.msvc', 'setuptools', 'distutils', 'distutils.version', 'joblib.backports', 'joblib.compressor', 'joblib.numpy_pickle_utils', 'joblib.numpy_pickle_compat', 'joblib.numpy_pickle', 'joblib._store_backends', 'joblib.memory', 'joblib._multiprocessing_helpers', 'joblib._deprecated_my_exceptions', 'joblib.my_exceptions', 'joblib.externals', 'joblib.externals.loky._base', 'joblib.externals.loky.backend.compat_posix', 'joblib.externals.loky.backend.compat', 'joblib.externals.loky.backend.process', 'joblib.externals.loky.backend.context', 'multiprocessing.synchronize', 'joblib.externals.loky.backend', 'joblib.externals.loky.backend._posix_reduction', 'joblib.externals.cloudpickle.compat', 'joblib.externals.cloudpickle.cloudpickle', 'joblib.externals.cloudpickle.cloudpickle_fast', 'joblib.externals.cloudpickle', 'joblib.externals.loky.backend.reduction', 'joblib.externals.loky.backend.queues', 'joblib.externals.loky.backend.utils', 'joblib.externals.loky.initializers', 'joblib.externals.loky.process_executor', 'joblib.externals.loky.reusable_executor', 'joblib.externals.loky.cloudpickle_wrapper', 'joblib.externals.loky', 'joblib.externals.loky.backend.spawn', 'joblib.externals.loky.backend.resource_tracker', 'joblib._memmapping_reducer', 'multiprocessing.pool', 'joblib.pool', 'joblib.executor', 'joblib._parallel_backends', 'joblib.parallel', 'joblib', 'sklearn.utils._joblib', 'sklearn.utils.deprecation', 'sklearn.exceptions', 'scipy.spatial.ckdtree', 'scipy.spatial.kdtree', 'scipy._lib.messagestream', 'scipy.spatial.qhull', 'scipy.spatial._voronoi', 'scipy.spatial._spherical_voronoi', 'scipy._lib.decorator', 'scipy.spatial._plotutils', 'scipy.linalg._fblas', 'scipy.linalg.blas', 'scipy.linalg._flapack', 'scipy.linalg.lapack', 'scipy.linalg.misc', 'scipy.linalg._flinalg', 'scipy.linalg.flinalg', 'scipy.linalg.decomp', 'scipy.linalg.decomp_svd', 'scipy.linalg._solve_toeplitz', 'scipy.linalg.basic', 'scipy.linalg.decomp_lu', 'scipy.linalg._decomp_ldl', 'scipy.linalg.decomp_cholesky', 'scipy.linalg.decomp_qr', 'scipy.linalg._decomp_qz', 'scipy.linalg.decomp_schur', 'scipy.linalg._decomp_polar', 'scipy.linalg.special_matrices', 'scipy.linalg._expm_frechet', 'scipy.linalg._matfuncs_sqrtm_triu', 'scipy.linalg._matfuncs_sqrtm', 'scipy.linalg.matfuncs', 'scipy.linalg._solvers', 'scipy.linalg._procrustes', 'scipy.linalg.cython_blas', 'scipy.linalg.cython_lapack', 'scipy.linalg._decomp_update', 'scipy.linalg._sketches', 'scipy.linalg._decomp_cossin', 'scipy.linalg', 'scipy.spatial._procrustes', 'scipy.spatial._distance_wrap', 'scipy.spatial._hausdorff', 'scipy.special.sf_error', 'scipy.special._ufuncs_cxx', 'scipy.special._ufuncs', 'scipy.special.specfun', 'scipy.special.orthogonal', 'scipy.special._comb', 'scipy.special._basic', 'scipy.special._logsumexp', 'scipy.special.spfun_stats', 'scipy.special._ellip_harm_2', 'scipy.special._ellip_harm', 'scipy.special._lambertw', 'scipy.special._spherical_bessel', 'scipy.special', 'scipy.spatial._distance_pybind', 'scipy.spatial.distance', 'scipy.spatial._geometric_slerp', 'scipy.constants.codata', 'scipy.constants.constants', 'scipy.constants', 'scipy.spatial.transform._rotation_groups', 'scipy.spatial.transform.rotation', 'scipy.spatial.transform._rotation_spline', 'scipy.spatial.transform', 'scipy.spatial', 'scipy.ndimage._ni_support', 'scipy.ndimage._nd_image', 'scipy._lib.doccer', 'scipy.ndimage._ni_docstrings', 'scipy.ndimage.filters', 'scipy.ndimage.fourier', 'scipy.ndimage.interpolation', '_ni_label', 'scipy.ndimage._ni_label', 'scipy.ndimage.morphology', 'scipy.ndimage.measurements', 'scipy.ndimage', 'scipy.stats._distr_params', 'scipy.optimize.minpack2', 'scipy.optimize.linesearch', 'scipy.sparse.linalg.isolve._iterative', 'scipy.sparse.linalg.interface', 'scipy.sparse.linalg.isolve.utils', 'scipy._lib._threadsafety', 'scipy.sparse.linalg.isolve.iterative', 'scipy.sparse.linalg.isolve.minres', 'scipy.sparse.linalg.isolve._gcrotmk', 'scipy.sparse.linalg.isolve.lgmres', 'scipy.sparse.linalg.isolve.lsqr', 'scipy.sparse.linalg.isolve.lsmr', 'scipy.sparse.linalg.isolve', 'scipy.sparse.linalg.dsolve._superlu', 'scipy.sparse.linalg.dsolve.linsolve', 'scipy.sparse.linalg.dsolve._add_newdocs', 'scipy.sparse.linalg.dsolve', 'scipy.sparse.linalg.eigen.arpack._arpack', 'scipy.sparse.linalg.eigen.lobpcg.lobpcg', 'scipy.sparse.linalg.eigen.lobpcg', 'scipy.sparse.linalg.eigen.arpack.arpack', 'scipy.sparse.linalg.eigen.arpack', 'scipy.sparse.linalg.eigen', 'scipy.sparse.linalg._expm_multiply', 'scipy.sparse.linalg.matfuncs', 'scipy.sparse.linalg._onenormest', 'scipy.sparse.linalg._norm', 'scipy.sparse.linalg', 'scipy.optimize._group_columns', 'scipy.optimize._numdiff', 'scipy.optimize._hessian_update_strategy', 'scipy.optimize._differentiable_functions', 'scipy.optimize.optimize', 'scipy.optimize._trustregion', 'scipy.optimize._trustregion_dogleg', 'scipy.optimize._trustregion_ncg', 'scipy.optimize._trlib._trlib', 'scipy.optimize._trlib', 'scipy.optimize._trustregion_krylov', 'scipy.optimize._trustregion_exact', 'unittest.util', 'unittest.result', 'difflib', 'unittest.case', 'unittest.suite', 'unittest.loader', 'argparse', 'unittest.signals', 'unittest.runner', 'unittest.main', 'unittest', 'numpy.testing._private', 'numpy.testing._private.utils', 'numpy.testing._private.decorators', 'numpy.testing._private.nosetester', 'numpy.testing', 'scipy.optimize._constraints', 'scipy.optimize._trustregion_constr.projections', 'scipy.optimize._trustregion_constr.qp_subproblem', 'scipy.optimize._trustregion_constr.equality_constrained_sqp', 'scipy.optimize._trustregion_constr.canonical_constraint', 'scipy.optimize._trustregion_constr.tr_interior_point', 'scipy.optimize._trustregion_constr.report', 'scipy.optimize._trustregion_constr.minimize_trustregion_constr', 'scipy.optimize._trustregion_constr', 'scipy.optimize._lbfgsb', 'scipy.optimize.lbfgsb', 'scipy.optimize.moduleTNC', 'scipy.optimize.tnc', 'scipy.optimize._cobyla', 'scipy.optimize.cobyla', 'scipy.optimize._slsqp', 'scipy.optimize.slsqp', 'scipy.optimize._minimize', 'scipy.optimize._minpack', 'scipy.optimize._lsq.common', 'scipy.optimize._lsq.trf', 'scipy.optimize._lsq.dogbox', 'scipy.optimize._lsq.least_squares', 'scipy.optimize._lsq.givens_elimination', 'scipy.optimize._lsq.trf_linear', 'scipy.optimize._lsq.bvls', 'scipy.optimize._lsq.lsq_linear', 'scipy.optimize._lsq', 'scipy.optimize.minpack', 'scipy.optimize._spectral', 'scipy.optimize.nonlin', 'scipy.optimize._root', 'scipy.optimize._zeros', 'scipy.optimize.zeros', 'scipy.optimize._root_scalar', 'scipy.optimize.__nnls', 'scipy.optimize._nnls', 'scipy.optimize._basinhopping', 'scipy.optimize._highs', 'scipy.optimize._highs.cython.src._highs_wrapper', 'scipy.optimize._highs._highs_wrapper', 'scipy.optimize._highs.cython.src._highs_constants', 'scipy.optimize._highs._highs_constants', 'scipy.optimize._linprog_highs', 'scipy.linalg._interpolative', 'scipy.linalg._interpolative_backend', 'scipy.linalg.interpolative', 'scipy.optimize._remove_redundancy', 'scipy.optimize._linprog_util', 'scipy.optimize._linprog_ip', 'scipy.optimize._linprog_simplex', 'scipy.optimize._bglu_dense', 'scipy.optimize._linprog_rs', 'scipy.optimize._linprog_doc', 'scipy.optimize._linprog', 'scipy.optimize._lsap_module', 'scipy.optimize._lsap', 'scipy.optimize._differentialevolution', 'scipy.optimize._shgo_lib', 'scipy.optimize._shgo_lib.triangulation', 'scipy.optimize._shgo', 'scipy.optimize._dual_annealing', 'scipy.optimize._qap', 'scipy.optimize', 'scipy.integrate._quadrature', 'scipy.integrate._odepack', 'scipy.integrate.odepack', 'scipy.integrate._quadpack', 'scipy.integrate.quadpack', 'scipy.integrate.vode', 'scipy.integrate._dop', 'scipy.integrate.lsoda', 'scipy.integrate._ode', 'scipy.integrate._bvp', 'scipy.integrate._ivp.common', 'scipy.integrate._ivp.base', 'scipy.integrate._ivp.bdf', 'scipy.integrate._ivp.radau', 'scipy.integrate._ivp.dop853_coefficients', 'scipy.integrate._ivp.rk', 'scipy.integrate._ivp.lsoda', 'scipy.integrate._ivp.ivp', 'scipy.integrate._ivp', 'scipy.integrate._quad_vec', 'scipy.integrate', 'scipy.misc.doccer', 'scipy.misc.common', 'scipy.misc', 'scipy.stats._constants', 'scipy.stats._distn_infrastructure', 'scipy.interpolate._fitpack', 'scipy.interpolate.dfitpack', 'scipy.interpolate._fitpack_impl', 'scipy.interpolate._bspl', 'scipy.interpolate._bsplines', 'scipy.interpolate.fitpack', 'scipy.interpolate.polyint', 'scipy.interpolate._ppoly', 'scipy.interpolate.fitpack2', 'scipy.interpolate.interpnd', 'scipy.interpolate.interpolate', 'scipy.interpolate.rbf', 'scipy.interpolate._rbfinterp_pythran', 'scipy.interpolate._rbfinterp', 'scipy.interpolate._cubic', 'scipy.interpolate.ndgriddata', 'scipy.interpolate._pade', 'scipy.interpolate', 'scipy.special.cython_special', 'scipy.stats._stats', 'scipy.stats._rvs_sampling', 'scipy.stats._tukeylambda_stats', 'scipy.stats._ksstats', 'beta_ufunc', 'scipy.stats._boost.beta_ufunc', 'binom_ufunc', 'scipy.stats._boost.binom_ufunc', 'nbinom_ufunc', 'scipy.stats._boost.nbinom_ufunc', 'scipy.stats._boost', 'scipy.stats._continuous_distns', 'scipy.stats.biasedurn', 'scipy.stats._discrete_distns', 'scipy.stats._entropy', 'scipy.stats.distributions', 'scipy._lib._bunch', 'scipy.stats._stats_mstats_common', 'scipy.stats.mstats_basic', 'scipy.stats._wilcoxon_data', 'scipy.stats._hypotests', 'scipy.stats.stats', 'scipy.stats.statlib', 'scipy.stats._common', 'scipy.stats._relative_risk', 'scipy.stats._crosstab', 'scipy.stats.contingency', 'scipy.stats.morestats', 'scipy.stats._binomtest', 'scipy.stats._binned_statistic', 'scipy.stats.mvn', 'scipy.stats.kde', 'scipy.stats.mstats_extras', 'scipy.stats.mstats', 'scipy.stats._sobol', 'scipy.stats._qmc_cy', 'scipy.stats._qmc', 'scipy.stats.qmc', 'scipy.stats._multivariate', 'scipy.stats._bootstrap', 'scipy.stats._page_trend_test', 'scipy.stats._mannwhitneyu', 'scipy.stats', 'ctypes.util', 'threadpoolctl', 'sklearn.externals', 'sklearn.externals._packaging', 'sklearn.externals._packaging._structures', 'sklearn.externals._packaging.version', 'sklearn.utils.fixes', 'sklearn.utils._estimator_html_repr', 'sklearn.utils.validation', 'sklearn.utils', 'sklearn.utils._tags', 'sklearn.base', 'sklearn.utils._openmp_helpers', 'sklearn.utils._show_versions', 'sklearn', 'sklearn.utils.multiclass', 'sklearn.utils._logistic_sigmoid', 'sklearn.utils.sparsefuncs_fast', 'sklearn.utils.extmath', 'sklearn.utils.sparsefuncs', 'sklearn.preprocessing._function_transformer', 'sklearn.utils._mask', 'sklearn.utils._encode', 'sklearn.preprocessing._encoders', 'sklearn.preprocessing._data', 'sklearn.preprocessing._label', 'sklearn.preprocessing._discretization', 'sklearn.utils.stats', 'sklearn.preprocessing._csr_polynomial_expansion', 'sklearn.preprocessing._polynomial', 'sklearn.preprocessing', 'sklearn.metrics._base', 'sklearn.metrics._ranking', 'sklearn.metrics._classification', 'sklearn.utils._typedefs', 'sklearn.utils._readonly_array_wrapper', 'sklearn.metrics._dist_metrics', 'sklearn.metrics.cluster._expected_mutual_info_fast', 'sklearn.metrics.cluster._supervised', 'sklearn.metrics._pairwise_fast', 'sklearn.metrics.pairwise', 'sklearn.metrics.cluster._unsupervised', 'sklearn.metrics.cluster._bicluster', 'sklearn.metrics.cluster', 'sklearn._loss', 'sklearn._loss.glm_distribution', 'sklearn.metrics._regression', 'sklearn.metrics._scorer', 'sklearn.metrics._plot', 'sklearn.metrics._plot.base', 'sklearn.metrics._plot.det_curve', 'sklearn.metrics._plot.roc_curve', 'sklearn.metrics._plot.precision_recall_curve', 'sklearn.metrics._plot.confusion_matrix', 'sklearn.metrics', 'sklearn.gaussian_process.kernels', 'sklearn.utils.optimize', 'sklearn.gaussian_process._gpr', 'sklearn.utils.metaestimators', 'sklearn.multiclass', 'sklearn.gaussian_process._gpc', 'sklearn.gaussian_process', 'matplotlib', 'packaging.__about__', 'packaging', 'packaging._structures', 'packaging.version', 'matplotlib._api.deprecation', 'matplotlib._api', 'matplotlib._version', 'matplotlib._c_internal_utils', 'matplotlib.cbook', 'matplotlib.docstring', 'PIL._version', 'PIL', 'PIL.ImageMode', 'PIL.TiffTags', 'PIL._binary', 'PIL._util', 'PIL._imaging', 'cffi.lock', 'cffi.error', 'cffi.model', 'cffi.api', 'cffi', 'PIL.Image', 'PIL.ImageChops', 'PIL.ImageFile', 'PIL.GimpGradientFile', 'PIL.GimpPaletteFile', 'PIL.ImageColor', 'PIL.PaletteFile', 'PIL.ImagePalette', 'PIL.ImageSequence', 'PIL.PngImagePlugin', 'matplotlib._path', 'matplotlib.bezier', 'matplotlib.path', 'matplotlib.transforms', 'matplotlib.ticker', 'matplotlib.scale', 'matplotlib._color_data', 'matplotlib.colors', 'pyparsing.util', 'pyparsing.unicode', 'pyparsing.exceptions', 'pyparsing.actions', 'pyparsing.results', 'pyparsing.core', 'pyparsing.helpers', 'pyparsing.testing', 'pyparsing.common', 'pyparsing', 'matplotlib.fontconfig_pattern', 'matplotlib._enums', 'cycler', 'matplotlib.rcsetup', 'matplotlib.ft2font', 'kiwisolver']
2022-01-22 15:02:40.042 | DEBUG    | matplotlib.font_manager:_load_fontmanager:1431 - CACHEDIR=/home/saifulkhan/.cache/matplotlib
2022-01-22 15:02:40.043 | DEBUG    | matplotlib.font_manager:<module>:1447 - Using fontManager instance from /home/saifulkhan/.cache/matplotlib/fontlist-v330.json
2022-01-22 15:02:40.330 | DEBUG    | matplotlib.pyplot:switch_backend:247 - Loaded backend tkagg version unknown.
2022-01-22 15:02:40.330 | DEBUG    | matplotlib.pyplot:<module>:2230 - Loaded backend TkAgg version unknown.
2022-01-22 15:02:40.464 | DEBUG    | importlib._bootstrap:_call_with_frames_removed:228 - Creating converter from 7 to 5
2022-01-22 15:02:40.464 | DEBUG    | importlib._bootstrap:_call_with_frames_removed:228 - Creating converter from 5 to 7
2022-01-22 15:02:40.465 | DEBUG    | importlib._bootstrap:_call_with_frames_removed:228 - Creating converter from 7 to 5
2022-01-22 15:02:40.465 | DEBUG    | importlib._bootstrap:_call_with_frames_removed:228 - Creating converter from 5 to 7
/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/venv/lib/python3.9/site-packages/apscheduler/util.py:95: PytzUsageWarning: The zone attribute is specific to pytz's interface; please migrate to a new time zone provider. For more details on how to do so, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html
  if obj.zone == 'local':
2022-01-22 15:02:40.795 | INFO     | app.controllers.agents:<module>:64 - Adding job tentatively -- it will be properly scheduled when the scheduler starts
/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/venv/lib/python3.9/site-packages/apscheduler/triggers/cron/__init__.py:146: PytzUsageWarning: The normalize method is no longer necessary, as this time zone supports the fold attribute (PEP 495). For more details on migrating to a PEP 495-compliant implementation, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html
  return self.timezone.normalize(dateval + difference), fieldnum
2022-01-22 15:02:40.796 | INFO     | apscheduler.schedulers.base:start:167 - Added job "run_agents" to job store "default"
2022-01-22 15:02:40.796 | INFO     | apscheduler.schedulers.background:start:35 - Scheduler started
2022-01-22 15:02:40.796 | DEBUG    | apscheduler.schedulers.blocking:_main_loop:32 - Looking for jobs to run
2022-01-22 15:02:40.796 | DEBUG    | apscheduler.schedulers.blocking:_main_loop:32 - Next wakeup is due at 2022-01-23 00:00:00+00:00 (in 32239.203104 seconds)
Download owid ...
/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/venv/lib/python3.9/site-packages/apscheduler/util.py:95: PytzUsageWarning: The zone attribute is specific to pytz's interface; please migrate to a new time zone provider. For more details on how to do so, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html
  if obj.zone == 'local':
2022-01-22 15:02:40.857 | INFO     | app.controllers.process_data_controller:<module>:106 - Adding job tentatively -- it will be properly scheduled when the scheduler starts
2022-01-22 15:02:40.866 | INFO     | app.main:<module>:12 - PROJECT_NAME = rampvis:data-api
2022-01-22 15:02:40.866 | DEBUG    | app.main:<module>:13 - GLOBAL_CONFIG_OBJ = {'allowOriginRegex': '(http://(0\\.0\\.0\\.0|localhost)(:\\d+)?|)', 'mongodb': {'url': 'mongodb://localhost:27017/?directConnection=true', 'db': 'rampvis', 'collection': {'users': 'users', 'thumbnails': 'thumbnails', 'activities': 'activities', 'onto_page': 'onto_page', 'onto_vis': 'onto_vis', 'onto_data': 'onto_data'}}, 'es': {'host': 'http://localhost:9200', 'index': {'onto_page': 'onto_page'}}, 'github': {'clientId': '<set>', 'clientSecret': '<set>', 'callbackUrl': 'http://localhost:4000/api/v1/auth/github-callback', 'successRedirect': 'http://localhost:3000/auth/login', 'failureRedirect': 'http://localhost:3000/error-403'}, 'jwt': {'algorithm': 'RS256', 'pvtKey': 'config/keys/jwtRS256.key', 'pubKey': 'config/keys/jwtRS256.key.pub'}, 'session': {'secret': '<set>'}, 'apiUrl': '/api/v1', 'urlCode': {'API_JS': 'http://localhost:4000/api/v1', 'API_PY': 'http://localhost:4010/stat/v1'}}
INFO:     Started server process [35152]
2022-01-22 15:02:40.871 | INFO     | asyncio.events:_run:80 - Started server process [35152]
INFO:     Waiting for application startup.
2022-01-22 15:02:40.871 | INFO     | uvicorn.server:startup:95 - Waiting for application startup.
INFO:     Application startup complete.
2022-01-22 15:02:40.871 | INFO     | uvicorn.server:startup:95 - Application startup complete.
Download from URLs ...
2022-01-22 15:02:48.790 | DEBUG    | urllib3.connectionpool:_get_conn:281 - Starting new HTTPS connection (1): gist.githubusercontent.com:443
2022-01-22 15:02:49.050 | DEBUG    | urllib3.connectionpool:urlopen:703 - https://gist.githubusercontent.com:443 "GET /rampvisdevelopment/a73ff62e4b648541e5fa75ce0a5edae4/raw/example_sensitivity_input.json HTTP/1.1" 200 33754
2022-01-22 15:02:51.923 | DEBUG    | urllib3.connectionpool:_get_conn:281 - Starting new HTTPS connection (1): gist.githubusercontent.com:443
2022-01-22 15:02:52.127 | DEBUG    | urllib3.connectionpool:urlopen:703 - https://gist.githubusercontent.com:443 "GET /rampvisdevelopment/52a5836735eff0d33692cfd06d049197/raw/uncertainty_inventory.json HTTP/1.1" 200 80
2022-01-22 15:02:52.136 | DEBUG    | urllib3.connectionpool:_get_conn:281 - Starting new HTTPS connection (1): gist.githubusercontent.com:443
2022-01-22 15:02:52.334 | DEBUG    | urllib3.connectionpool:urlopen:703 - https://gist.githubusercontent.com:443 "GET /rampvisdevelopment/acb6a1e6e33d0358553d7de09d6232e0/raw/sensitivity_inventory.json HTTP/1.1" 200 840
Download from URLs has finished
Running Uncertainty Analysis Agents
CANNOT FIND  /home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/app/core/../../../data/live/models/uncertainty/uncertainty_inventory.json
Exception in thread Thread-4:
Traceback (most recent call last):
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 973, in _bootstrap_inner
CANNOT FIND  /home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/app/core/../../../data/live/models/uncertainty/uncertainty_inventory.json
Exception in thread Thread-5:
Traceback (most recent call last):
Converting ents files to sandu SensitivityInput objects.
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 973, in _bootstrap_inner
    self.run()
CANNOT FIND  /home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/app/core/../../../data/live/models/sensitivity/sensitivity_inventory.json
    self.run()
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 910, in run
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 910, in run
Exception in thread Thread-7:
    self._target(*self._args, **self._kwargs)
Traceback (most recent call last):
  File "/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/./app/controllers/agents/uncertainty_clustering_agent.py", line 71, in uncertainty_clustering_agent
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 973, in _bootstrap_inner
    self._target(*self._args, **self._kwargs)
    cluster_list = get_cluster_list(model_list)
  File "/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/./app/controllers/agents/uncertainty_mean_sample_agent.py", line 34, in uncertainty_mean_sample_agent
    self.run()
  File "/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/./app/controllers/agents/uncertainty_clustering_agent.py", line 56, in get_cluster_list
    for model in model_list:
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 910, in run
TypeError: 'NoneType' object is not iterable
    for model in models:
TypeError: 'NoneType' object is not iterable
    self._target(*self._args, **self._kwargs)
Uncertainty Clustering Complete
  File "/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/./app/controllers/agents/ents_to_sandu_agent.py", line 107, in ents_to_sandu_agent
Running Uncertainty Cluster Analysis
    for model in model_list:
TypeError: 'NoneType' object is not iterable
 SensitivityInput objects created from ents files.
CANNOT FIND  /home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/app/core/../../../data/live/models/uncertainty/uncertainty_inventory.json
Exception in thread Thread-9:
Traceback (most recent call last):
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 973, in _bootstrap_inner
Running Sensitivity Analysis Agents
    self.run()
CANNOT FIND  /home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/app/core/../../../data/live/models/sensitivity/sensitivity_inventory.json
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 910, in run
Exception in thread Thread-10:
CANNOT FIND  /home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/app/core/../../../data/live/models/sensitivity/sensitivity_inventory.json
    self._target(*self._args, **self._kwargs)
Traceback (most recent call last):
  File "/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/./app/controllers/agents/uncertainty_cluster_mean_sample_agent.py", line 59, in uncertainty_cluster_mean_sample_agent
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 973, in _bootstrap_inner
Exception in thread Thread-11:
    list_of_clusters = get_cluster_list(model_list)
    self.run()
  File "/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/./app/controllers/agents/uncertainty_cluster_mean_sample_agent.py", line 47, in get_cluster_list
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 910, in run
Traceback (most recent call last):
    self._target(*self._args, **self._kwargs)
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 973, in _bootstrap_inner
  File "/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/./app/controllers/agents/sensitivity_summary_curves_agent.py", line 69, in summary_curves_agent
    for model in models:
    self.run()
TypeError: 'NoneType' object is not iterable
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 910, in run
    calculate_summary_curves_on_models(model_list)
  File "/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/./app/controllers/agents/sensitivity_summary_curves_agent.py", line 56, in calculate_summary_curves_on_models
    self._target(*self._args, **self._kwargs)
  File "/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/./app/controllers/agents/sensitivity_clustering_agent.py", line 122, in sensitivity_clustering_agent
    cluster_list = get_cluster_list(model_list)
    for model in model_list:
  File "/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/./app/controllers/agents/sensitivity_clustering_agent.py", line 105, in get_cluster_list
TypeError: 'NoneType' object is not iterable
    for model in models:
TypeError: 'NoneType' object is not iterable
Sensitivity Clustering Complete
CANNOT FIND  /home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/app/core/../../../data/live/models/sensitivity/sensitivity_inventory.json
Exception in thread Thread-12:
Traceback (most recent call last):
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 973, in _bootstrap_inner
    self.run()
  File "/home/saifulkhan/anaconda3/lib/python3.9/threading.py", line 910, in run
    self._target(*self._args, **self._kwargs)
  File "/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/./app/controllers/agents/sensitivity_range_mean_sample_agent.py", line 83, in sensitivity_clustering_range_mean_agent
    cluster_list = get_cluster_list(model_list)
  File "/home/saifulkhan/CODE/RAMPVIS/rampvis-api/data-api/./app/controllers/agents/sensitivity_range_mean_sample_agent.py", line 48, in get_cluster_list
    for model in models:
TypeError: 'NoneType' object is not iterable
2022-01-22 15:03:04.747 | INFO     | app.algorithms.sim_search.cube_functions:cube_master:91 - cube_master will take a few minutes...

saifulkhan added a commit that referenced this issue Jan 24, 2022
* Added Logging

* Logging

* Fixed Logging

* Logger and Exceptions

* Uncommenting

* Fixed Logger

* Debugging

* Replaced Strings with Paths

* Logging

* Removed Space

* Only make relative location lower case

* Improved Logging Messages

* Updated Logging

* More Logging During Zip File Download

* backward compatible prefix and suffix removal

* Fixed Import

* refactor type for py3.8

Co-authored-by: saifulkhan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants