Inteligence Artificial
Por: mrluisgregorio • 29/4/2015 • Trabalho acadêmico • 1.943 Palavras (8 Páginas) • 601 Visualizações
At this stage of ATPS we were presented a proposal to model an expert system based on rules and facts. The theme was breed puppies, and consists of selecting a dog based on its most basic features. There have as facts, all the features that a dog has, since the rules is what will determine whether the set of its features (facts) make up a pre-established race. The language chosen for the implementation of the expert system was Prolog, we note that using this language was possible a simpler and concise coding compared with other languages, as Prolog consists of a purely logical language.
2 STEP 3
2.1 Knowledge Analysis Modeling
2.1.1 Analysis of Speech
• What characteristics of dogs?
Borzoi: Hunter.
Boxer: intelligent, fun and true to the owner.
Poodle: intelligent, creative, playful and has agility.
Pug: Companion.
Akita: possessive with respect to the owner.
Chow: Irrespective and intelligent.
Bulldog: Calm, are not aggressive and like to exercise.
Collie: Shepherd of the sheep.
Dachshund: bold dog, friendly and jealous.
Setter: Hunter, skilled, mate.
Labrador dog guide for the blind.
Beagle: Homemade, healthy, guard.
Bullmastiff: Balanced, docile, watchdog.
Weimaraner: Hunting dog, faithful and companion.
Chihuahua: World's smallest breed, sweet, training facility.
Leonberger: Great for kids, watchdog.
Samoyed: Husky Traction, hunter, grazed.
Malts: lap dog.
shar-pei: dog fighting, hunting and guard dog.
• What kind of food animals should have?
Borzoi: Food three times a day, it is recommend premium food and super premium because they are balanced.
Boxer: feed quantity to be given varies with the weight and size of the animal
Poodle: Ration premium line twice a day at fixed times, water throughout the day.
Pug: Feed lyophilized and dry rations in the form of croquettes and balls.
Akita: Food made with balanced diet with plenty of vitamins and restricted calories.
Chow: Good quality feed, feed at a certain time, the exclusive water to the animal.
Bulldog: Feed with calories ranging from 850 to 950g, cooked beef offal with vegetables and rice.
Collie: balanced diet with restricted calories with high levels of vitamins
Dachshund: first-line feed, with many proteins.
Setter: Feed first line balanced with proteins and vitamins minerals.
Labrador: Food will and good quality.
Beagle: Food twice a day and the best mark possible.
Bullmastiff: Balanced, docile, watchdog.
Weimaraner: Balanced diet with restricted calories to not gain weight
Chihuahua: quality food and clean, fresh water.
Leonberger: Water will always and good quality feed.
Samoyed: Food made at home, contain carbohydrates, vitamins and proteins (beef, chicken, fish, turkey).
Malts: eat the will, the feed must be of good quality, and the food should be dry.
shar-pei: good quality feed twice a day, fresh water and the will.
2.1.2 Knowledge Dictionary
• Dog Breed: very marked diversity of distinctive features, the explanation of which is not only the natural tendency of the dog to the change, but also the effects of a very old domestication.
• Hunter: A hunting dog refers to any dog that gives assistance to human hunting. Descendants of wolves hunted in packs, various types of hunting dogs were developed for many tasks that hunters require them to perform, but in order to deliver the hunt hunter or help you.
• Guard: For thousands of years our faithful companions meet the watchdog function, and today the training for this purpose is not expendable. Often people need protection, and a dog can fulfill this function very well. There are several breeds of guard dogs, there is a huge list of dogs with different temperaments. You can choose the specific features of a particular race, adjusting their situation.
• Pastor: Some breeds of dogs are used in the field to herd cattle and sheep. Copies are trained to herd and drive the herds from one area to another. The larger dogs also help to ward off predators such as small jaguars, ocelots, crab-grass and other dogs.
• Dog Guide Guide dogs help blind people to travel the world. In most countries, their presence is accepted in any public place, and they can help their users to go anywhere.
2.1.3 Inference Layer
2.1.3.1 Comments / Evidence
Comments / Evidence of Breed Borzoi
Dogs of this breed have a lot of energy, so require daily activities in large spaces to run.
Comments / Evidence of Breed Boxer
The Boxer is playful and great for kids. He needs a yard and plenty of room to run and exercise.
Comments / Evidence of Breed Poodle
You must take your pet to the vet regularly, be days with vaccines, worming should also be made periodically. The control and fight against fleas and ticks should be done no more than 3 months apart, even in this race that tends to have the hair long.
Comments / Evidence of Breed Pug
Many Pugs are allergic to
...