• No se han encontrado resultados

ELEMENTO CLAVE PARA EL DESARROLLO DE LAS PYMEs

5.3 El desarrollo y la implementación de los proyectos innovadores de las PYMEs – las fuentes de financiación

5.3.4 Fondos de capital privado

3.4.2.1 Training the FLCS to learn the Confidence and Support

FLCS employs the concept of confidence and support in each generated fuzzy rules [Ishibuchi, 2005]. The confidence and support are two important parameters in the fuzzy logic classification system which have the similar functions like the “weight” in neural networks. In the training stage of FLCS, the system learns the needed information from the data in order to obtain the confidence and support for each fuzzy rule. The fuzzy rule in a fuzzy classification system is written as:

Rule 𝑅𝑞: 𝐼𝐹 𝑥1 𝑖𝑠 𝐴𝑞1 ...𝑥𝑛 𝑖𝑠 𝐴𝑞𝑛 then class 𝐶𝑞 (3-9)

where in the rule q, it has n crisp inputs x and n fuzzy sets 𝐴𝑞. If each crisp input

x belongs to each fuzzy set 𝐴𝑞, and the class label is 𝐶𝑞. The fuzzy system could learn

the confidence and support from the rule q. The confidence can be viewed as measuring the validity. It can be also viewed as a numerical approximation of the conditional probability. The support can be viewed as measuring the coverage of training patterns. For each rule q, the confidence of 𝑅𝑞 is represented 𝑠(𝐴𝑞 ⇒ 𝐶𝑞) and the support of 𝑅𝑞

Assuming in the fuzzy set 𝐴𝑞𝑝, it has M membership functions {𝐴𝑞𝑝1, … , 𝐴𝑞𝑝𝑀}, and for the input 𝑥𝑝, the system calculates the firing strength 𝑤𝑞(𝑥𝑝) from the fuzzy set 𝐴𝑞𝑝, the 𝑤𝑞(𝑥𝑝) can be represented as below:

𝑤𝑞(𝒙𝒑) = min( 𝜇𝐴𝑞𝑝1(𝑥𝑝), … , 𝜇𝐴𝑞𝑝𝑀(𝑥𝑝)) (3-10)

where 𝑤𝑞(𝑥𝑝) represents the firing strength of the rule q to a crisp input 𝑥𝑝, 𝜇𝐴𝑞𝑝1(𝑥𝑝) represents membership values of the crisp input 𝑥𝑝 to the membership

function 𝐴𝑞𝑝1 from the fuzzy sets 𝐴𝑞𝑝 in type-1 fuzzy sets for the rule q, and 𝑥𝑝 is one

crisp input of the input vector {𝑥1, … , 𝑥𝑛}, n is the size of input vector.

Meanwhile, for type-2 fuzzy sets, 𝑤̅̅̅̅(𝑥𝑞 𝑝) and 𝑤𝑞(𝑥𝑝) represent the upper and

lower firing strengths of the rule q to a crisp input 𝑥𝑝, which can be written as:

𝑤𝑞

̅̅̅̅(𝒙𝒑) = 𝑚𝑖𝑛( 𝜇𝐴𝑞𝑝1(𝑥𝑝), … , 𝜇𝐴𝑞𝑝𝑀(𝑥𝑝)) (3-11)

𝑤𝑞(𝒙𝒑) = 𝑚𝑖𝑛( 𝜇𝐴𝑞𝑝1(𝑥𝑝), … , 𝜇𝐴𝑞𝑝𝑀(𝑥𝑝)) (3-12)

where 𝜇𝐴

𝑞𝑝1(𝑥𝑝) and 𝜇𝐴𝑞𝑝1(𝑥𝑝) represent the upper membership value and lower membership value of the crisp input 𝑥𝑝 to the upper and lower membership function of

𝐴𝑞𝑝1 respectively from the fuzzy sets 𝐴𝑞𝑝 in type-2 fuzzy sets for the rule q, and 𝑥𝑝 is one crisp input of the input vector {𝑥1, … , 𝑥𝑛}, n is the size of input vector.

In the training stage, the fuzzy logic classification system learns the confidence and support from the training data. The confidence of the type-1 fuzzy logic classification system for the rule q can be obtained as follows [Ishibuchi, 2005]:

𝑐(𝐴𝑞 ⇒ 𝐶𝑞) =∑𝑥𝑝∈Class 𝐶𝑞𝑤𝑞(𝑥𝑝)

∑𝑚𝑝=1𝑤𝑞(𝑥𝑝) (3-13)

where m is the number of rules in the rule base. And the support of the rule q:

𝑠(𝐴𝑞⇒ 𝐶𝑞) = ∑ 𝑤𝑞(𝑥𝑝)

𝑥𝑝∈Class 𝐶𝑞 (3-14)

The confidence and support also employed by the type-2 fuzzy sets, with the upper confidence and lower confidence written as:

𝑐(𝐴𝑞 ⇒ 𝐶𝑞) =∑𝑥𝑝∈𝐶𝑙𝑎𝑠𝑠 𝐶𝑞𝑤̅̅̅̅(𝒙𝑞 𝒑) ∑𝑚 𝑤̅̅̅̅(𝒙𝑞 𝒑) 𝑝=1 (3-15) 𝑐(𝐴𝑞 ⇒ 𝐶𝑞) = ∑𝑥𝑝∈𝐶𝑙𝑎𝑠𝑠 𝐶𝑞𝑤𝑞(𝒙𝒑) ∑𝑚𝑝=1𝑤𝑞(𝒙𝒑) (3-16)

where m is the number of rules in the rule base. And the upper support and lower support can be written as:

𝑠(𝐴𝑞 ⇒ 𝐶𝑞) = ∑ ̅̅̅̅(𝒙𝑤𝑞 𝒑)

𝑥𝑝∈𝐶𝑙𝑎𝑠𝑠 𝐶𝑞 (3-17)

𝑠(𝐴𝑞 ⇒ 𝐶𝑞) = ∑ 𝑤𝑞(𝒙𝒑) 𝑥𝑝∈𝐶𝑙𝑎𝑠𝑠 𝐶𝑞

(3-18)

The fuzzy logic classification system learns the confidence 𝑠(𝐴𝑞 ⇒ 𝐶) and support 𝑐(𝐴𝑞⇒ 𝐶) for rules in the training stage based on the input vector {𝑥1, … , 𝑥𝑛}, class label 𝐶𝑞 and the fuzzy sets {𝐴𝑞1, … , 𝐴𝑞𝑛}.

3.4.2.2 Output Computing and Data Classifying

The confidence and support are employed by type-1 and type-2 FLCS during the testing phase to predict the class label for the new inputs. The system uses the confidence and support from the rule base during the testing phase to classify the incoming data. For type-1 FLCS, the crisp inputs would then be fuzzified and the firing strength of each rule computed using 𝑤𝑞(𝑉𝑈𝑖), and the strength of each class is given

by:

𝑂𝐶𝑙𝑎𝑠𝑠(𝑉𝑈𝑖) = ∑ (𝑤𝑞(𝑉𝑈𝑖) ∗ 𝑐(𝐴𝑞⇒ 𝐶𝑞) ∗ 𝑠(𝐴𝑞 ⇒ 𝐶𝑞))

𝑞

(3-19)

where the output classification will be the class with the highest class strength. In type-2 FLCS, the crisp inputs would be fuzzified and we will compute the upper firing strength 𝑤𝑞(𝑉𝑈𝑖) and lower firing strength 𝑤𝑞(𝑉𝑈𝑖) respective to each fired rule.

The strength of each class is given by:

𝑂𝐶𝑙𝑎𝑠𝑠(𝑉𝑈𝑖) = ∑ (𝑤𝑞(𝑉𝑈𝑖) ∗ 𝑐(𝐴𝑞 ⇒ 𝐶𝑞) ∗ 𝑠(𝐴𝑞⇒ 𝐶𝑞)) 𝑞 (3-20) 𝑂𝐶𝑙𝑎𝑠𝑠(𝑉𝑈𝑖) = ∑ (𝑤𝑞(𝑉𝑈𝑖) ∗ 𝑐(𝐴𝑞⇒ 𝐶𝑞) ∗ 𝑠(𝐴𝑞 ⇒ 𝐶𝑞)) 𝑞 (3-21) 𝑂𝐶𝑙𝑎𝑠𝑠(𝑉𝑈𝑖) = 𝑂𝐶𝑙𝑎𝑠𝑠(𝑉𝑈𝑖) + 𝑂𝐶𝑙𝑎𝑠𝑠(𝑉𝑈𝑖) 2 (3-22)

The highest class strength would be the winner of all classes as the output classification.

3.5

Discussion

In this chapter, we presented a brief introduction and the background of the type- 1 and type-2 fuzzy logic. The importance of fuzzy logic has been described. We have also produced the specific process of the fuzzy rules generation with confidence and support in order to learn from the data. This approach will be applied to our proposed system, to learn required knowledge from the data in order to summarize the information from the target videos.

The Fuzzy Logic Classification System for

Linguistic Video Summarization of Soccer Videos

In this chapter, we will demonstrate the process of our scenes classification system based on fuzzy logic and some basic techniques from computer vision in order to learn from video data and predict scenes of the soccer video.

Documento similar