CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 12 of 12
  1. #1
    Join Date
    Jun 2007
    Posts
    0

    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.

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    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.

  3. #3
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: artificial intelligence questions

    Better attend classes next semester. Better luck next time!
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  4. #4
    Ejaz's Avatar
    Ejaz is offline Elite Member Power Poster
    Join Date
    Jul 2002
    Location
    Lahore, Pakistan
    Posts
    4,211

    Re: artificial intelligence questions

    In case you are not aware of, here are the answers of your questions. Good luck!

  5. #5
    Join Date
    Jun 2007
    Posts
    0

    Talking 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....

  6. #6
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: artificial intelligence questions

    Quote 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.

  7. #7
    Join Date
    Jun 2007
    Posts
    0

    Re: artificial intelligence questions

    Quote 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.

  8. #8
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    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.

  9. #9
    Join Date
    Jun 2005
    Location
    JHB South Africa
    Posts
    3,772

    Re: artificial intelligence questions

    Quote 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.

  10. #10
    Join Date
    Oct 2000
    Location
    London, England
    Posts
    4,773

    Re: artificial intelligence questions

    Exercise 1: Find the difference between "خِرَد پارسی" and "rationality" and express it in a page (pdf or html format).
    what is خِرَد پارسی ?

  11. #11
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: artificial intelligence questions

    I'd have to guess IRRATIONAL.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  12. #12
    Join Date
    Jun 2007
    Posts
    0

    Re: artificial intelligence questions

    Quote Originally Posted by NMTop40
    what is خِرَد پارسی ?
    persian wisdom, probabality he meant omnipotence
    Quote 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
  •  





Click Here to Expand Forum to Full Width

Featured