Você está na página 1de 7

VIRGEN MILAGROSA UNIVERSITY FOUNDATION

Dr. Martin Posadas Ave. San Carlos City, Pangasinan


www.vmuf.edu.ph
Tel nos. (075) 203-0000, 955-5222, 632-4094

MAMMOGRAM

By

RAFAEL VINCENT RAMONES

LAURENE MARIE DE GUZMAN

JOHN KENITH PIANO

Bachelor of Science in Computer Science

May 2019

Author’s Signature___________
Rafael Vincent Ramones
Author’s Signature___________
Laurene Marie De Guzman
Author’s Signature___________
John Kenith Piano

Date:

Certified by: ___________


Mr. Jerome L Liwanag
Adviser
VIRGEN MILAGROSA UNIVERSITY FOUNDATION
Dr. Martin Posadas Ave. San Carlos City, Pangasinan
www.vmuf.edu.ph
Tel nos. (075) 203-0000, 955-5222, 632-4094

Result Assessment and Analysis

Mammography is one of the most effective methods for breast cancer screening
available today. However, the low positive predictive value of breast biopsy resulting from
mammogram interpretation leads to approximately 70% unnecessary biopsies with benign
outcomes. To reduce the high number of unnecessary breast biopsies, several Computer-aided
Diagnosis (CAD) systems have been proposed in the last few years. These systems help
physicians in their decision to perform a breast biopsy on a suspicious lesion seen in a
mammogram or to perform a short term follow-up examination instead.

A mammogram alone cannot be used to diagnose breast cancer but can aid in the
diagnosis by classifying normal or suspicious findings in detail. Mammograms can sometimes
detect breast cancers in the earliest stages before any symptoms are present but can miss some
cancers as well, especially in younger women who have dense breast tissue.

Result presentation, analysis and discussions

Our Data-set was downloaded from www.mldata.io and the name of our data-set is
mammogram_weka_csv. The predictors are the following; BI_RADS_assessment to identify if
the patient have tumor or none, Margin , Density, Shape, “severity”. If YES they are positive to
Breast cancer and NO for negative.

Accuracy

The accuracy rate that we got on our data is 84.50%. We got this high accuracy rate
because of the predictors and the information that the participants have given. Among the 400
participants, half of them has breast cancer while the other half has no breast cancer. The
outcomes that we got coming from our dataset shown below:

Accuracy: 84.50%+/-3.87% (micro average: 84.50%)

True(Yes) True(No) Class precision


Pred. yes 172 34 83.50%
Pred. no 28 166 85.57%
Class recall 86.00% 83.00%
VIRGEN MILAGROSA UNIVERSITY FOUNDATION
Dr. Martin Posadas Ave. San Carlos City, Pangasinan
www.vmuf.edu.ph
Tel nos. (075) 203-0000, 955-5222, 632-4094

Decision tree
VIRGEN MILAGROSA UNIVERSITY FOUNDATION
Dr. Martin Posadas Ave. San Carlos City, Pangasinan
www.vmuf.edu.ph
Tel nos. (075) 203-0000, 955-5222, 632-4094

At the top of the decision tree is the BI-RADS assesment because this is what the
doctors or people who specialize in this types of things. The BI-RADS assesment is responsible
for sorting the results through number 0 upto 6.

In the decision tree, if BI_RADS_assessment is greater than 4.500, it will ask for the
margin. But if the entered BI_RADS_assessment is less than 4.500, it will ask for your age. Let's
talk about margin first, if it is greater than -49999.500, it will ask for your age. If your age is
greater than 64.500 it will indicate "yes", but if it's less than 64.500 it will ask for your age again.
If your age is greater than 57, it will indicate "no" but if it's less than 57, it will indicate "yes". But
if the margin is greater than -49999.500 it will ask for the density. if the density is greater than
3.500, it will indicate "yes", but if it is less than 3.500 it will ask for your age. If your age is less
than 33.500, it will indicate "yes" but if the age is greater than 33.500, it will ask for the density
again. If the density is less than -49999.500 it will indicate, "yes" but if it's greater than -
49999.500 it will ask for the margin again. If the margin is greater than 1.500, it will ask for the
shape. If the shape is greater than 2.500 it will indicate"no", but if it is less than 2.500 it will
indicate "yes". But if the margin is greater than 1.500 it will ask for the age again. If the age is
less than 42.500, it will ask for the age again. If the age is greater than 41 it will indicate "no",
but if the age is less than 41, it will indicate "yes". But if the ask age again is greater than 42.0 it
will indicate "yes".

Up next is that if the BI_RADS_assesment is less than 4.500, it will ask for the age. If the
age is greater than 80.500, it will indicate "yes". But if it is less than 80.500, it will ask for the
margin. If the margin is greater than 4.500, it will ask for the age again. If the age is greater than
64.500, it will indicate "yes" but if it's lesser than 64.500, it will ask for the age again. If the
entered age again is greater than 54.500, it will indicate "no". But if it's less than 54.500, it will
indicate "yes". But if the margin is less than 3.500, it will ask for the shape. If the shape is less
than 3.500, it will ask for the age. If the age is less than 67.500 it will indicate "no". But if the age
is greater than 67.500, it will ask for the age again. If the ask age again is greater than 71.500, it
will indicate "no", but if it's less than, it will indicate "yes". But if the shape is greater than 3.500
it will ask for the BI_RADS_assessment, if the BI_RADS_assessment is less than 3.500, it will
indicate "no". But if it's greater than 3.500, it will ask for your age, if your age is less than 37, it
will indicate "no", but if it's greater than 37, it will ask for the margin. If the margin is less than -
49999.500, it will indicate "no", but if it's greater than -49999.500 it will ask for the age. If the
age is greater than 75, it will indicate "yes", but if it's lesser than 75, it will ask for your margin
again. If the margin is greater than 3.500, it will indicate "yes, but if it's lesser than 3.500, it will
indicate "no".
VIRGEN MILAGROSA UNIVERSITY FOUNDATION
Dr. Martin Posadas Ave. San Carlos City, Pangasinan
www.vmuf.edu.ph
Tel nos. (075) 203-0000, 955-5222, 632-4094

Conclusion
We like to express our deepest gratitude to our class instructor Mr. Jerome Liwanag. His
continuous support made our life a much easier than it is.

The researcher conclude that through their code they prove that if the human contains
high glucose the patient is positive or on a high risk on diabetes, But if their body insulin is
higher than their body glucose they are negative on diabetes, and if the body mass index is
greater than 46.800 the patient is positive or prone to diabetes, likewise in skin thickness that if
it is higher than 7.500 it also positive to diabetes,

The pregnancy of a woman also determined if the patient is prone to diabetes, if she
gave birth on a child for 8 times, even also the through the human age, we can also determine if
a person has a diabetes when a person is above the age of 62.

Therefore we all approve that this diabetes diseases prediction dataset and python code
is very good for predicting if a person has a diabetes diseases.
VIRGEN MILAGROSA UNIVERSITY FOUNDATION
Dr. Martin Posadas Ave. San Carlos City, Pangasinan
www.vmuf.edu.ph
Tel nos. (075) 203-0000, 955-5222, 632-4094

CODE PYTHON:
if age3 > 64.500:

assessment = float(input('Enter assessment:')) print('yes,positive')

if assessment > 4.500: elif age3 <= 64.500:

margin = float(input('Enter margin:')) age4 = float(input('Enter age4:'))

if margin > -49999.500: if age4 > 57:

density = float(input('Enter density:')) print('no, negative')

if density > 3.500: elif age4 <= 57:

print('Yes, Positive') print('Yes, positive')

elif density <= 3.500: elif assessment <= 4.500:

age1 = float(input('Please Enter age1:')) age5 = float(input('Enter age5:'))

if age1 > 33.500: if age5 > 80.500:

density = float(input('Enter density:')) print('Yes, positive')

if density <= -49999.500: elif age5 <= 80.500:

print('Yes, Positive') margin = float(input('Enter margin:'))

elif density > -49999.500: if margin > 4.500:

margin = float(input('Enter margin:')) age6 = float(input('Enter age6:'))

if margin > 1.500: if age6 > 64.500:

age0 = float(input('Enter age0:')) print('yes,positive')

if age0 > 42.500: elif age6 <= 64.500:

print('Yes,Positive') age7 = float(input('Enter age7:'))

elif age0 <= 42.500: if age7 >54.500:

age2 = float(input('Enter print('no,negative')


age2'))
elif age7 <= 54.500:
if age2 > 41:
print('Yes,positive')
print('No, negative')
elif margin <= 4.500:
elif age2 <= 41:
shape = float(input('Enter number of
print('Yes, Positive') shape:'))

elif age1 <= 33.500: if shape > 3.500:

print('yes, positive') assessment = float(input('Enter


assessment:'))
elif margin <= -49999.500:
if assessment > 3.500:
age3 = float(input('Enter age3:'))

1
VIRGEN MILAGROSA UNIVERSITY FOUNDATION
Dr. Martin Posadas Ave. San Carlos City, Pangasinan
www.vmuf.edu.ph
Tel nos. (075) 203-0000, 955-5222, 632-4094

age8 = float(input('Enter age8:')) print('Yes, Positive')

if age8 <= 37: elif assessment <= 3.500:

print('No, negative') print('no, negative')

elif age8 > 37: elif shape <= 3.500:

margin = float(input('Enter age_10 = float(input('Enter age10:'))


margin:'))
if age_10 > 67.500:
if margin > -49999.500:
age_11 = float(input('Enter
age9 = float(input('Enter age11:'))
age9:'))
if age_11 > 68.500:
if age9 > 75:
age_12 = float(input('Enter
print('yes,Positive') age12:'))

elif age9 <= 75: if age_12 > 71.500:

margin = float(input('Enter print('no, negative')


margin:'))
elif age_12 <= 71.500:
if margin > 3.500:
print('Yes,positive')
print('Yes, Positive')
elif age_11 <= 68.500:
elif margin <= 3.500:
print('Yes,positive')
print('no, Negative')
elif age_10 <= 67.500:
elif margin <= -49999.500:
print('no,negative')

Você também pode gostar