The Recurrent DGT Syndrome Part I

As promised, here’s minion:

I’m so satisfied with the title of this post, I don’t think a post is necessary at all and we should all spend a few minutes reading the title over and over to properly admire its beauty and elegance. But we still need a post about DGT, so I’ll contain my excitement. I’ll just pat myself on the back and say it loudly an alarming number of times.

DGT is an acronym for Data Gathering Tool. It’s the tool we made for Dr.Hisham, the client, the data analyst, money bringer, and godfather as well as father and stepfather of the project, whom we just love with all our hearts and pockets. Our relationship has evolved from just an employer-employee one into a full fledged familial one, where we ask him for more spending money and he tells us not until you do your homework. He is an MBCHb at Shatby Maternity Hospital and is seeking a doctorate in obstetrics and gynaecology, which roughly means he fixes baby and mommy problems. He masterfully hides his true age, but he has grey hair, so, medically speaking, he is old. We call him The Doctor, which makes me think of a Heisenberg-type drug dealer whom no one ever sees and lives to tell about it, but stories fly here and there about his army of wolves with human heads that he has made of the corpses of his enemies and his biomechanically augmented henchmen who surprisingly die just as easily as human henchmen making you question the whole point of augmentation and this paragraph, but you shouldn’t be so cynical.

This is not just a shameless blatant attempt at flattery, it’s actually necessary. The Doctor is responsible for collecting the data, inputting it, as well as being the main user of the final app and the DGT. Therefore, his input, regarding everything, from the way the tools are set, to the many functions and features included and the way data is represented, that input is of some vitality here. Also of some vitality, is how he is totally not a drug dealer although it would be pretty awesome.

Here’s where this post’s title starts to make sense. Us, the two lead developers, The Doctor and Hamdy, the wealthy but cheap project manager who doesn’t pay us anything and doesn’t get paid himself, are constantly coming across new information about the data we are handling. That sometimes makes us implement significant changes to the DGT. A recent example where we had to redo a big chunk of our data representation, is the problem of relations between anomalies in a single syndrome. Previously, a syndrome was to reach 100% certainty if all the anomalies in the syndrome were found. For example, if syndrome S had anomalies [a1, a2, a3], and the sonographer found and entered into the program anomalies [a1, a2, a3], the top result with a score of 100% should be syndrome S.

After some amount of data gathering, which is a difficult and time-consuming process no doubt, The Doctor informed us of a new piece of information. A syndrome could have two anomalies where only one of them is possible to be present(for example a missing eye and a swollen eye can’t exist for the same eye) and therefore only one is needed to represent the two in a given syndrome. To illustrate with the same example above, syndrome S might need to be represented as follows: [a1, (a2 or a3)]. Which means if the sonographer found a1 and a2 only, the program should still output S as the top choice with 100% score. The same for inputs a1 and a3 only, because only one of a2 and a3 is needed.

This required a change in the way the data is represented in our database, modifications to our classifier, as well as a means of specifying these relationships in the DGT. Already, a big change, but there’s more. First, extend the previous example to be a relation between any number of anomalies not just two, and, second, extend the whole DGT to accept relationships between those relationships. For example, syndrome S2 could be on the form: [((a1 or a2 or a3) or (a2 or a4 or a5) and (a6 or a7))].

These changes also affect how we handle data in our classifier. We will get to that in time.

Our prolonged discussions about these modifications resulted in two pieces of art that we are in the process of making into T-Shirts, so if you want one, just email us you crazy man.

8c
The Singles and Couples Clubs
4e
I think this might be confidential…

See you soon,

Babiesers

What are we cooking?

Do you know that photograph pregnant women get after a sonograph that is all black and white and some sort of a spectre in it, which they keep telling you is the baby who has your nose and aunt Sonia’s head shape, but you’re not really listening because you are busy calling Ghost Busters and preparing a ring of white chalk with bat blood spilled around it? It’s hard to believe, but the actual aim of this check is not to scare the living bejeesus out of the few still functioning grey cells you have left, but to check for something wrong with your baby. For example, if it has aunt Sonia’s head shape, or is displaying symptoms of being the son of the devil, which, let’s face it, all kids seem to be.

The sonographer looks at every part of the baby to see if there’s anything abnormal . When he has compiled a list of abnormalities with his wizard-like skills and has drawn rectangles around some white things exactly like all the other white things that he didn’t draw a rectangle around, all to his satisfaction, he will then try to match this set of abnormalities with the syndromes he knows to come up with a diagnosis. That’s where we come in.

The software we are developing will be used by sonographers to suggest possible syndromes based on the anomalies they find. They input all the anomalies(or abnormalities or symptoms) they find into our software, and we come up with a couple of suggestions of syndromes that fit these anomalies.

Through many discussions we were able to clearly define the functions of the software to the following:

  1. Accept and handle all types of anomaly inputs, and organize the whole process to be as efficient and easy to use as possible.
  2. Given a list of anomalies, produce a list of the most probable syndromes.
  3. Suggest areas for the sonographer to examine to exclude as many syndromes as possible, and increase the confidence of others.
  4. Provide detailed information on the suggested syndromes when requested.
  5. Works on both PC and Android platforms.

The first and last requirements are constantly challenging for us, since they require us to think from the point of view of someone every developer tries to forget and magically manages to do so with little effort: the user. This, the fact that it’s challenging and torturous, is probably the reason we like this application so much. We are masochists. Err, I mean we like challenges. Yep, that’s it. It helps us grow and all that.

The second requirement is the heart of the application. If the application was the fellowship of the ring, this requirement is Frodo. It’s Neo to the Matrix. Wait, no, Neo destroys the Matrix. It’s Neo to the rebellion then? I need to re-watch this series again.

We couldn’t start implementing the application right away though, because there was no data available yet. We needed syndromes and their corresponding anomalies. So our first order of action was to make a tool to insert them. The next post will detail how we did that, what framework we used and why, as well as a picture of a minion.

Fee fi fo fum!

I smell the blood of an Englishman. No, wait, I think that’s the cheese I’m melting getting burned again. Let me just check. Oh, hello there, let me act as if I didn’t see that you were reading me at all and continue to make myself loveable for a second. Ok, I’m done, I think I’ve projected enough of my charms to interest you.

Welcome to the development blog for the BABIES project. It’s a prenatal diagnosis software that was proposed under the name(take a deep breath): ‘Computer Assisted Prenatal Ultrasound Diagnosis of Fetal Malformations’, but since everyone we knew kept saying it ‘Computer Assisted Prenatal Ultrasound Diagnosis of Feta haaaah’ and kept taking deep breaths for five minutes, we discovered BABIES is a much better name. A foetus is a baby after all, what’s a few months going to do, grow him some limbs? (Ba Dum Tss). BABIES is capitalised because it’s supposed to be an acronym for something, we just haven’t figured out what yet. Bad Acronym Becomes Incredibly Exceptional Software? Yep, that’ll work.

So, why a development blog? Because the two developers of this software(check us out in the about section, it’s free!) really like working on the project. We work when we wish to, which is usually at 8 A.M for no reason at all. We are completely in charge, even though we have a project manager but we’ll overthrow him soon, he’s too good for our own comfort. Don’t read that last part, Hamdy!! We also listen to old Disney cartoons music most of the time, so It makes perfect sense to make a dev blog. Seriously, try listening to Mulan and Hercules’ songs again, they’re fantastic. He was a no one, zero zero, now he’s a hot shot, he’s a hero…(Fist bump If you danced a little to this in your chair. Hamdy, don’t get any ideas, we work hard. Like Hercules hard *wink*)

I think a development blog is a good way to document our thought process, successes and failures, as well as a way for us to get a firmer grasp on the stuff we already did and why we did them. It’s not a secret that we better our understanding of a subject when we try to explain it, especially in writing. I realize this might make updating this blog a bit of a task, but we’ll try to make it a fun one.

Feedback from anyone will be immensely rewarded. Tshirts, mugs, portraits of us sitting on a chair and looking down at you, or anything you want to give us we’ll take if you give us feedback. Yep, we’ll generously accept your beautiful probably-custom-made precious but a little creepy stuff if you tell us what you think of us. If you throw in a couple of comments about how we thought about, solved or got stuck on an issue, a suggestion of a useful feature, a demand that we get paid more, or you just have a track you want us to listen to, we’ll be very happy too. We’re actually very easy to please, I smile if I just look at myself in the mirror and find it’s smiling at me too.

I’ll leave you to the posts then.