Sample Consultation Using Fuzzy Logic: Rules
if area_of_mass be small_area
and density_of_mass be high_density
then
malignancy := very_likely.
if area_of_mass be large_area and
density_of_mass be high_density
then
malignancy := very_likely.
if area_of_mass be large_area and
density_of_mass be moderate_density
then
malignancy := likely.
if area_of_mass be large_area and
density_of_mass be low_density
then
malignancy := unlikely.
if area_of_mass be small_area and
density_of_mass be low_density
then
malignancy := unlikely.
if roundness_of_mass be certainly_round
then
malignancy := unlikely.
if roundness_of_mass be deviates_from_round
then
malignancy := likely.
if lobularity_of_mass be certainly_non_lobular
then
malignancy := unlikely.
if lobularity_of_mass be lobular
then
malignancy := likely.