Programming Homework Help

Python Program and Service Personalization Features Project

 

KPI 15: we have 3 questions, and we should have 2 service weights and 2 actual weights for each service:

1. The user should choose one option from the following:

Rating not Available

One Star

Two – Three Stars

More than Three Stars

Rating not Applicable ( Web Optimized Interface)

(service weight #1) = 0 for option #1, 0.2 for option #2, 0.6 for option #3, 1 for option #4, empty string (” “) for option #5

(actual weight #1) = (service weight #1) * (weight % of this service)

2. Enter any number

3. Enter any number less than or equal to the input number of question #2

(service weight #2) = input of question #3 / input of question #2

((actual weight #2) = (service weight #2) * (weight % of this service)

calculating the KPI score here is different

KPI Score = { ( [sum of actual weights #1 for all services in this KPI] / [ (sum of weigh % for option 1) + (sum of weigh % for option 2) + (sum of weigh % for option 3) + (sum of weigh % for option 4) ] ) + (sum of all actual weights #2 for all services) } / 2

KPI 16: we have 2 questions, and we have to calculate 2 service weights and 2 actual weights:

question 1. The answer should be Yes or No

service weight #1 = 1 for yes, 0 for No

(actual weight #1) = (service weight #1) * (weight % of this service)

question 2. The answer should be Yes or No

service weight #2 = 1 for yes, 0 for No

(actual weight #2) = (service weight #2) * (weight % of this service)

KPI score here is different:

KPI score = [(sum of all actual weights #1 for all services) + (sum of all actual weights #1 for all services)] / 2

just a note for KPI 11 score: calculating its KPI score is different but easy

KPI score = {(sum of all actual weights for all services) / [ (sum of all service % weights whose answers were Yes) + (sum for all service % weights whose answers were No)}

So calculating the KPI scores for KPIs 11, 15, and 16 is different from the rest, and I send their rules, so please take a note of this.

So everything is with you right now for the first 16 KPIs (first code), please do your best to submit the work by tomorrow (maximum). And ask me in case there’s anything that may seem not clear! Thank you in advance