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

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
 
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
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 

Recently uploaded (20)

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
 
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
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 

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