HAIR STYLIST PROBLEMS TROUBLESHOOTING SYSTEM
By,
Shravya Muttineni.
Kaveri T.
CSC 629, Spring 2020.
Professor: Dr. Nancy Green
- Executive Summary
Our help system, as the name suggests is about diagnosing the problems of a washing machine and providing solutions to the problems. The problems we have considered in our help system are related to water Draining problem, Motor problem and Door control problem and these problems can occur for a number of reasons like Drain hose clog, Foreign objects clogged, Power over load, Broken belt or a Faulty door etc.
The user of the washing machine is usually not aware of these problems but only the symptoms. So, we try to diagnose what the problem is by giving user a bunch of yes or no questions that he answers them based on the symptoms he sees in his washing machine. Based on his answers we calculate the probabilities of the problems and give the most likely problem for the given symptoms.
Later, we try to come with an action plan for the user to fix the most likely problem, to do so we again ask user a set of questions about the availability of tools, affordability or his skill in handling in the task etc., we try to come up with the best solution based on conditions given by the user.
Let’s look at an example of how our system works :
‘Is the scissors broken(y n)?:’ y
‘is this the suitable scissors(y n)?:’ y
Answering the above questions makes the most likely reason is a haircut problem, So the system again asks the user
Can you buy a new screw(y n)?: y
Do you have screwdriver? n
Are you able to repair scissors(y n)? n
Derived: go_to_nearest_store_and_buy_screw
Derived: borrow_ screwdriver _from_friend_to_replace_the_screw
Derived: watch_a_youtube_tutorial_on_how_to_install_screw
Derived: replace_the_screw_and_use_the_scissors
No more facts
As per current census more than 85% of US homes have a washing machine, so diagnosing the problem caused by washing machine would definitely impact wide range of people and the system can also impact the business the does laundry and dry cleaning. So, in case we have an issue with the washing machine, instead of buying another machine that may cost us around $1000. We can diagnose the problem and solve it with the help of our system. In future we can also develop our system into solving problems related to other house hold appliances as well like refrigerator, microwave, tv, air conditioner and make our system a one stop solution.
- Design of Bayesian Network:
Broken scissors: bs
Suitable scissors : sc
Speedfan problem : sfp
Hinge problem: hip
Color mismatch: cm
Insufficient color: ic
Haircut problem: hcp
Hair dryer problem: hdp
Dyeing problem: dp
Bad haircut: bh
Messy hair: mh
Faulty haircolor: fh
- Design of Forward Chaining Rule Set
Forward chaining rules for Haircut problem:
if nosuitable_scissors then try_another_suitable_scissors.
if buyscrew then go_to_nearest_store_and_buy_screw. // if you can buy a screw go to nearest store and buy a screw.
if nobuyscrew then try_to_inspect_the_screw. // if you cannot buy a new screw then try to inspect the current screw.
if go_to_nearest_store_and_buy_screw and screwdriver then use_screwdriver_to_replace_screw. // if you bought a new screw then use a screwdriver to replace the screw.
If go_to_nearest_store_and_buy_screw and noscrewdriver then borrow_ screwdriver _from_friend_to_replace_the_screw. // if you bought a new screw and you don’t have screwdriver to replace it then borrow the screwdriver from your friend.
if try_to_inspect_the_screw and screwdriver then remove_the_screw_to_reinstall_it. //if you didn’t buy the new screw and you have a screwdriver then remove the current screw to reinstall it.
if try_to_inspect_the_screw and noscrewdriver then borrow_screwdriver_to_inspect_it. // if you didn’t buy a new screw and don’t have a screwdriver then borrow a screwdriver and inspect the current screw.
if use_screwdriver_to_replace_screw and removescrew then try_using _scissors. //if you use the screwdriver and successfully replaced the screw then try using the scissors.
if use_ screwdriver _to_replace_screw and noremovescrew then watch_a_youtube_tutorial_on_how_to_remove_screw. // if you used the screwdriver and unable to remove the screw then watch a youtube video on how to remove the screw.
if borrow_ screwdriver _from_friend_to_replace_the_screw and removescrew then try_using_scissors. // if you borrowed screwdriver from a friend and successfully removed the screw to replace then try using the scissors.
if borrow_ screwdriver _from_friend_to_replace_the_screw and noremovescrew then watch_a_youtube_tutorial_on_how_to_remove_screw. //if you borrowed screwdriver from friend and couldn’t successfully remove the screw then watch a youtube tutorial on how to remove screw.
if remove_the_screw_to_reinstall_it and removescrew then replace_the_removed_screw_and_use_screw. //if you want to remove the screw to reinstall it and successfully removed it then replace the removed screw and use the scissors.
if remove_the_screw_to_install_it and noremovescrew then watch_a_youtube_tutorial_on_how_to_remove_screw. // if you want to remove the screw to clean it and was not able to remove the screw then watch a youtube tutorial to remove the screw.
if borrow_ screwdriver _to_inspect_it and removescrew then try_using_scissors. // if you borrowed a screwdriver to inspect the screw and successfully did it by removing the screw then try using the scissors.
if borrow_ screwdriver_to_inspect_it and noremovescrew then watch_a_youtube_tutorial_on_how_to_remove_screw. // if you borrowed a screwdriver to inspect the screw and was not successful in removing the screw then watch a tutorial on how to remove the screw.
if watch_a_youtube_tutorial_on_how_to_remove_screw then replace_the_screw_and_use_the_scissors.// if you watch a youtube tutorial on how to remove the screw then replace the screw and use the scissors.
Forward chaining rules for Hair Dryer Problem:
if buy hairdryer then go_to_store_and_get_a_new_ hairdryer.
if nobuyhairdryer then check_for_faulty_part.
if go_to_store_and_get_a_new_speedfan and craftsman then use_the_screw_driver_to_take_out_old_speedfan.
if go_to_store_and_get_a_new_speedfan and nocraftsman then buy_a_craftsman_screw_driver.
if check_for_faulty_part and craftsman then take_out_the_speedfan_replace_the_hinge.
if check_for_faulty_part and nocraftsman then buy_a_craftsman_screw_driver_to_replace_the_hinge.
if use_the_screw_driver_to_take_out_old_speedfan and backpanel then replace_with_new_speedfan_and_start_the_hairdryer.
if use_the_screw_driver_to_take_out_old_speedfan and nobackpanel then watch_a_tutorial_on_how_to_replace_speedfan.
if buy_a_craftsman_screw_driver and backpanel then take_out_old_speedfan_and_replace_with_new_speedfan.
if buy_a_craftsman_screw_driver and nobackpanel then watch_a_tutorial_on_how_to_replace_speedfan.
if take_out_the_speedfan_replace_the_hinge and backpanel then replace_the_hinge_and_start_the_hairdryer.
if take_out_the_speddfan_replace_the_hinge and nobackpanel then watch_a_tutorial_on_how_to_replace_hinge.
if buy_a_craftsman_screw_driver_to_replace_the_hinge and backpanel then replace_the_hinge_reinstall_the_hairdryer.
if buy_a_craftsman_screw_driver_to_replace_the_hinge and nobackpanel then watch_a_tutorial_on_how_to_replace_hinge.
if watch_a_tutorial_on_how_to_replace_speedfan then replace_the_speedfan_and_start_hairdryer.
if watch_a_tutorial_on_how_to_replace_hinge then replace_the_hinge_reinstall_the_speedfan.
if replace_the_hinge_reinstall_the_speedfan then start_the_hairdryer.
if take_out_old_speedfan_and_replace_with_new_speedfan then start_the_hairdryer.
Forward chaining rules for Dyeing problem:
if color_mismatch then washhair_try_another_color.
if no color_mismatch then check_for_sufficient_color.
if washhair _then_ use_another_color and nonewcolor then buy_a_new_color_and_try_it.
if color_mismatch _and_ use_another_color and usenewcolor then try_a_new_color.
if check_for_ color_mismatch and nonewcolor then replace_the_oldcolor_and_try_it.
if check_for_ color_mismatch and newcolor then check_for_the_response.
if buy_a_newcolor _and_replace_it and nosatisifaction then replace_the_newcolor.
if buy_a_newcolor _and_try_it and satisifaction then ask_response.
if no color_mismatch and no_sufficient_color then go_to_store. // if we are checking for faulty door hinges and the door lock mechanism works fine then just replace the door hinges.
if no_sufficient_color and buy_newcolor and go_to_store then buy suitable_color.
if no_sufficient_color _and_ go_to_store and buy_suitable_color then try_new_color.
if buy_suitable_color and try_new_color then check_for_satisifaction.
if try_new_color and no_satisifaction then try_new_color.
if try_new_color and yes_satisifaction then ask_for_response.
The post diagnosing the problems of a washing machine appeared first on My Assignment Online.