1. Get the Diabetes Forum App for your phone - available on iOS and Android.
    Dismiss Notice
  2. Guest, we'd love to know what you think about the forum! Take the Diabetes Forum Survey 2021 »
    Dismiss Notice
  3. Diabetes Forum should not be used in an emergency and does not replace your healthcare professional relationship. Posts can be seen by the public.
    Dismiss Notice
  4. Guest, stay home, stay safe, save the NHS. Stay up to date with information about keeping yourself and people around you safe here and GOV.UK: Coronavirus (COVID-19). Think you have symptoms? NHS 111 service is available here.
    Dismiss Notice
Dismiss Notice
Find support, ask questions and share your experiences. Join the community »

Discussion SpotOn - an insulin dosage prediction app

Discussion in 'Diabetes Research' started by SpotOn App, Mar 8, 2015.

  1. SpotOn App

    SpotOn App Type 1 · Member

    Messages:
    20
    Likes Received:
    14
    Trophy Points:
    43
    This is actually really interesting stuff! Thanks for sharing! I think their approach goes one step further than what I intend to do, but it looks really promising! Do you know if they plan to build an app based on this knowledge? They should!
     
  2. tim2000s

    tim2000s Type 1 · Expert
    Retired Moderator

    Messages:
    8,917
    Likes Received:
    11,787
    Trophy Points:
    198
    I have decided I am buying myself an android phone for this stuff. It's something that I can't do on my iPhone... It can be my "Diabetes phone". Wouldn't it be great if we could make it speak bluetooth to a pump so we could use it as a pump controller...?
     
    • Like Like x 2
  3. DunePlodder

    DunePlodder Type 1 · Well-Known Member

    Messages:
    846
    Likes Received:
    622
    Trophy Points:
    153
    I wish! But they are wary of the FDA who wouldn't approve of them distributing this.
    Some experimental branches of NightScout use bits of the DIYPS code.
     
  4. DunePlodder

    DunePlodder Type 1 · Well-Known Member

    Messages:
    846
    Likes Received:
    622
    Trophy Points:
    153
    Scott Leibrand & Dana Lewis of OpenAPS have already "closed the loop" and are controlling a Medtronic pump with great success.
    http://diyps.org/2014/11/26/what-we...ng-the-loop-with-diyps-and-open-process-work/
     
  5. SpotOn App

    SpotOn App Type 1 · Member

    Messages:
    20
    Likes Received:
    14
    Trophy Points:
    43
    However, if I understand it correctly they are building a purely reactive system. In control engineering you would call his a pure feedback system. What I would like to achieve with spoton is to create a model (multiple input, single output system) of the BG level in order to add a feed forward component. I think the two approaches are complementary and not competing.
     
    #45 SpotOn App, Jul 24, 2015 at 3:36 PM
    Last edited by a moderator: Jul 24, 2015
  6. DunePlodder

    DunePlodder Type 1 · Well-Known Member

    Messages:
    846
    Likes Received:
    622
    Trophy Points:
    153
    Don't claim to understand but it sounds good! A system that "learns"?
     
    • Like Like x 4
  7. tim2000s

    tim2000s Type 1 · Expert
    Retired Moderator

    Messages:
    8,917
    Likes Received:
    11,787
    Trophy Points:
    198
    Definitely a good reason to go android then.
     
  8. SpotOn App

    SpotOn App Type 1 · Member

    Messages:
    20
    Likes Received:
    14
    Trophy Points:
    43
    @DunePlodder: Yes, that's essentially the idea. Instead of simply reacting to a currently high or low BG value, you anticipate the needed insulin/carbs to keep the BG on the desired level.
     
    • Like Like x 2
  9. DunePlodder

    DunePlodder Type 1 · Well-Known Member

    Messages:
    846
    Likes Received:
    622
    Trophy Points:
    153
  10. SpotOn App

    SpotOn App Type 1 · Member

    Messages:
    20
    Likes Received:
    14
    Trophy Points:
    43
  11. tim2000s

    tim2000s Type 1 · Expert
    Retired Moderator

    Messages:
    8,917
    Likes Received:
    11,787
    Trophy Points:
    198
    It's interesting, but introduces something into the mix which is totally out there. The idea of a predictive bolus. Whilst that's all very nice, it does require that you have a reasonably predictable schedule. That's not a reason to discount it, but I'm not sure how useful I personally would find that!
     
  12. SpotOn App

    SpotOn App Type 1 · Member

    Messages:
    20
    Likes Received:
    14
    Trophy Points:
    43
    I don't think you need to have a predicatble schedule in order to predict the required bolus. I do think that you need to know the effect of all the variables which determine your BG (carbs, sport, stress, base need, insulin [and many more]). Then you would just need to tell the algorithm what you are planning to do in terms of these variables and you could predict the BG value.
     
  13. DunePlodder

    DunePlodder Type 1 · Well-Known Member

    Messages:
    846
    Likes Received:
    622
    Trophy Points:
    153
    Sorry, it's just something that's cropped up there over the last month or so I've been looking at it. It wasn't a specific thread. Try searching for "bolus" in the box top right.
     
    • Like Like x 2
  14. tim2000s

    tim2000s Type 1 · Expert
    Retired Moderator

    Messages:
    8,917
    Likes Received:
    11,787
    Trophy Points:
    198
    But therein lies the point - you are saying predict (plan) what you are going to do in order to predict how much insulin to give. Even the body has only limited mastery of that, e.g. activation of the saliva glands leading to increase in stomach acid, potential insulin release, etc.

    Given the time frame of exogenous insulin action, that may prove challenging!
     
  15. SpotOn App

    SpotOn App Type 1 · Member

    Messages:
    20
    Likes Received:
    14
    Trophy Points:
    43
    :D I like your analogy!

    But, at least for me, I usually know what I'm gonna do in the next hours. With Humalog/Lantus I need to plan around 30min to 2h in advance anyway (depending on which variable). Is this not the case for you?
     
  16. tim2000s

    tim2000s Type 1 · Expert
    Retired Moderator

    Messages:
    8,917
    Likes Received:
    11,787
    Trophy Points:
    198
    Typically not more than thirty mins I find, especially with how I eat and train.
     
  17. AndyS

    AndyS Type 1 · Well-Known Member

    Messages:
    784
    Likes Received:
    905
    Trophy Points:
    133
    Count me in. The rate at which bolus ratios can change I would make sure that your algorithm isn't a train once solution since it will need to continually evolve.

    Possibly not as interesting for end users but while developing would be good to see what confidence level your algorithm has in the dose it is suggesting.
     
    • Like Like x 2
  18. SpotOn App

    SpotOn App Type 1 · Member

    Messages:
    20
    Likes Received:
    14
    Trophy Points:
    43
    Hi Andy, happy to hear you want use the app! The download link in the earlier post should still work. Let me know if you experience any issues or have questions regarding the app!

    Concerning your first point: yes, the model assigns a higher weight to measurements that are recent. Thus they will have more impact on the dosage computation.

    For the second point: great idea! Do you have any suggestion how this could be implemented?
     
  • Meet the Community

    Find support, connect with others, ask questions and share your experiences with people with diabetes, their carers and family.

    Did you know: 7 out of 10 people improve their understanding of diabetes within 6 months of being a Diabetes Forum member. Get the Diabetes Forum App and stay connected on iOS and Android

    Grab the app!
  • Tweet with us

  • Like us on Facebook