SlideShare a Scribd company logo
1 of 19
Download to read offline
1st Computer Cooking Contest Workshop @ ECCBR 08, Trier, 2008-09-01




Realising a CBR-based approach for 1st Computer
                Cooking Contest
                 with CCC IIS

      Alexandre Hanft, Norman Ihle, Régis Newo, Kerstin Bach, and Jens Mänz


       Intelligent Information Systems Lab, University of Hildesheim, Germany
                         <second-name>@iis.uni-hildesheim.de
Outline
•   Introduction (Requirements of Application Domain)
•   e:IAS
•   Modelling cases, esp. ingredients
•   Rules
•   Workflows
•   Achieve three challenges
•   Summary & Future work




                1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 2
Introduction
• Requirements (short)
  – Recipe: Title, list of ingredients, preparation instruction
  – users wishes:
     • Preferred ingredients,
     • dish category,
     • cuisine
     • Dietetic practices: nonalcholic, nut-free, vegetarian
     • Forbidden ingredients
         –    recognise specialisation of concepts
  – Give an recipe as advice according to the users input
     •    advice based on similarity
  – Modification of recipes if none of the existing comply with all
    constraints
                 1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 3
Using e:IAS
                         empolis Information Access Suite

• Industry-strength CBR tool suite
• Why using e:IAS?
   – GUI support for modelling
   – Supports more than one language
   – Powerful rule mechanism
   – can use parts of modelling from application „smartcooking24“
• What consist e:IAS of
   – Web Client + Server
   – XML based
   – JSP GUI with TagLibs            Knowledge Server hosted in Tomcat
   – GUI: Creator for data management, models, processes
                  1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 4
Modelling
• Recipe: Title, list of ingredients, preparation instruction
• Main part concerning ingredients: 10 separate types
   – Meat, Vegetables, Fruits, Milk, Liquids, …
   – + TypeOfMeal, TypeOfCuisine, Diet
• 1216 different concepts
   – + Terms representing them in each language (english, german)
• 782 ingredients
• Questions to deal with
   – Difference between botanic classification of an ingredient and
     “common knowledge”/ its usage for cooking
        modelling depending on the purpose
   – Some recipes could be starter as well as main dish
                 1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 5
Model with taxonomies for Similarity
•   17 taxonomies used, for ingredients, e.g. hot
•   Source: Sample App, asking experts, Wikipedia
•   Similarity calculated depending
    on steps up/down

•   + Table for similarity values for certain pairs
                                                                                A   B
•   Calculate similarity between two concepts: combines                     A   1
    sim measures, takes maximum of both
•   Values in table above the threshold used for                            B   0.8 1
    determination of replacing ingredients
•   Similarity(Query, Casei) = weighted sum of case
    attributes




                      1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 6
Taxonomy of Nut




1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 7
Case Format




1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 8
Using Rules

Why use Rules?
   Dynamic behaviour or: not all could be expressed through similarity...
   well supported by e:IAS at different phases
   full access to internal Object model
   At first stage it looks easy to build/ of moderate effort
different kinds reflecting the aim and time they are called
   13 Filter rules (textminer)
   50 Completion rules (complete query,                 retrieval server
       Type Of Meal: 13 rules
       Type of Cuisine: 28 rules ...
   12 Adaptation rules (after getting the retrieval result)
                     1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 9
Adaption Rule: Exchange Meat

VAR
   $WrongIngr = Intersection(Query@Att_Extra_Forbidden_Ingredient_Meat;
   Case@Att_Ingredient_Meat; 1.0)
   $ReplaceIngrCand = DifferenceSet($AllIngr; $WrongIngr);
   $ReplaceIngr = Intersection($WrongIngr; $ReplaceIngrCand; 0.5);
   $ReplaceIngrWOForbidden = DifferenceSet($ReplaceIngr;
   Query@Att_Extra_Forbidden_Ingredient_Meat);
   $tip = Concatenation("Please leave out or replace "; $WrongIngrText; " through ";
   $ReplaceIngrWOForbiddenText;);
IF
   Cardinality($WrongIngr; Integer.V1) > 0
THEN
   SetAttribute(Case@Att_Extra_Exchanges_Meat;
     Union(Case@Att_Extra_Exchanges_Meat; $ReplaceIngrWOForbidden); none;
   override);
   SetAttribute(Case@Att_Extra_Exchanges_Text;
     Union(Case@Att_Extra_Exchanges_Text; $tip; SetOfText.V1); none; override);
                    1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 10
Adaption Rule: Exchange forbidden Meat
                    through similar meat
                  Intersection is set of concepts from
                   All which are similar > threshhold

 forbidden
meat (query)                                    All meat
                                                concepts

   meat
 concepts
 of 1 case


„Please replace “ + + „ through “ +

          1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 11
Example Rule: recognise Ice Cream

Recognice ice cream
IF AND(
  HasElement(Att_MethodOfPreparation;"freeze");
  HasElement(Att_Ingredient_SpiceAndHerb; ":sugar");
  OR(
    Cardinality(Att_Ingredient_Fruit; Integer.V1) > 0;
    Cardinality(Intersection("milk"; Att_Ingredient_Milk; 0.8) > 0));
THEN SetAttribute(Att_Extra_TypeOfMeal;
  Union(Att_TypeOfMeal; "dessert";"ice cream")




                  1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 12
Workflow
Workflow Engine: ProcessManager
  Search Pipeline:                                                          Cases




                                                                      Retrieval
User          Filter       Query           Completion                  Server
input         rules                          rules




                                  Result                       Adaptation
                                                                 rules

               1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 13
Compulsory task
Input: free Text + Combobox for dietary practices
Result: list of recipes with Title, Ingredients, Prep. + possibly
  Replacement instructions
Dietary practice
   non alcoholic
      Alcohol is part of liquid taxonomy
   nut-free
      Nuts are part of fruit taxonomy
      Modelled from culinaric instead botanic perspective: sheanut, almond
         set filter that exclude all recipes with nuts
   Vegetarian
         exclude all recipes with Meat
                   1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 14
Negation Challenge
Debar arbitrary amount of
   Replace Certain ingredients textbox, pattern „do not have ~“
   Exclude Type of Cuisine           pattern: „do not like ~“
   Exclude Specie               pattern: „do not like ~“
Replacement through similar ingr. (same type), which are not
  also forbidden
   for all retrieved cases containing forbidden ingredients
   Suggestion: >1 advices possible
Over the whole similarity of each case it is controlled if a case
  with or without adaptation is adviced
   Depends on the amount of ingredients conforming with the query

                 1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 15
GUI Example Query




1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 16
Menu Challenge GUI Example




1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 17
Summary & Future Work

• CBR system based on industrial-strength tool including a
  powerful rules mechanism.
• Modelling of ingredients with combination of similarity measures
• accomplish the three challenges


• Retain cycle, allow user to modify recipes
• differentiate kind of negation part into “hate ~” and “dislike ~”
• Complete support for other languages



                 1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 18
Thank you for your attention!

         Any Questions?




    1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 19

More Related Content

Viewers also liked

2012 12 Digital Leaders Executive Briefing Part
2012 12 Digital Leaders Executive Briefing Part 2012 12 Digital Leaders Executive Briefing Part
2012 12 Digital Leaders Executive Briefing Part Gillian Muessig
 
Live800の導入【招待ウィンドウ編】
Live800の導入【招待ウィンドウ編】Live800の導入【招待ウィンドウ編】
Live800の導入【招待ウィンドウ編】Live 800
 
Bp Corp Pres Short
Bp Corp Pres ShortBp Corp Pres Short
Bp Corp Pres Shortkevinjoy
 
Meaning Thought Feeling Action Results
Meaning Thought Feeling Action ResultsMeaning Thought Feeling Action Results
Meaning Thought Feeling Action ResultsEddie OOI
 
Vinci2011会议演讲PPT
Vinci2011会议演讲PPTVinci2011会议演讲PPT
Vinci2011会议演讲PPTdasiyjun
 
An Introduction To Onva
An Introduction To OnvaAn Introduction To Onva
An Introduction To OnvaMattManners
 
Social Media & Life Style
Social Media & Life StyleSocial Media & Life Style
Social Media & Life StyleVikram Mehta
 
Open Source@etailing v1.2 (video)
Open Source@etailing v1.2 (video)Open Source@etailing v1.2 (video)
Open Source@etailing v1.2 (video)Iksula
 
Engage slideshow2013
Engage slideshow2013Engage slideshow2013
Engage slideshow2013jimlos1
 
Boston Library Consortium (BLC) annual meeting keynote 2007-04-12
Boston Library Consortium (BLC) annual meeting keynote 2007-04-12Boston Library Consortium (BLC) annual meeting keynote 2007-04-12
Boston Library Consortium (BLC) annual meeting keynote 2007-04-12Casey Bisson
 
2012 02 OMS san diego - community development workshop
2012 02 OMS san diego - community development workshop2012 02 OMS san diego - community development workshop
2012 02 OMS san diego - community development workshopGillian Muessig
 

Viewers also liked (20)

Join Kessef Today
Join Kessef TodayJoin Kessef Today
Join Kessef Today
 
S273
S273S273
S273
 
2012 12 Digital Leaders Executive Briefing Part
2012 12 Digital Leaders Executive Briefing Part 2012 12 Digital Leaders Executive Briefing Part
2012 12 Digital Leaders Executive Briefing Part
 
Itec 214
Itec 214Itec 214
Itec 214
 
Live800の導入【招待ウィンドウ編】
Live800の導入【招待ウィンドウ編】Live800の導入【招待ウィンドウ編】
Live800の導入【招待ウィンドウ編】
 
Bp Corp Pres Short
Bp Corp Pres ShortBp Corp Pres Short
Bp Corp Pres Short
 
Meaning Thought Feeling Action Results
Meaning Thought Feeling Action ResultsMeaning Thought Feeling Action Results
Meaning Thought Feeling Action Results
 
Vinci2011会议演讲PPT
Vinci2011会议演讲PPTVinci2011会议演讲PPT
Vinci2011会议演讲PPT
 
Smart Home
Smart HomeSmart Home
Smart Home
 
An Introduction To Onva
An Introduction To OnvaAn Introduction To Onva
An Introduction To Onva
 
Social Media & Life Style
Social Media & Life StyleSocial Media & Life Style
Social Media & Life Style
 
SME 4 Dic 09
SME 4 Dic 09SME 4 Dic 09
SME 4 Dic 09
 
Neo con e tool overview
Neo con e tool overviewNeo con e tool overview
Neo con e tool overview
 
Art Photography
Art PhotographyArt Photography
Art Photography
 
Open Source@etailing v1.2 (video)
Open Source@etailing v1.2 (video)Open Source@etailing v1.2 (video)
Open Source@etailing v1.2 (video)
 
Engage slideshow2013
Engage slideshow2013Engage slideshow2013
Engage slideshow2013
 
Boston Library Consortium (BLC) annual meeting keynote 2007-04-12
Boston Library Consortium (BLC) annual meeting keynote 2007-04-12Boston Library Consortium (BLC) annual meeting keynote 2007-04-12
Boston Library Consortium (BLC) annual meeting keynote 2007-04-12
 
actest
actestactest
actest
 
Ur-Energy July 2013 Corporate Presentation
Ur-Energy July 2013 Corporate PresentationUr-Energy July 2013 Corporate Presentation
Ur-Energy July 2013 Corporate Presentation
 
2012 02 OMS san diego - community development workshop
2012 02 OMS san diego - community development workshop2012 02 OMS san diego - community development workshop
2012 02 OMS san diego - community development workshop
 

Similar to Ccc@Eccbr08 Iis Hanft

Iqpc eln joanna mulgrew
Iqpc eln joanna mulgrewIqpc eln joanna mulgrew
Iqpc eln joanna mulgrewJo Mulgrew
 
EUGM 2014 - Mark Davies (EMBL-EBI): SureChEMBL – Open Patent Data
EUGM 2014 - Mark Davies (EMBL-EBI): SureChEMBL – Open Patent Data  EUGM 2014 - Mark Davies (EMBL-EBI): SureChEMBL – Open Patent Data
EUGM 2014 - Mark Davies (EMBL-EBI): SureChEMBL – Open Patent Data ChemAxon
 
Comprehensive Container Based Service Monitoring with Kubernetes and Istio
Comprehensive Container Based Service Monitoring with Kubernetes and IstioComprehensive Container Based Service Monitoring with Kubernetes and Istio
Comprehensive Container Based Service Monitoring with Kubernetes and IstioFred Moyer
 
Testing in Rails 3.x
Testing in Rails 3.xTesting in Rails 3.x
Testing in Rails 3.xnelinger
 
Deep Learning Applications Using TensorFlow, ft. Advanced Microgrid Solutions...
Deep Learning Applications Using TensorFlow, ft. Advanced Microgrid Solutions...Deep Learning Applications Using TensorFlow, ft. Advanced Microgrid Solutions...
Deep Learning Applications Using TensorFlow, ft. Advanced Microgrid Solutions...Amazon Web Services
 
Evaluating Machine Learning Algorithms for Materials Science using the Matben...
Evaluating Machine Learning Algorithms for Materials Science using the Matben...Evaluating Machine Learning Algorithms for Materials Science using the Matben...
Evaluating Machine Learning Algorithms for Materials Science using the Matben...Anubhav Jain
 
Dealing with the complex challenge of managing diverse chemistry data online
Dealing with the complex challenge of managing diverse chemistry data onlineDealing with the complex challenge of managing diverse chemistry data online
Dealing with the complex challenge of managing diverse chemistry data onlineKen Karapetyan
 
Case study: Design Space Exploration for Electronic Cooling simulation
Case study: Design Space Exploration for Electronic Cooling simulationCase study: Design Space Exploration for Electronic Cooling simulation
Case study: Design Space Exploration for Electronic Cooling simulationSuzana Djurcilov
 
Accurately and Reliably Extracting Data from the Web:
Accurately and Reliably Extracting Data from the Web: Accurately and Reliably Extracting Data from the Web:
Accurately and Reliably Extracting Data from the Web: butest
 
Salesforce Batch processing - Atlanta SFUG
Salesforce Batch processing - Atlanta SFUGSalesforce Batch processing - Atlanta SFUG
Salesforce Batch processing - Atlanta SFUGvraopolisetti
 

Similar to Ccc@Eccbr08 Iis Hanft (13)

Iqpc eln joanna mulgrew
Iqpc eln joanna mulgrewIqpc eln joanna mulgrew
Iqpc eln joanna mulgrew
 
EUGM 2014 - Mark Davies (EMBL-EBI): SureChEMBL – Open Patent Data
EUGM 2014 - Mark Davies (EMBL-EBI): SureChEMBL – Open Patent Data  EUGM 2014 - Mark Davies (EMBL-EBI): SureChEMBL – Open Patent Data
EUGM 2014 - Mark Davies (EMBL-EBI): SureChEMBL – Open Patent Data
 
Comprehensive Container Based Service Monitoring with Kubernetes and Istio
Comprehensive Container Based Service Monitoring with Kubernetes and IstioComprehensive Container Based Service Monitoring with Kubernetes and Istio
Comprehensive Container Based Service Monitoring with Kubernetes and Istio
 
Testing in Rails 3.x
Testing in Rails 3.xTesting in Rails 3.x
Testing in Rails 3.x
 
Deep Learning Applications Using TensorFlow, ft. Advanced Microgrid Solutions...
Deep Learning Applications Using TensorFlow, ft. Advanced Microgrid Solutions...Deep Learning Applications Using TensorFlow, ft. Advanced Microgrid Solutions...
Deep Learning Applications Using TensorFlow, ft. Advanced Microgrid Solutions...
 
Evaluating Machine Learning Algorithms for Materials Science using the Matben...
Evaluating Machine Learning Algorithms for Materials Science using the Matben...Evaluating Machine Learning Algorithms for Materials Science using the Matben...
Evaluating Machine Learning Algorithms for Materials Science using the Matben...
 
Dealing with the complex challenge of managing diverse chemistry data online
Dealing with the complex challenge of managing diverse chemistry data onlineDealing with the complex challenge of managing diverse chemistry data online
Dealing with the complex challenge of managing diverse chemistry data online
 
Dealing with the complex challenge of managing diverse chemistry data online
Dealing with the complex challenge of managing diverse chemistry data onlineDealing with the complex challenge of managing diverse chemistry data online
Dealing with the complex challenge of managing diverse chemistry data online
 
The UK National Chemical Database Service – an integration of commercial and ...
The UK National Chemical Database Service – an integration of commercial and ...The UK National Chemical Database Service – an integration of commercial and ...
The UK National Chemical Database Service – an integration of commercial and ...
 
Case study: Design Space Exploration for Electronic Cooling simulation
Case study: Design Space Exploration for Electronic Cooling simulationCase study: Design Space Exploration for Electronic Cooling simulation
Case study: Design Space Exploration for Electronic Cooling simulation
 
Aspen HYSYS - Basic Course (SS)
Aspen HYSYS - Basic Course (SS)Aspen HYSYS - Basic Course (SS)
Aspen HYSYS - Basic Course (SS)
 
Accurately and Reliably Extracting Data from the Web:
Accurately and Reliably Extracting Data from the Web: Accurately and Reliably Extracting Data from the Web:
Accurately and Reliably Extracting Data from the Web:
 
Salesforce Batch processing - Atlanta SFUG
Salesforce Batch processing - Atlanta SFUGSalesforce Batch processing - Atlanta SFUG
Salesforce Batch processing - Atlanta SFUG
 

Recently uploaded

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 

Ccc@Eccbr08 Iis Hanft

  • 1. 1st Computer Cooking Contest Workshop @ ECCBR 08, Trier, 2008-09-01 Realising a CBR-based approach for 1st Computer Cooking Contest with CCC IIS Alexandre Hanft, Norman Ihle, Régis Newo, Kerstin Bach, and Jens Mänz Intelligent Information Systems Lab, University of Hildesheim, Germany <second-name>@iis.uni-hildesheim.de
  • 2. Outline • Introduction (Requirements of Application Domain) • e:IAS • Modelling cases, esp. ingredients • Rules • Workflows • Achieve three challenges • Summary & Future work 1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 2
  • 3. Introduction • Requirements (short) – Recipe: Title, list of ingredients, preparation instruction – users wishes: • Preferred ingredients, • dish category, • cuisine • Dietetic practices: nonalcholic, nut-free, vegetarian • Forbidden ingredients – recognise specialisation of concepts – Give an recipe as advice according to the users input • advice based on similarity – Modification of recipes if none of the existing comply with all constraints 1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 3
  • 4. Using e:IAS empolis Information Access Suite • Industry-strength CBR tool suite • Why using e:IAS? – GUI support for modelling – Supports more than one language – Powerful rule mechanism – can use parts of modelling from application „smartcooking24“ • What consist e:IAS of – Web Client + Server – XML based – JSP GUI with TagLibs Knowledge Server hosted in Tomcat – GUI: Creator for data management, models, processes 1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 4
  • 5. Modelling • Recipe: Title, list of ingredients, preparation instruction • Main part concerning ingredients: 10 separate types – Meat, Vegetables, Fruits, Milk, Liquids, … – + TypeOfMeal, TypeOfCuisine, Diet • 1216 different concepts – + Terms representing them in each language (english, german) • 782 ingredients • Questions to deal with – Difference between botanic classification of an ingredient and “common knowledge”/ its usage for cooking modelling depending on the purpose – Some recipes could be starter as well as main dish 1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 5
  • 6. Model with taxonomies for Similarity • 17 taxonomies used, for ingredients, e.g. hot • Source: Sample App, asking experts, Wikipedia • Similarity calculated depending on steps up/down • + Table for similarity values for certain pairs A B • Calculate similarity between two concepts: combines A 1 sim measures, takes maximum of both • Values in table above the threshold used for B 0.8 1 determination of replacing ingredients • Similarity(Query, Casei) = weighted sum of case attributes 1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 6
  • 7. Taxonomy of Nut 1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 7
  • 8. Case Format 1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 8
  • 9. Using Rules Why use Rules? Dynamic behaviour or: not all could be expressed through similarity... well supported by e:IAS at different phases full access to internal Object model At first stage it looks easy to build/ of moderate effort different kinds reflecting the aim and time they are called 13 Filter rules (textminer) 50 Completion rules (complete query, retrieval server Type Of Meal: 13 rules Type of Cuisine: 28 rules ... 12 Adaptation rules (after getting the retrieval result) 1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 9
  • 10. Adaption Rule: Exchange Meat VAR $WrongIngr = Intersection(Query@Att_Extra_Forbidden_Ingredient_Meat; Case@Att_Ingredient_Meat; 1.0) $ReplaceIngrCand = DifferenceSet($AllIngr; $WrongIngr); $ReplaceIngr = Intersection($WrongIngr; $ReplaceIngrCand; 0.5); $ReplaceIngrWOForbidden = DifferenceSet($ReplaceIngr; Query@Att_Extra_Forbidden_Ingredient_Meat); $tip = Concatenation("Please leave out or replace "; $WrongIngrText; " through "; $ReplaceIngrWOForbiddenText;); IF Cardinality($WrongIngr; Integer.V1) > 0 THEN SetAttribute(Case@Att_Extra_Exchanges_Meat; Union(Case@Att_Extra_Exchanges_Meat; $ReplaceIngrWOForbidden); none; override); SetAttribute(Case@Att_Extra_Exchanges_Text; Union(Case@Att_Extra_Exchanges_Text; $tip; SetOfText.V1); none; override); 1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 10
  • 11. Adaption Rule: Exchange forbidden Meat through similar meat Intersection is set of concepts from All which are similar > threshhold forbidden meat (query) All meat concepts meat concepts of 1 case „Please replace “ + + „ through “ + 1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 11
  • 12. Example Rule: recognise Ice Cream Recognice ice cream IF AND( HasElement(Att_MethodOfPreparation;"freeze"); HasElement(Att_Ingredient_SpiceAndHerb; ":sugar"); OR( Cardinality(Att_Ingredient_Fruit; Integer.V1) > 0; Cardinality(Intersection("milk"; Att_Ingredient_Milk; 0.8) > 0)); THEN SetAttribute(Att_Extra_TypeOfMeal; Union(Att_TypeOfMeal; "dessert";"ice cream") 1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 12
  • 13. Workflow Workflow Engine: ProcessManager Search Pipeline: Cases Retrieval User Filter Query Completion Server input rules rules Result Adaptation rules 1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 13
  • 14. Compulsory task Input: free Text + Combobox for dietary practices Result: list of recipes with Title, Ingredients, Prep. + possibly Replacement instructions Dietary practice non alcoholic Alcohol is part of liquid taxonomy nut-free Nuts are part of fruit taxonomy Modelled from culinaric instead botanic perspective: sheanut, almond set filter that exclude all recipes with nuts Vegetarian exclude all recipes with Meat 1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 14
  • 15. Negation Challenge Debar arbitrary amount of Replace Certain ingredients textbox, pattern „do not have ~“ Exclude Type of Cuisine pattern: „do not like ~“ Exclude Specie pattern: „do not like ~“ Replacement through similar ingr. (same type), which are not also forbidden for all retrieved cases containing forbidden ingredients Suggestion: >1 advices possible Over the whole similarity of each case it is controlled if a case with or without adaptation is adviced Depends on the amount of ingredients conforming with the query 1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 15
  • 16. GUI Example Query 1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 16
  • 17. Menu Challenge GUI Example 1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 17
  • 18. Summary & Future Work • CBR system based on industrial-strength tool including a powerful rules mechanism. • Modelling of ingredients with combination of similarity measures • accomplish the three challenges • Retain cycle, allow user to modify recipes • differentiate kind of negation part into “hate ~” and “dislike ~” • Complete support for other languages 1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 18
  • 19. Thank you for your attention! Any Questions? 1st CCC @ ECCBR 08, Trier 1st September 2008 – p. 19