Forgot to note that I have been working on a flex program for predicting breast cancer recurrence. I am trying to combine an earlier working flex program which had rules which were always true with rules that are not always true. I am using certainty factors to calculate the probability that the cancer will recurr.
I decided to use certainty factors mainly because I feel I can understand them and also because after reading Hopgood discovering they are for uncertain data and rules, not uncertain language.
Anyway off on holiday now. Will have to resume when I get back. I am feeling much more confident that I can get a reasonable flex program working.
Also started a draft of the project which is required for TMA03
Saturday, 21 July 2007
Sunday, 15 July 2007
Sunday afternoon
Tried to work out how the dialog editor works but there is no mention of it in the help files. It would have been good to enter the patient data using a custom form but I haven't the time to waste trying to sort this out.
Had a read through a tutorial with flex which explained that putting the numbers in between ' would treat them as atoms not as numbers. I have adjusted the code and the program now runs fine.
Had a read through a tutorial with flex which explained that putting the numbers in between ' would treat them as atoms not as numbers. I have adjusted the code and the program now runs fine.
group no_involved_nodes '0-2', '3-5', '6-8', '18+'.
question involved_nodes
how many involved_nodes are there ? ;
choose from no_involved_nodes.
question involved_nodes
how many involved_nodes are there ? ;
choose from no_involved_nodes.
Sunday 15th July
I thought I'd posted something during the week. I have been working through a series of experiments with a multi-layer perceptron. I have been looking at the number of hidden layer neurons, the number of training cycles and the score tool threshold. I have noticed that the networks performance never gives a score of more than 48% no matter how many training cycles are defined.
I have switched my attention to the knowledge based system. I have been having trouble with Flex because I was using questions with the answers in groups but the answers were numbers and I couldn't get flex to treat them as just text for the purposes of these questions. I have therefore developed questions in a different way. I will test this shortly.
I have switched my attention to the knowledge based system. I have been having trouble with Flex because I was using questions with the answers in groups but the answers were numbers and I couldn't get flex to treat them as just text for the purposes of these questions. I have therefore developed questions in a different way. I will test this shortly.
Monday, 9 July 2007
Monday 09/07/2007
After a fustrating day yesterday because Window Vista doesn't seem to let neuralworks write the results files out, I reverted to using Windows XP on a different PC. I tested a 32 Input layer, 15 hidden layer and 2 output layer MLP with the full 285 patients after training the network. I then adjusted the score tool threshold to find an optimum but this wasn't as simple as I thought. As the threshold was raised generally the network performed more poorly and this was reflected in the statistical analysis and the overall score. However when the threshold reached 0.9 though by most measures of performance the network performed more poorly the positive predictive value of the network improved. I checked the calculation of this value but it looks correct so I can only assume that it is probably a statistical anomaly. I may test the score tool threshold further with different network configurations but
Sunday, 1 July 2007
Sunday 1st July
Picked up last TMA result. I did about as well as I expected. Have been experimenting with my neural network. Have made up a large spreadsheet to log the results. I have enhanced the score tool to calculate the false positive and false negative rate. I hope to modify it further to include the positive predictive value and the sensitivity as these are well defined measures of the performance of the neural network and allow comparison with other methods of classifying data such as that used here. I've run a few experiments and the network is working though at this stage not very well.
Three weeks till hols so not much time.
Three weeks till hols so not much time.
Subscribe to:
Comments (Atom)
About Me
- Rob
- My goal in life is to become grumpier. There's no point getting older unless you become grumpier. Working for the NHS helps as does supporting West Ham, so one day I'll end up like Victor Meldrew.