|
-
July 5th, 2007, 03:17 PM
#1
artificial intelligence questions
can anyone help me solve these problems? i need some hint about at least fourth of them i would be thankful especially i know cilu can give hints..
Exercise 1: Find the difference between "خِرَد پارسی" and "rationality" and express it in a page (pdf or html format).
Exercise 2: Write a program that gets a keyword and creates a tree with this root node for a document. Then, the program builds a tree with nodes related to their parent nodes. This way, you create a summary oriented to the keyword (you can use any programming language that you like).
Help: Here we assume that here is only one document that we want to build such tree upon it. This may be used for helping the user to specifies what he wants. A simple relation for finding child nodes is the nodes that comes with the parent node in the document. For example, if in the document, "artificial intelligence" has come together, if the parent node is "intelligence", then one of its child nodes can be "artificial".
Exercise 3: Here we assume a query is given and we want to see most related documents to be ordered for us. We consider that we have quite a few text documents.
Help: define a quite number of index terms, we may say n index terms and order them as a vector: (t1, t2,…, tn). Every document is represented by a weight vector (wd1, wd2,…,wdn) where wdi denotes the importance (presence) of index term ti in the current document. One method for assigning to the weights is the tf-idf which is term frequency-inverse document frequency and is calculated as follows: wdi=(fti/max fj) * log N/ni such that max fj returns no. of times the most frequent index term in the current document appears. N is the total number of documents. ni is the no. of documents that have index term ti. Moreover, fti is the no. of times that the index term ti appears in the current document. Every given query is also represented by a weight vector which weights the query based on the index terms : (wq1. wq2,…,wqn) such that wqi represents the weight of query for the index term ti. (simply, wqi is zero if ti exists in the query or it is one when there is at least on instant of the index term ti in the current query). To find the similarly between a query and a document we calculate (using dot- product) as follows Sim(wd, wt)=(wd1.wt1+…+wdn.wtn)/Ö(wd12+…+wdn2) . Ö(wt12+…+wtn2)
Exercise 4: We assume a query is given in a form of an image, and the system should list the most similar images in a folder of many different images.
Help: use the color similarity measures to define a distance measure between images. One technique is use of color histogram, and compare the histogram of the query image with other images. a Color histogram of an image is a function H(r,g,b) such that H(r,g,b)=no. of times that the RGB color (r,g,b) appears in the image/total number of pixels of the image.
Exercise 5: Simulate a traffic environment in which cars move in different directions. Cars are agents such that each car begins from a source and finishes in a destination. The car should be destroyed as it reaches its destination. you can use any agent model you like to implement. The most important thing is that cars don't collide with each other. A search strategy is needed to guide the car to its destination, use any search technique you prefer. here we don't care about the shapes of cars, even simple rectangles can be used for cars.
Exercise 6: Solve the n-queen problem with a search algorithm that you like to implement. In an n-queen problem, the task is to put n queens on a chessboard with size n*n such that no two queens attack each others. We must randomly put the queens on board. Then, the algorithm shows the step that the queens move toward the better states.
Help: solve this as a constraint satisfaction problem or use local search algorithms.
i could nt get them as i skipped all classe and made fraudulent actions by devious means at final exam
Last edited by Mehdi124; July 5th, 2007 at 03:26 PM.
-
July 5th, 2007, 03:41 PM
#2
Re: artificial intelligence questions
Is this homework? Schoolwork? If so, you'll get suggestions, but no one will do the work for you.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
July 5th, 2007, 05:46 PM
#3
Re: artificial intelligence questions
Better attend classes next semester. Better luck next time!
-
July 6th, 2007, 12:29 AM
#4
Re: artificial intelligence questions
In case you are not aware of, here are the answers of your questions. Good luck!
-
July 6th, 2007, 02:05 AM
#5
Re: artificial intelligence questions
I think you should also add also this this sentences to that thread
Dont speech around when you dont know the answers....
-
July 6th, 2007, 02:14 AM
#6
Re: artificial intelligence questions
 Originally Posted by Mehdi124
I think you should also add also this this sentences to that thread
Dont speech around when you dont know the answers.... 
Few questions:
Have you tried working on these on your own?
Did you write any code at all?
Did you try yourself to go through a book and try to write at least one line of code?
If you have done all that then show us exactly where your problem lies. Are you able to start the design/coding yourself?
And yes giving these comments doesn't help.
-
July 8th, 2007, 07:21 AM
#7
Re: artificial intelligence questions
 Originally Posted by Shuja Ali
Few questions:
Have you tried working on these on your own?
Did you write any code at all?
Did you try yourself to go through a book and try to write at least one line of code?
If you have done all that then show us exactly where your problem lies. Are you able to start the design/coding yourself?
And yes giving these comments doesn't help.
unfortunately i pirate verything when i fall in constraint,i dont have coding skill at all because i just read book and dont code too much because i want to get the grade,what a plight ,i dont know how to improve my coding skill and dint learn it in this period
i hope i get sucessful in PHP or Web Disigning at they dont need much coding skill.
-
July 8th, 2007, 07:44 AM
#8
Re: artificial intelligence questions
Well if you are doing all this for just getting the grades then this is not the right place. If you want your work to be doen, go to www.rentacoder.com and you will find number of people who will work for you but will charge you a nominal amount of money.
Or another way is to get serious with your studies and work hard.
-
July 9th, 2007, 04:01 AM
#9
Re: artificial intelligence questions
 Originally Posted by Mehdi124
unfortunately i pirate verything when i fall in constraint,i dont have coding skill at all because i just read book and dont code too much because i want to get the grade,what a plight ,i dont know how to improve my coding skill and dint learn it in this period
i hope i get sucessful in PHP or Web Disigning at they dont need much coding skill.
PHP and Web design needs a higher coding skill than you have ...
There is no Coding Language that does not need coding skill...
Study... Do the work... Get the Grade yourself.... In the real world, Slackers like you dont last very long, School is easy to slip by, but when your boss stands over you waiting for the job, you cant run around dodging him while someone else does the work for you...
Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
-
July 9th, 2007, 12:08 PM
#10
Re: artificial intelligence questions
Exercise 1: Find the difference between "خِرَد پارسی" and "rationality" and express it in a page (pdf or html format).
what is خِرَد پارسی ?
-
July 9th, 2007, 02:56 PM
#11
Re: artificial intelligence questions
I'd have to guess IRRATIONAL.
-
July 10th, 2007, 03:22 AM
#12
Re: artificial intelligence questions
 Originally Posted by NMTop40
what is خِرَد پارسی ?
persian wisdom, probabality he meant omnipotence
 Originally Posted by GremlinSA
PHP and Web design needs a higher coding skill than you have ...
There is no Coding Language that does not need coding skill...
Study... Do the work... Get the Grade yourself.... In the real world, Slackers like you dont last very long, School is easy to slip by, but when your boss stands over you waiting for the job, you cant run around dodging him while someone else does the work for you...
yes exactly,i should avoid the applications of morphin
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|