Code Monkey home page Code Monkey logo

ltc.jl's People

Contributors

lungd avatar vaibhavdixit02 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

vaibhavdixit02

ltc.jl's Issues

Return full sequence

Return the full sequence instead of the last time step only.
kwarg or separate struct/functor?

RL examples

Implement some simple reinforcement learning examples.

cartpole, mountaincar, etc.

Auto-fuse MTKLayers

Find a way to automatically merge multiple consecutive MTKLayers resulting in a big system.
connected_sys.eqs = [ sys2.in1 ~ sys1.out1 ]?

Add tests

Verify

  • Creation of synapses
  • Input/output mapping: equations connecting inpins/outpins with other components
  • Number of parameters, lower/upper bounds
  • Bounds generation (based on metadata).
  • Computation of gradients (can serve as benchmark)

Module based systems

Create modules (or package?) for predefined MTK Systems to prevent naming conflicts
There could be an example package with separate dependencies

Error during precompile

Is this error package specific? Or maybe am I doing something wrong?

LoadError: Failed to precompile LTC [91bbf6af-ea09-4d53-996a-47377b466f23] to /home/solar/.julia/compiled/v1.6/LTC/jl_dPz0a8.
in expression starting at /home/solar/Desktop/julia-projects-new/LTC.jl/example/sine-flux.jl:1
error(s::String) at error.jl:33
compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY) at loading.jl:1360
compilecache(pkg::Base.PkgId, path::String) at loading.jl:1306
_require(pkg::Base.PkgId) at loading.jl:1021
require(uuidkey::Base.PkgId) at loading.jl:914
require(into::Module, mod::Symbol) at loading.jl:901
eval at boot.jl:360 [inlined]
include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) at loading.jl:1094
ERROR: LoadError: Failed to precompile LTC [91bbf6af-ea09-4d53-996a-47377b466f23] to /home/solar/.julia/compiled/v1.6/LTC/jl_qAOh87.
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:33
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY)
   @ Base ./loading.jl:1360
 [3] compilecache(pkg::Base.PkgId, path::String)
   @ Base ./loading.jl:1306
 [4] _require(pkg::Base.PkgId)
   @ Base ./loading.jl:1021
 [5] require(uuidkey::Base.PkgId)
   @ Base ./loading.jl:914
 [6] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:901
 [7] eval
   @ ./boot.jl:360 [inlined]
 [8] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
   @ Base ./loading.jl:1094
in expression starting at /home/solar/Desktop/LTC.jl/example/sine-flux.jl:1

Compilation time

Reduce compilation time (of Zygote.gradient).
Type instabilities?

Fixed parameters

Metadata for parameters fixed during optimization ?
lower=upper=initial ?

Solve system for tspan=(0,sequence_length)

Currently, the system gets solved sequence_length times from 0 to 1 ( tspan=(0,1) )
Compare performance with a model which takes the complete sequence as input and solves the system from 0 to sequence_length.

Approaches for handling input:

  1. Define a callback for changing corresponding parameters (prob.p[1:n_in])
  2. Define input as a external input function (@register somehow ?)

NN components

Check how to add NN to the ModelingToolkit system (UDEs)

modelingtoolkitize ?
parameter array ?

Display proper info messages

Data (num features, sequence length, batchsize, etc), Model (num params, etc), ODE (solver, sensealg, tspan, saveat, etc)

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.