Code Monkey home page Code Monkey logo

Comments (3)

himoto avatar himoto commented on June 8, 2024

Thank you for your inquiry.

From what i see you directly include Sundails. Why did you decide not use the DiffEq universe and call Sundails without that?
If you did so you could try other algorithms which might lead to a faster/more precise solution.

I have tested some ODE solvers and found CVODE_BDF() is the fastest, but I will change my package in order for you to use https://github.com/JuliaDiffEq/DifferentialEquations.jl on other algorithms.

There are some other packages in Julia which have significant overlap:s
https://github.com/JuliaDiffEq/DiffEqParamEstim.jl and https://github.com/robertfeldt/BlackBoxOptim.jl
I am sure DiffEqParamEstim would be happy with such an well worked out and non-trivial example. Why did you decide to roll your own framework from scratch?

I didn't know these packages existed. Thank you for your information. I have already created optimization tool in Python (https://github.com/okadalabipr/intro_to_param_estim), and tried to make it faster by using Julia.

Do you see places where DiffEqParamEstim could improve to suit your needs?

I am not entirely sure of what this package entails but I will look into more details and get back to you on this.

Lastly, It was not a bother at all. Thank you so much for your feedbacks.

from paramestim.

freemin7 avatar freemin7 commented on June 8, 2024

I am glad i could be of help.
You might want to contact Chris Rackauckas (http://chrisrackauckas.com/index.html) he is very involved with the JuliaDiffEq project and might help you better integrating your code with other projects in the area.
When he applies his research it seems to be related to biology/medicine too.

Pumas is scientific AI in clinical practice. Pumas makes it possible to predict the optimal medication dosage for individuals, reducing the costs and potential complications associated with treatments. The software is currently being tested in the administration of treatment for neonatal abstinence syndrome (NAS), an opioid withdrawal disorder in newborn babies. NAS requires medically administered morphine doses every four hours to prevent the infants from experiencing withdrawal symptoms. Pumas is being used to predict personalized safe dosage regimens by incorporating realistic biological models (quantitative systems pharmacology) and deep learning into the traditional nonlinear mixed effects (NLME) modeling framework.

He created this package for example https://github.com/JuliaDiffEq/MultiScaleArrays.jl which makes the creation of large systems of differential equations with hierarchies less error prone. I am suggesting that it would work for you in this case but you might want to consider it future projects.

Short question out of personal interest:

I didn't know these packages existed. Thank you for your information. I have already created optimization tool in Python (https://github.com/okadalabipr/param_estim), and tried to make it faster by using Julia.

Did it get faster?

from paramestim.

himoto avatar himoto commented on June 8, 2024

Thank you so much for all your suggestions.
I've looked into Chris Rackauckas's package and found it very fascinating. I will look further into it and contact him in the near future.

Short question out of personal interest:

I didn't know these packages existed. Thank you for your information. I have already created optimization tool in Python (https://github.com/okadalabipr/param_estim), and tried to make it faster by using Julia.
Did it get faster?

Yes, it definitely have gotten faster with Julia than Python. I attached below the result of the execution time; and it went faster by almost 6x.

Execution time to calculate generation 1000

  • Model

    • Nakakuki, T. et al. Ligand-specific c-Fos expression emerges from the spatiotemporal control of ErbB network dynamics. Cell 141, 884–896 (2010).
  • System

    • OS: macOS mojave Version 10.14.5
    • Processor: 2.3 GHz Intel Xeon W
    • Memory: 64 GB 2666 MHz DDR4
  • Result

    language version exec time
    Julia 1.0.0 38 min
    Python 3.7.3 243 min

from paramestim.

Related Issues (1)

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.