Code Monkey home page Code Monkey logo

Comments (3)

axch avatar axch commented on June 9, 2024
   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        1    0.001    0.001   61.224   61.224 check_stability.py:17(<module>)
        1    0.000    0.000   60.961   60.961 check_stability.py:60(analyze_fileset)
        4    0.000    0.000   60.923   15.231 check_stability.py:119(analyze_queries)
       68    0.001    0.000   60.547    0.890 bayesdb.py:131(execute)
       16    0.000    0.000   60.480    3.780 check_stability.py:32(country_purpose_queries)
       68    0.011    0.000   60.442    0.889 bql.py:38(execute_phrase)
       16    0.001    0.000   60.258    3.766 bqlfn.py:327(bayesdb_simulate)
       16    0.021    0.001   60.256    3.766 crosscat.py:1176(simulate)
       16    0.000    0.000   59.559    3.722 LocalEngine.py:293(simple_predictive_sample)
       16    0.000    0.000   59.559    3.722 LocalEngine.py:822(_do_simple_predictive_sample)
       16    0.000    0.000   59.558    3.722 sample_utils.py:251(simple_predictive_sample_multistate)
       24    0.000    0.000   59.557    2.482 sample_utils.py:219(simple_predictive_sample)
       24    1.040    0.043   59.557    2.482 sample_utils.py:531(simple_predictive_sample_unobserved)
    25000    0.106    0.000   55.931    0.002 sample_utils.py:518(create_cluster_model_from_X_L)
    30894    0.470    0.000   54.757    0.002 sample_utils.py:370(create_cluster_model)
   211693   10.927    0.000   54.291    0.000 sample_utils.py:358(create_component_model)
17285763/211693   21.519    0.000   43.120    0.000 copy.py:145(deepcopy)

The workload calls "simulate limit 1000" a few times.

from crosscat.

axch avatar axch commented on June 9, 2024

Fixed by 68eb07a

from crosscat.

riastradh-probcomp avatar riastradh-probcomp commented on June 9, 2024

This is not the only case. See also ensure_multistate in sample_utils.py:

# NOTE: We must do deepcopy or changes made to X_L (but, curiously,
# not X_D) hereafter shall be present in the original variables in
# the original scope.
# FIXME: The culprits are likely sparsify_X_L and desparsify_X_L in
# State.pyx
return copy.deepcopy(X_L_list), copy.deepcopy(X_D_list), was_multistate

from crosscat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.