Comments (9)
The slopes I would have needed 24 hours after sensor insertion would have been:
0.7
0.755
0.68
So I guess with newer sensor batches we will need the possibility for lower slopes.
These are the parameters I've been using since February: https://github.com/StephenBlackWasAlreadyTaken/xDrip-Experimental/compare/adrianCalibrationParams
public static final double LOW_SLOPE_1 = 0.85; //0.95
public static final double LOW_SLOPE_2 = 0.80; //0.85
public static final double HIGH_SLOPE_1 = 1.3;
public static final double HIGH_SLOPE_2 = 1.4;
public static final double DEFAULT_LOW_SLOPE_LOW = 0.9; //1.08
public static final double DEFAULT_LOW_SLOPE_HIGH = 0.95; //1.15
public static final int DEFAULT_SLOPE = 1;
public static final double DEFAULT_HIGH_SLOPE_HIGH = 1.3;
public static final double DEFAUL_HIGH_SLOPE_LOW = 1.2;
(This is from before refactoring - and who can spot the typo ;))
from xdrip-experimental.
The problem is I don't variance between batches of sensors, and even sensors in individual batches. The First Two sensors in my last batch were accurate from day one, yet my latest is just not as accurate. The default slopes really should only impact things until you have x number of calibrations, and then you should be running on a calculated shoppe IMHO. The default slopes are meant for the first calibration, or if the linear regression calculation comes up with a slope and intercept that are just too far out to be real.
---- AdrianLxM wrote ----
The slopes I would have needed 24 hours after sensor insertion would have been:
0.7
0.755
0.68So I guess with newer sensor batches we will need the possibility for lower slopes.
These are the parameters I've been using since February: https://github.com/StephenBlackWasAlreadyTaken/xDrip-Experimental/compare/adrianCalibrationParamspublic static final double LOW_SLOPE_1 = 0.85; //0.95 public static final double LOW_SLOPE_2 = 0.80; //0.85 public static final double HIGH_SLOPE_1 = 1.3; public static final double HIGH_SLOPE_2 = 1.4; public static final double DEFAULT_LOW_SLOPE_LOW = 0.9; //1.08 public static final double DEFAULT_LOW_SLOPE_HIGH = 0.95; //1.15 public static final int DEFAULT_SLOPE = 1; public static final double DEFAULT_HIGH_SLOPE_HIGH = 1.3; public static final double DEFAUL_HIGH_SLOPE_LOW = 1.2;
(This is from before refactoring - and who can spot the type ;))
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
from xdrip-experimental.
I had a solution for me in mind but then found it too cumbersome to always merge back the changes from xDrip-E. Do you think this would be something for an official version?:
- No matter if a default slope is used or not: Always (also) store the slope and intercept calculated by linear regression.
- On a Calibration use the algorithm as is.
- In the Calibration Graph add a toggle button to switch to the "no tresholds" calibration result.
This would force the user (me) to look at the calibration graph after a calibration to enable the non-treshold (or wider-threshold) version. For those who don't care, everything stays the same.
from xdrip-experimental.
I would take the adrian offer even one step further:
Allow a calibrator mode, that will allow one to do much more with calibrations.
It will not be possible to enter this mode with official betas, only people that have built by themselves will be able to use it.
On such builds, one will have to press on some secret place a few times to move to this build(like getting into debug mode on android).
This will allow us to have new calibration code, without influencing the not so sophisticated users.
from xdrip-experimental.
This is a great idea - but I would add one feature - the ability to remove (or ignore) invalid calibration points. I might even allow this special mode to be entered by the official build, but only document that feature on GitHub.
from xdrip-experimental.
The problem exists for people who can and people who can't build their own apk.
I'm not fan of shutting one group out.
from xdrip-experimental.
I also think having to set a compile flag for features will lead to a lot of custom apk's floating around that will be hard to support.
from xdrip-experimental.
I agree with Adrian. We cannot have it support a plethora of apks in the wild. We need some method within the official releases to allow people to choose the calibration method. And we should not release a method until we have thoroughly treated it ourselves.
---- AdrianLxM wrote ----
I also think having to set a compile flag for features will lead to a lot of custom apk's floating around that will be hard to support.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
from xdrip-experimental.
I guess that we all agree that we need to make improvements to our calibration algorithm, and that we can not release a new algorithm until we thoroughly test it.
So, we need some way to allow us to write other algorithms, test them first, but not to give them to the public.
I think that my suggestion is the best way for it. One code base and different behavior, for different people.
from xdrip-experimental.
Related Issues (20)
- [G5] Beta -Transmitter Batter: Not available - Need 2 readings, no option to do so HOT 1
- Import Fails on Marshmallow and above HOT 16
- Red text on black background
- overriden calibrations used in slopeOOBHandler ? HOT 3
- DataBase Import Fails on Nougat (and marshmallow) HOT 1
- Delete Calibration Request HOT 2
- time issue for values HOT 6
- storing bg low level alert times in treatments profile
- Beta5 v2.0.5_2 update 2 - Parsing Issue After Download when I try to Install
- xdrip - current beta version shows ?AD HOT 2
- MongoLab not receiving data HOT 5
- Can't set TXID on xbridge HOT 2
- DexShareCollectionService got the status 133 bug bad news! HOT 6
- Feature Suggestion - xBridge tracker
- Snooze alarm if treatment was already entered
- Alarm raises volume to 100% while media is playing through earbuds (hurts eardrums) HOT 4
- Xdrip+ and missed alarm problem
- double measurements?
- How to extract raw trend arrows data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xdrip-experimental.