Difference between revisions of "Fuzzy language logic"

Line 13: Line 13:
{{Bookind2}}
{{Bookind2}}


==<!--4-->Introduction==
{{:Store:FLen01}}
<!--5-->We have come this far because, as colleagues, are very often faced with responsibilities and decisions that are very difficult to take and issues such as conscience, intelligence and humility come into play. <!--6-->In such a situation, however, we are faced with two equally difficult obstacles to manage that of one <math>KB</math> (Knowledge Basis), as we discussed in the chapter ‘[[The logic of probabilistic language|Logic of probabilistic language]]’, limited in the time that we codify in <math>KB_t</math> and one <math>KB</math> limited in the specific context (<math>KB_c</math>). <!--7-->These two parameters of epistemology characterize the scientific age in which we live. <!--8-->Also, both <math>KB_t</math> that the <math>KB_c</math> are dependent variables of our phylogeny, and, in particular of our conceptual plasticity and attitude to change.<ref>{{Cite book
| autore = Takeuchi S
| autore2 = Okuda S
| titolo = Knowledge base toward understanding actionable alterations and realizing precision oncology
| url = https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6373253/
| volume =
| opera =  Int J Clin Oncol
| anno = 2019
| editore =
| città =
| ISBN =
| PMID = 30542800
| PMCID = PMC6373253
| DOI = 10.1007/s10147-018-1378-0
| oaf = yes<!-- qualsiasi valore -->
| LCCN =
| OCLC =
}}</ref>{{q2|I'm not following you|I'll give you a practical example}}
 
*<blockquote><big><!--9-->How much research has been produced on the topic 'Fuzzy logic'?</big></blockquote>
 
<!--10-->Pubmed responds with 2862 articles in the last 10 years<ref>[https://pubmed.ncbi.nlm.nih.gov/?term=%22Fuzzy+logic%22&filter=datesearch.y_10 Fuzzy logic on Pubmed]</ref><ref><!--11-->All statistics collected following visits to the Pubmed site (https://pubmed.ncbi.nlm.nih.gov/). Last checked: December 2020.</ref>, <!--12-->so that we can say that ours is current  and is sufficiently updated. <!--13-->However, if we wanted to focus attention on a specific topic like ‘Temporomandibular Disorders’, the database will respond with as many as 2,235 articles. <ref>[https://pubmed.ncbi.nlm.nih.gov/?term=%22Temporomandibular+disorders%22&filter=datesearch.y_10 <!--14-->Temporomandibular Disorders in Pubmed]</ref>  <!--15-->Hence, if we wanted to check another topic like ‘Orofacial Pain’, Pubmed gives us 1,986 articles.<ref>[https://pubmed.ncbi.nlm.nih.gov/?term=%22orofacial+Pain%22&filter=datesearch.y_10 <!--16-->Orofacial Pain in Pubmed]</ref> <!--17-->This means that the <math>KB_t</math> for these three topics in the last 10 years it has been sufficiently updated.
 
<!--18-->If, now, we wanted to verify the interconnection between the topics, we will notice that <math>KB_c</math> in the contexts will be the following:
 
#<math>KB_c=</math> '<!--19-->Temporomandibular disorders AND Orofacial Pain'<math>\rightarrow</math> 9 <!--20-->articles in the last 10 years<ref>[https://pubmed.ncbi.nlm.nih.gov/?term=%22Temporomandibular+disorders+AND+Orofacial+Pain%22&filter=datesearch.y_10 <!--21-->Temporomandibular disorders AND Orofacial Pain in Pubmed]</ref>
#<math>KB_c=</math> '<!--22-->Temporomandibular disorders AND Orofacial Pain AND Fuzzy logic' 0 <!--23-->articles in the last 10 years<ref>[https://pubmed.ncbi.nlm.nih.gov/?term=%22Temporomandibular+disorders+AND+Orofacial+Pain+AND+Fuzzy+logic%22&filter=datesearch.y_10 "<!--24-->Temporomandibular disorders AND Orofacial Pain AND Fuzzy logic" in Pubmed]</ref>
 
<!--25-->The example means that the <math>KB_t</math> is relatively up-to-date individually for the three topics while it decreases dramatically when the topics between contexts are merged and specifically to 9 articles for Point 1 and even to 0 articles for Point 2. <!--26-->So, the <math>KB_t</math> is a time dependent variable while the <math>KB_c</math> is a cognitive variable dependent on our aptitude for the progress of science, as already mentioned—among other things—in the chapter ‘Introduction’.
{{q2|<!--27-->you almost convinced me|<!--28-->Wait and see}}
 
<!--29-->We ended the previous chapter by asserting that the logic of a classical language and subsequently probabilistic logic have helped us a lot in the progress of medical science and diagnostics but implicitly carry within themselves the limits of their own logic of language, which limits the vision of the biological universe. <!--30-->We also verified that with the logic of a classical language—so to speak, Aristotelian—the logical syntax that is derived from it in the diagnostics of our Mary Poppins limits, in fact, the clinical conclusion.
 
<math>\{a \in x \mid \forall \text{x} \; A(\text{x}) \rightarrow {B}(\text{x}) \vdash A( a)\rightarrow B(a) \}</math> (<!--31-->see chapter [[The logic of classical language|Classical Language's Logic]]),
 
<!--32-->argues that: "<!--33-->every normal patient ''<math>\forall\text{x}
</math>'' <!--34-->which is positive on the radiographic examination of the TMJ ''<math>\mathrm{\mathcal{A}}(\text{x})</math>'' <!--35-->has TMDs''<math>\rightarrow\mathrm{\mathcal{B}}(\text{x})</math>'', <!--36-->as a direct consequence ''<math>\vdash</math>'' <!--37-->Mary Poppins being positive (and also being a "normal" patient) on the TMJ x-ray ''<math>A(a)</math>'' then Mary Poppins is also affected by TMDs ''<math>\rightarrow \mathcal{B}(a)</math>''
 
<!--38-->The limitation of the logical path that has been followed has led us to undertake an alternative path, in which the bivalence or binary nature of classical language logic is avoided and a probabilistic model is followed. The dentist colleague, in fact, changed the vocabulary and preferred a conclusion like:
 
<math>P(D| Deg.TMJ  \cap TMDs)=0.95</math>
 
<!--39-->and which is, that our Mary Poppins is 95% affected by TMDs since she has a degeneration of the temporomandibular joint supported by the positivity of the data <math>D=\{\delta_1,\dots\delta_4\}</math> in a population sample <math>n</math>. <!--40-->However, we also found that in the process of constructing probabilistic logic (Analysandum <math>  = \{P(D),a\}</math>) which allowed us to formulate the aforementioned differential diagnostic conclusions and choose the most plausible one, there is a crucial element to the whole Analysand'''<math>= \{\pi,a,KB\}</math>''' represented by the term <math>KB</math> which indicates, specifically, a 'Knowledge Base' of the context on which the logic of probabilistic language is built.
 
<!--41-->We therefore concluded that perhaps the dentist colleague should have become aware of his own 'Subjective Uncertainty' (affected by TMDs or <sub>n</sub>OP?) and 'Objective Uncertainty' (probably more affected by TMDs or <sub>n</sub>OP?).
 
*<blockquote><big><!--42-->Why have we come to these critical conclusions?</big></blockquote>
 
<!--43-->For a widely shared form of the representation of reality, supported by the testimony of authoritative figures who confirm its criticality.  <!--44-->This has given rise to a vision of reality which, at first glance, would seem unsuitable for medical language; in fact, expressions such as ‘about 2’ or ‘moderately’ can arouse legitimate perplexity and seem an anachronistic return to pre-scientific concepts. <!--45-->On the contrary, however, the use of fuzzy numbers or assertions allows scientific data to be treated in contexts in which one cannot speak of ‘'''probability'''’ but only of ‘'''possibility’.'''<ref>{{Cite book
| autore = Dubois D
| autore2 = Prade H
| titolo = Fundamentals of Fuzzy Sets
| url = https://books.google.it/books?id=OCznBwAAQBAJ&lpg=PR15&ots=TXlc29Hczd&dq=Fundamentals%20of%20Fuzzy%20Sets%20Editors%3A%20Dubois%2C%20Didier%2C%20Prade%2C%20Henri&lr&hl=it&pg=PR15#v=onepage&q=Fundamentals%20of%20Fuzzy%20Sets%20Editors:%20Dubois,%20Didier,%20Prade,%20Henri&f=false
| volume =
| opera =
| anno = 2000
| editore = Kluwer Academic Publishers
| città = Boston
| ISBN =
| PMID =
| PMCID =
| DOI =
| oaf = <!-- qualsiasi valore -->
| LCCN =
| OCLC =
}}</ref>
 
{{q2|<!--46-->Probability or Possibility?|}}


==<!--47-->Fuzzy truth==
==<!--47-->Fuzzy truth==

Revision as of 14:33, 19 October 2022

Other languages:  

English · Italiano · Français · Deutsch · Español

Fuzzy1.jpg


In this chapter, we will discuss fuzzy logic. It is called fuzzy because it is characterized by a gradualness: an object can be attributed a quality that can have various degrees of truth.

In the first part of this chapter, the meaning of graded truth will be conceptually discussed, while in the second part, we will delve into the mathematical formalism by introducing the membership function : the element that allows us to mathematically synthesize the nuances of this logic of language. It has been possible to show that with ‘fuzzy’ reasoning, unlike the previous logics of language, the diagnoses show less uncertainty. Despite this, however, the need is still felt to further refine the language method and enrich it with further ‘logics’. 

Masticationpedia

 

Introduction

We have come this far because, as colleagues, are very often faced with responsibilities and decisions that are very difficult to take and issues such as conscience, intelligence and humility come into play. In such a situation, however, we are faced with two equally difficult obstacles to manage that of one (Knowledge Basis), as we discussed in the chapter ‘Logic of probabilistic language’, limited in the time that we codify in and one limited in the specific context (). These two parameters of epistemology characterize the scientific age in which we live. Also, both that the are dependent variables of our phylogeny, and, in particular of our conceptual plasticity and attitude to change.[1]

«I'm not following you»
(I'll give you a practical example)
  • How much research has been produced on the topic 'Fuzzy logic'?

Pubmed responds with 2862 articles in the last 10 years[2][3], so that we can say that ours is current and is sufficiently updated. However, if we wanted to focus attention on a specific topic like ‘Temporomandibular Disorders’, the database will respond with as many as 2,235 articles. [4] Hence, if we wanted to check another topic like ‘Orofacial Pain’, Pubmed gives us 1,986 articles.[5] This means that the for these three topics in the last 10 years it has been sufficiently updated.

If, now, we wanted to verify the interconnection between the topics, we will notice that in the contexts will be the following:

  1. 'Temporomandibular disorders AND Orofacial Pain' 9 articles in the last 10 years[6]
  2. 'Temporomandibular disorders AND Orofacial Pain AND Fuzzy logic' 0 articles in the last 10 years[7]

The example means that the is relatively up-to-date individually for the three topics while it decreases dramatically when the topics between contexts are merged and specifically to 9 articles for Point 1 and even to 0 articles for Point 2. So, the is a time dependent variable while the is a cognitive variable dependent on our aptitude for the progress of science, as already mentioned—among other things—in the chapter ‘Introduction’.

«you almost convinced me»
(Wait and see)

We ended the previous chapter by asserting that the logic of a classical language and subsequently probabilistic logic have helped us a lot in the progress of medical science and diagnostics but implicitly carry within themselves the limits of their own logic of language, which limits the vision of the biological universe. We also verified that with the logic of a classical language—so to speak, Aristotelian—the logical syntax that is derived from it in the diagnostics of our Mary Poppins limits, in fact, the clinical conclusion.

(see chapter Classical Language's Logic),

argues that: "every normal patient which is positive on the radiographic examination of the TMJ has TMDs, as a direct consequence Mary Poppins being positive (and also being a "normal" patient) on the TMJ x-ray then Mary Poppins is also affected by TMDs

The limitation of the logical path that has been followed has led us to undertake an alternative path, in which the bivalence or binary nature of classical language logic is avoided and a probabilistic model is followed. The dentist colleague, in fact, changed the vocabulary and preferred a conclusion like:

and which is, that our Mary Poppins is 95% affected by TMDs since she has a degeneration of the temporomandibular joint supported by the positivity of the data in a population sample . However, we also found that in the process of constructing probabilistic logic (Analysandum ) which allowed us to formulate the aforementioned differential diagnostic conclusions and choose the most plausible one, there is a crucial element to the whole Analysand represented by the term which indicates, specifically, a 'Knowledge Base' of the context on which the logic of probabilistic language is built.

We therefore concluded that perhaps the dentist colleague should have become aware of his own 'Subjective Uncertainty' (affected by TMDs or nOP?) and 'Objective Uncertainty' (probably more affected by TMDs or nOP?).

  • Why have we come to these critical conclusions?

For a widely shared form of the representation of reality, supported by the testimony of authoritative figures who confirm its criticality. This has given rise to a vision of reality which, at first glance, would seem unsuitable for medical language; in fact, expressions such as ‘about 2’ or ‘moderately’ can arouse legitimate perplexity and seem an anachronistic return to pre-scientific concepts. On the contrary, however, the use of fuzzy numbers or assertions allows scientific data to be treated in contexts in which one cannot speak of ‘probability’ but only of ‘possibility’.[8]

«Probability or Possibility?»

Fuzzy truth

In the ambitious attempt to mathematically translate human rationality, it was thought in the mid-twentieth century to expand the concept of classical logic by formulating fuzzy logic. Fuzzy logic concerns the properties that we could call ‘graduality’, i.e., which can be attributed to an object with different degrees. Examples are the properties ‘being sick’, ‘having pain’, ‘being tall’, ‘being young’, and so on.

Mathematically, fuzzy logic allows us to attribute to each proposition a degree of truth between and . The most classic example to explain this concept is that of age: we can say that a new-born has a ‘degree of youth’ equal to , an eighteen-year-old equal to , a sixty-year-old equal to , and so on

In the context of classical logic, on the other hand, the statements:

    • a ten-year-old is young
    • a thirty-year-old is young

are both true. However, in the case of classical logic (which allows only the two true or false data), this would mean that the infant and the thirty-year-old are equally young. Which is obviously wrong.

The importance and the charm of fuzzy logic arise from the fact that it is able to translate the uncertainty inherent in some data of human language into mathematical formalism, coding ‘elastic’ concepts (such as almost high, fairly good, etc.), in order to make them understandable and manageable by computers.

Set theory

As mentioned in the previous chapter, the basic concept of fuzzy logic is that of multivalence, i.e., in terms of set theory, of the possibility that an object can belong to a set even partially and, therefore, also to several sets with different degrees. Let us recall from the beginning the basic elements of the theory of ordinary sets. As will be seen, in them appear the formal expressions of the principles of Aristotelian logic, recalled in the previous chapter.

Quantifiers

  • Membership: represented by the symbol (belongs), - for example the number 13 belongs to the set of odd numbers
  • Non-membership: represented by the symbol (It does not belong)
  • Inclusion: Represented by the symbol (is content), - for example the whole it is contained within the larger set , (in this case it is said that is a subset of )
  • Universal quantifier, which is indicated by the symbol (for each)
  • Demonstration, which is indicated by the symbol (such that)

Set operators

Given the whole universe we indicate with its generic element so that ; then, we consider two subsets and internal to so that and

Venn0111.svg
Union: represented by the symbol , indicates the union of the two sets and . It is defined by all the elements that belong to and or both:

sinistra Intersection: represented by the symbol , indicates the elements belonging to both sets:

Venn0010.svg
Difference: represented by the symbol , for example shows all elements of except those shared with
Venn1000.svg
Complementary: represented by a bar above the name of the collection, it indicates by the complementary of , that is, the set of elements that belong to the whole universe except those of , in formulas:

The theory of fuzzy language logic is an extension of the classical theory of sets in which, however, the principles of non-contradiction and the excluded third are not valid. Remember that in classical logic, given the set and its complementary , the principle of non-contradiction states that if an element belongs to the whole it cannot at the same time also belong to its complementary ; according to the principle of the excluded third, however, the union of a whole and its complementary constitutes the complete universe .

In other words, if any element does not belong to the whole, it must necessarily belong to its complementary.

Fuzzy set and membership function

We choose - as a formalism - to represent a fuzzy set with the 'tilde':. A fuzzy set is a set where the elements have a 'degree' of belonging (consistent with fuzzy logic): some can be included in the set at 100%, others in lower percentages.

To mathematically represent this degree of belonging is the function called 'Membership Function'. The function is a continuous function defined in the interval where it is:

  • if is totally contained in (these points are called 'nucleus', they indicate plausible predicate values).
  • if is not contained in
  • if is partially contained in (these points are called 'support', they indicate the possible predicate values).

The graphical representation of the function can be varied; from those with linear lines (triangular, trapezoidal) to those in the shape of bells or 'S' (sigmoidal) as depicted in Figure 1, which contains the whole graphic concept of the function of belonging.[9][10]

Figure 1: Types of graphs for the membership function.

The support set of a fuzzy set is defined as the zone in which the degree of membership results ; on the other hand, the core is defined as the area in which the degree of belonging assumes value

The 'Support set' represents the values of the predicate deemed possible, while the 'core' represents those deemed more plausible.

If represented a set in the ordinary sense of the term or classical language logic previously described, its membership function could assume only the values or , depending on whether the element belongs to the whole or not, as considered. Figure 2 shows a graphic representation of the crisp (rigidly defined) or fuzzy concept of membership, which clearly recalls Smuts's considerations.[11]

Let us go back to the specific case of our Mary Poppins, in which we see a discrepancy between the assertions of the dentist and the neurologist and we look for a comparison between classical logic and fuzzy logic:

Figure 2: Representation of the comparison between a classical and fuzzy ensemble.

Figure 2: Let us imagine the Science Universe in which there are two parallel worlds or contexts, and .

In the scientific context, the so-called ‘crisp’, and we have converted into the logic of Classic Language, in which the physician has an absolute scientific background information with a clear dividing line that we have named .

In another scientific context called ‘fuzzy logic’, and in which there is a union between the subset in that we can go so far as to say: union between .

We will remarkably notice the following deductions:

  • Classical Logic in the Dental Context in which only a logical process that gives as results will be possible, or being the range of data reduced to basic knowledge in the set . This means that outside the dental world there is a void and that term of set theory is written precisely and which is synonymous with a high range of:


«Differential diagnostic error»
  • Fuzzy logic in a dental context in which they are represented beyond the basic knowledge of the dental context also those partially acquired from the neurophysiological world will have the prerogative to return a result and a result because of basic knowledge which at this point is represented by the union of dental and neurological contexts. The result of this scientific-clinical implementation of dentistry would allow a
    «Reduction of differential diagnostic error»

Final considerations

Topics that could distract the reader’s attention were, in fact, essential for demonstrating the message. Normally, indeed, when any more or less brilliant mind allows itself to throw a stone into the pond of Science, a shockwave is generated, typical of the period of Kuhn’s extraordinary science, against which most of the members of the international scientific community row. With good faith, we can say that this phenomenon—as regards the topics we are addressing here—is well represented in the premise at the beginning of the chapter.

In these chapters, actually, a fundamental topic for science has been approached: the re-evaluation, the specific weight that has always been given to , awareness of scientific / clinical contexts , having undertaken a more elastic path of Fuzzy Logic than the Classical one, realizing the extreme importance of and ultimately the union of contexts to increase its diagnostic capacity.[12][13]

In the next chapter we will be ready to undertake an equally fascinating path: it will leads us to the context of a System Language logic, and will allow us to deepen our knowledge, no longer in clinical semeiotics only, but in the understanding of system functions (recently it is being evaluated in neuromotor disciplines for Parkinson's disease).[14]

In Masticationpedia, of course, we will report the topic 'System Inference' in the field of the masticatory system as we could read in the next chapter entitled 'System logic'.

Bibliography & references
  1. Takeuchi S, Okuda S, «Knowledge base toward understanding actionable alterations and realizing precision oncology», in Int J Clin Oncol, 2019».
    PMID:30542800 - PMCID:PMC6373253
    DOI:10.1007/s10147-018-1378-0
    Open Access logo green alt2.svg
    This is an Open Access resource!
     
  2. Fuzzy logic on Pubmed
  3. All statistics collected following visits to the Pubmed site (https://pubmed.ncbi.nlm.nih.gov/). Last checked: December 2020.
  4. Temporomandibular Disorders in Pubmed
  5. Orofacial Pain in Pubmed
  6. Temporomandibular disorders AND Orofacial Pain in Pubmed
  7. "Temporomandibular disorders AND Orofacial Pain AND Fuzzy logic" in Pubmed
  8. Dubois D, Prade H, «Fundamentals of Fuzzy Sets», Kluwer Academic Publishers, 2000, Boston». 
  9. Zhang W, Yang J, Fang Y, Chen H, Mao Y, Kumar M, «Analytical fuzzy approach to biological data analysis», in Saudi J Biol Sci, 2017».
    PMID:28386181 - PMCID:PMC5372457
    DOI:10.1016/j.sjbs.2017.01.027 
  10. Lazar P, Jayapathy R, Torrents-Barrena J, Mol B, Mohanalin, Puig D, «Fuzzy-entropy threshold based on a complex wavelet denoising technique to diagnose Alzheimer disease», in Healthc Technol Lett, The Institution of Engineering and Technology, 2016».
    PMID:30800318 - PMCID:PMC6371778
    DOI:10.1049/htl.2016.0022 
  11. •SMUTS J.C. 1926, Holism and Evolution, London: Macmillan.
  12. Mehrdad Farzandipour, Ehsan Nabovati, Soheila Saeedi, Esmaeil Fakharian. Fuzzy decision support systems to diagnose musculoskeletal disorders: A systematic literature review . Comput Methods Programs Biomed. 2018 Sep;163:101-109. doi: 10.1016/j.cmpb.2018.06.002. Epub 2018 Jun 6.
  13. Long Huang, Shaohua Xu, Kun Liu, Ruiping Yang, Lu Wu. A Fuzzy Radial Basis Adaptive Inference Network and Its Application to Time-Varying Signal Classification . Comput Intell Neurosci, 2021 Jun 23;2021:5528291.
    doi: 10.1155/2021/5528291.eCollection 2021.
  14. Mehrbakhsh Nilashi, Othman Ibrahim, Ali Ahani. Accuracy Improvement for Predicting Parkinson's Disease Progression. Sci Rep. 2016 Sep 30;6:34181. doi: 10.1038/srep34181.
Wiki.png