From the course: Programming Foundations: Fuzzy Logic

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Membership function

Membership function

From the course: Programming Foundations: Fuzzy Logic

Start my 1-month free trial

Membership function

- [Instructor] Let's say we're looking at creating a robot to speed up the process of determining which apple is ready for shipping to the store. We can calculate the membership of whether an apple is ripe by comparing the color. Completely red or fully ripe is 100% and 0% unripe and completely green is 0% ripe and 100% unripe. We notice our first apple is partly green, but more red than not. At first glance, it appears to be 75% red which would put it in the ripe category, but not fully as it still contains unripe parts. So, it is part ripe, part unripe. It has membership in both categories. Membership is based on what is the most prevalent category and depending on the scenario, you may not need 100% membership. For an apple though, we would probably sell more if we wait until we had 100% membership in the ripe category so we will wait. Membership calculations depend on the data being evaluated. If the data is an even evaluation between true and false, the values are between zero…

Contents