Find Jobs
Hire Freelancers

Case‐Based Reasoning and clusting

kr192-1600 SEK

Closed
Posted about 6 years ago

kr192-1600 SEK

Paid on delivery
a) Create a Case‐Based Reasoning System for recommending restaurants in Örebro based on properties of restaurants such as Restaurant Type (e.g. Gourmet, Traditional, Fast Food, Cafe, ...), Nationality (Swedish, Asian, Italian, Other,...), Quality Level, Price Level, Distance to University, ... Other properties may be the distance from university or city center, the number of main dishes or desserts on the menu, the noise or crowdedness level... You are free to decide with which properties you want to describe a restaurant. For creating such a system, you need to do the following steps: Design data structures to store the cases in. A case hereby holds all information about one restaurant. You may want to use classes and instances or dictionaries. In addition you need to define a similarity function that takes two restaurant‐cases and returns a number between 0 and 1 that expresses how similar the two restaurants are. The higher the number, the more similar the cases are. Also create a function/method that prints a restaurant case in a form understandable for a user. Define functions/methods to load and save cases in a CSV‐file (include a header line). The structure of a line in the file should be like: <name>;<property1>;<property2>;.... For example the content of the file could look like: Name;Type;Nationality;Quality;Price Pasta la Vista;Take Away;Italian;2;1 CoffeeByGeorge;Cafe;Other;4;3 .... Create methods/functions  to fill your case base from the file,  to add cases to your case base and  to write the case base into a file and create a data set with at least 20 restaurant entries. If you do not know sufficiently many, look into [login to view URL] – we have a lot of restaurants in Örebro. Use case‐based reasoning to create a function that takes an input from a user and returns and displays the case from the case base that is the most similar one: Input can be done via the console with e.g. using “*” as a don’t care signal telling that this property is currently not important for the user. Create a query‐case from the user input and search for the most similar case in your data base. You may need to decide what to do with “don’t care” properties in the similarity function. Return and display the most similar restaurant‐case as the recommendation to the user. b) Use the functionality created in Task 2 – mainly loading restaurant data from a file, similarity functions – to analyze the restaurant scene in Örebro: Use k‐means clustering as given in the lecture on your restaurant data base. The critical question hereby is how to calculate a centroid. While calculating the average for numeric properties (e.g. quality level or distance from university), the average for symbolic properties (e.g. nationality) is not clear? Try to find out what effect it has on the final clusters, to calculate the average in different ways: An option could be to simply ignore symbolic properties when calculating the average; another option is to set the value that is given most often in the cluster or third, you may also arrange all entries to numbers in some systematic way, e.g. from east to west in nationality and then calculate the average. What do you find out about the restaurants in Örebro? Do we have a good distribution of all kinds of restaurants or are there only Fast‐Food Asian restaurants and expensive Italian ones? You need to show (print) the information about the clusters: So for each cluster show:  how many cases are in that cluster  Give the Centroid of that cluster
Project ID: 16338013

About the project

2 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
2 freelancers are bidding on average kr1,298 SEK for this job
User Avatar
Hi, I'm working in machine learning field for last 1 year and I really like exploring this field. I've gone through the description, and I've the idea how to make it work. I'd like to discuss more on chat.
kr1,600 SEK in 3 days
5.0 (13 reviews)
4.6
4.6

About the client

Flag of SWEDEN
Sweden
0.0
0
Member since Feb 20, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.