-
Create a model for a pizza shop based on customer preferences: honesty, proximity, variety, quality, options, cleanliness, reputation, sales.
-
Each of these has their own score from 1 to 100, but the total is 100 (so if one variable has 100, all others must be zero).
-
You will next model customers using these same features and have each customer come up with their own values (feel free to ask yourself and 6 other people and use their numbers).
-
In the end, you will have your own model (which will be used for the pizza parlor model), and 6 others (that will be used for customer models).
-
Enter each model, then create a sample pool of 100 customers where each customer is a pseudo-randomly generated customer type (one of the six).
-
This will represent your 100 customers. Have each visit your pizza parlor and rate their visit in the following manner:
Code
for each customer {
total+=|(feature1 - |(feature1 - customerfeature1)||
}
//the array in myStore shows what I think is most important out of 100 = honesty(21), proximity(23),
variety(0), quality(10), options(14), cleanliness(16), reputation(0), sales(16)
int[] myStore= new int[8] {21, 23, 0, 10, 14, 16, 0, 16 };
//These customers show different importance out of 100.
int[] customerType1 = new int[8] { 25, 15, 10, 10, 10, 5, 5, 20 };
int[] customerType2 = new int[8] { 20,15,10,5,10,30,0,10 };
int[] customerType3 = new int[8] { 30,20,5,5,10,10,0,20 };
int[] customerType4 = new int[8] { 8,25,2,25,5,15,0,20 };
int[] customerType5 = new int[8] { 20,15,10,5,10,20,5,15 };
int[] customerType6 = new int[8] { 15,10,5,20,15,15,0,20};
var random = new Random();
// I need to create a sample pool of 100 customers where each customer is a pseudo-randomly generated customer type (one of the six).
//This will represent your 100 customers. Have each visit your Store and rate their visit in the following manner:
for each customer {
total+=|(feature1 - |(feature1 - customerfeature1)||
}
//feature1 being myStore honesty(25) - | myStore honesty(25) - customer honesty(#)....
Aucun commentaire:
Enregistrer un commentaire