Git Product home page Git Product logo

tsnn's Introduction

TSNN

third generation of natural language processing networks

enter image description here

tsnn's People

Contributors

deepsource-autofix[bot] avatar deepsourcebot avatar realamirhe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

tsnn's Issues

Iterations are slow

Every iteration takes 3.574s overall

Here is a table of time consuming function calls

ncalls cumtime percall filename:lineno(function)
1 3.574 3.574 code/dev/tsnn/src/main.py:38(main)
1 3.534 3.534 code/dev/tsnn/PymoNNto/NetworkCore/Network.py:337(simulate_iterations)
13000 3.529 0.000 code/dev/tsnn/PymoNNto/NetworkCore/Network.py:285(simulate_iteration)
13000 0.885 0.000 code/dev/tsnn/src/core/learning/delay.py:49(new_iteration)
13000 0.875 0.000 code/dev/tsnn/src/core/learning/stdp.py:88(new_iteration)
39009 0.567 0.000 <array_function internals>:2(clip)
39009 0.514 0.000 miniconda/lib/python3.8/site-packages/numpy/core/fromnumeric.py:2046(clip)
39277 0.492 0.000 miniconda/lib/python3.8/site-packages/numpy/core/fromnumeric.py:51(_wrapfunc)
39009 0.470 0.000 {method 'clip' of 'numpy.ndarray' objects}
39009 0.454 0.000 miniconda/lib/python3.8/site-packages/numpy/core/_methods.py:125(_clip)
39000 0.422 0.000 <array_function internals>:2(roll)
39000 0.363 0.000 miniconda/lib/python3.8/site-packages/numpy/core/numeric.py:1140(roll)
26000 0.338 0.000 code/dev/tsnn/src/core/neurons/neurons.py:41(new_iteration)
26000 0.324 0.000 code/dev/tsnn/src/core/neurons/trace.py:12(new_iteration)
78018 0.298 0.000 miniconda/lib/python3.8/site-packages/numpy/core/_methods.py:91(_clip_dep_is_scalar_nan)
64000 0.298 0.000 <array_function internals>:2(sum)
13000 0.268 0.000 code/dev/tsnn/src/core/metrics/metrics.py:52(new_iteration)
26000 0.260 0.000 code/dev/tsnn/src/helpers/base.py:17(selected_neurons_from_words)
64000 0.237 0.000 miniconda/lib/python3.8/site-packages/numpy/core/fromnumeric.py:2123(sum)
26000 0.198 0.000 code/dev/tsnn/PymoNNto/NetworkBehaviour/Recorder/Recorder.py:82(new_iteration)
68204 0.194 0.000 miniconda/lib/python3.8/site-packages/numpy/core/fromnumeric.py:69(_wrapreduction)
125305 0.165 0.000 {method 'reduce' of 'numpy.ufunc' objects}
13000 0.161 0.000 code/dev/tsnn/src/core/neurons/current.py:28(new_iteration)
78022 0.135 0.000 <array_function internals>:2(ndim)
52000 0.135 0.000 code/dev/tsnn/PymoNNto/NetworkBehaviour/Recorder/Recorder.py:65(get_data_v)
1 0.126 0.126 miniconda/lib/python3.8/site-packages/matplotlib/pyplot.py:323(show)
1 0.126 0.126 /Applications/PyCharm.app/Contents/plugins/python/helpers/pycharm_matplotlib_backend/backend_interagg.py:21(call)
1 0.126 0.126 /Applications/PyCharm.app/Contents/plugins/python/helpers/pycharm_matplotlib_backend/backend_interagg.py:111(show)
1 0.125 0.125 /Applications/PyCharm.app/Contents/plugins/python/helpers/pycharm_matplotlib_backend/backend_interagg.py:67(show)

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.