Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Artificial Intelligence

Artificial Intelligence

Scheduled Pinned Locked Moved The Lounge
question
39 Posts 18 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Marc Clifton

    evilnoodle wrote:

    Does an IF statement constitute artificial intelligence?

    No, it just means that the programmer doesn't have the intelligence to understand how to use OOP to eliminate all if statements. Marc

    XPressTier

    Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson
    People are just notoriously impossible. --DavidCrow
    There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer

    I Offline
    I Offline
    Ingo
    wrote on last edited by
    #13

    Marc Clifton wrote:

    No, it just means that the programmer doesn't have the intelligence to understand how to use OOP to eliminate all if statements.

    You haven't got a single "if" expression in your code? Not in a single line (including classes)?

    ------------------------------ PROST Roleplaying Game War doesn't determine who's right. War determines who's left.

    R M 2 Replies Last reply
    0
    • I Ingo

      Marc Clifton wrote:

      No, it just means that the programmer doesn't have the intelligence to understand how to use OOP to eliminate all if statements.

      You haven't got a single "if" expression in your code? Not in a single line (including classes)?

      ------------------------------ PROST Roleplaying Game War doesn't determine who's right. War determines who's left.

      R Offline
      R Offline
      Ryan Binns
      wrote on last edited by
      #14

      ihoecken wrote:

      You haven't got a single "if" expression in your code? Not in a single line (including classes)?

      Did you miss the smiley post icon? ;)

      Ryan

      "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

      M I 2 Replies Last reply
      0
      • R Ryan Binns

        ihoecken wrote:

        You haven't got a single "if" expression in your code? Not in a single line (including classes)?

        Did you miss the smiley post icon? ;)

        Ryan

        "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

        M Offline
        M Offline
        Marc Clifton
        wrote on last edited by
        #15

        Ryan Binns wrote:

        Did you miss the smiley post icon?

        Hehe. That was a test. :) You passed! marc

        XPressTier

        Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson
        People are just notoriously impossible. --DavidCrow
        There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer

        R 1 Reply Last reply
        0
        • M Marc Clifton

          Ryan Binns wrote:

          Did you miss the smiley post icon?

          Hehe. That was a test. :) You passed! marc

          XPressTier

          Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson
          People are just notoriously impossible. --DavidCrow
          There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer

          R Offline
          R Offline
          Ryan Binns
          wrote on last edited by
          #16

          Marc Clifton wrote:

          That was a test. :) You passed!

          Woohoo!! :-D What do I win? :rolleyes:

          Ryan

          "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

          M 1 Reply Last reply
          0
          • I Ingo

            Marc Clifton wrote:

            No, it just means that the programmer doesn't have the intelligence to understand how to use OOP to eliminate all if statements.

            You haven't got a single "if" expression in your code? Not in a single line (including classes)?

            ------------------------------ PROST Roleplaying Game War doesn't determine who's right. War determines who's left.

            M Offline
            M Offline
            Marc Clifton
            wrote on last edited by
            #17

            ihoecken wrote:

            You haven't got a single "if" expression in your code? Not in a single line (including classes)?

            Nope. Anytime I need to handle a specialized condition, I instantiate a derived class. ;P Marc

            XPressTier

            Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson
            People are just notoriously impossible. --DavidCrow
            There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer

            D I G 3 Replies Last reply
            0
            • M MatthysDT

              According to Turing, If a interrogator were to ask identical questions to a human and a "computer" without knowing which one provided which answer and cannot distinguish by the answers which is is the human's and which is the computers, that computer or software qualifies as AI. Can we assume that the human would think rationally? If so, I can't see why IF statements cant be structured (with the right variables or environmental variables) as qualified AI.

              you can't forget something you never knew...

              R Offline
              R Offline
              Ray Kinsella
              wrote on last edited by
              #18

              As I said the Turing test has no context, and hence is very limited and is no longer considered to be an accurate test of AI. For example in CL (Computational Linguistics) you will come across lots of examples of this, my favourite is the one that comes with Emacs, they essentially switch parts of sentences around, to give the impression of the intelligence. me: I feel depressed about the war zippy psychoanalyst : Why do you feel depressed about the war So for about five seconds the psychoanalyst will fool you, but if you asked the psychoanalyst falls down on statements like me : I worry people will get hurt in country X The psychoanalyst has no clue what you are talking about because its ignorant of context, i.e. the people of country X. You are correct though to certain extent, intelligence is now seen to be an emergent property of derived from several combined simpler behaviors with context. "Steele's Mars Explorer" experiment is a good example of generating complex behavior through a series of nested "if" statements, its employed in a Multi-agent System Architecture called the "Reactive Architecture", its now also debunked because the once you hit a threshold number of if statements it becomes very unwieldy and impractical. It has been superseded by the "Hybrid Architecture".

              Regards Ray "Je Suis Mort De Rire" Blogging @ Keratoconus Watch

              D 1 Reply Last reply
              0
              • R Ryan Binns

                Marc Clifton wrote:

                That was a test. :) You passed!

                Woohoo!! :-D What do I win? :rolleyes:

                Ryan

                "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

                M Offline
                M Offline
                Marc Clifton
                wrote on last edited by
                #19

                Ryan Binns wrote:

                What do I win?

                A bunny. ;P Marc

                XPressTier

                Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson
                People are just notoriously impossible. --DavidCrow
                There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer

                R 1 Reply Last reply
                0
                • M Marc Clifton

                  ihoecken wrote:

                  You haven't got a single "if" expression in your code? Not in a single line (including classes)?

                  Nope. Anytime I need to handle a specialized condition, I instantiate a derived class. ;P Marc

                  XPressTier

                  Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson
                  People are just notoriously impossible. --DavidCrow
                  There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer

                  D Offline
                  D Offline
                  Don Miguel
                  wrote on last edited by
                  #20

                  :laugh::laugh::laugh:

                  1 Reply Last reply
                  0
                  • R Ryan Binns

                    ihoecken wrote:

                    You haven't got a single "if" expression in your code? Not in a single line (including classes)?

                    Did you miss the smiley post icon? ;)

                    Ryan

                    "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

                    I Offline
                    I Offline
                    Ingo
                    wrote on last edited by
                    #21

                    Ryan Binns wrote:

                    Did you miss the smiley post icon?

                    Absolutely, sorry. Thought we got an Osclifton Order posting here ;)

                    ------------------------------ PROST Roleplaying Game War doesn't determine who's right. War determines who's left.

                    1 Reply Last reply
                    0
                    • M Marc Clifton

                      ihoecken wrote:

                      You haven't got a single "if" expression in your code? Not in a single line (including classes)?

                      Nope. Anytime I need to handle a specialized condition, I instantiate a derived class. ;P Marc

                      XPressTier

                      Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson
                      People are just notoriously impossible. --DavidCrow
                      There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer

                      I Offline
                      I Offline
                      Ingo
                      wrote on last edited by
                      #22

                      Marc Clifton wrote:

                      Anytime I need to handle a specialized condition, I instantiate a derived class.

                      Ok, you can laugh now (I missed those smilie), but I know somebody who does just that. Wired... :omg:

                      ------------------------------ PROST Roleplaying Game War doesn't determine who's right. War determines who's left.

                      M 1 Reply Last reply
                      0
                      • I Ingo

                        Marc Clifton wrote:

                        Anytime I need to handle a specialized condition, I instantiate a derived class.

                        Ok, you can laugh now (I missed those smilie), but I know somebody who does just that. Wired... :omg:

                        ------------------------------ PROST Roleplaying Game War doesn't determine who's right. War determines who's left.

                        M Offline
                        M Offline
                        Marc Clifton
                        wrote on last edited by
                        #23

                        ihoecken wrote:

                        but I know somebody who does just that.

                        :omg: is right! Wow. Marc

                        XPressTier

                        Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson
                        People are just notoriously impossible. --DavidCrow
                        There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer

                        1 Reply Last reply
                        0
                        • M Marc Clifton

                          ihoecken wrote:

                          You haven't got a single "if" expression in your code? Not in a single line (including classes)?

                          Nope. Anytime I need to handle a specialized condition, I instantiate a derived class. ;P Marc

                          XPressTier

                          Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson
                          People are just notoriously impossible. --DavidCrow
                          There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer

                          G Offline
                          G Offline
                          Gary R Wheeler
                          wrote on last edited by
                          #24

                          You sound like a guy I work with, whom we call Mister Object. There isn't a single function in his code longer than about 5-8 lines. Everything's broken up, and the class structure tends to be fairly deep. It makes his stuff difficult to follow.


                          Software Zen: delete this;

                          Fold With Us![^]

                          M 1 Reply Last reply
                          0
                          • M MatthysDT

                            Question - Does an IF statement constitute artificial intelligence? This is due to be heavily debated at my university, thought some external views would be nice.

                            you can't forget something you never knew...

                            L Offline
                            L Offline
                            Lost User
                            wrote on last edited by
                            #25

                            No, AS - artificial stupidity.

                            The tigress is here :-D

                            1 Reply Last reply
                            0
                            • G Gary R Wheeler

                              You sound like a guy I work with, whom we call Mister Object. There isn't a single function in his code longer than about 5-8 lines. Everything's broken up, and the class structure tends to be fairly deep. It makes his stuff difficult to follow.


                              Software Zen: delete this;

                              Fold With Us![^]

                              M Offline
                              M Offline
                              MatthysDT
                              wrote on last edited by
                              #26

                              Such high levels of abstraction are known to slow down code execution. Breaking up code is good practice if you dont get obsessed with doing it.

                              you can't forget something you never knew...

                              1 Reply Last reply
                              0
                              • R Ray Kinsella

                                As I said the Turing test has no context, and hence is very limited and is no longer considered to be an accurate test of AI. For example in CL (Computational Linguistics) you will come across lots of examples of this, my favourite is the one that comes with Emacs, they essentially switch parts of sentences around, to give the impression of the intelligence. me: I feel depressed about the war zippy psychoanalyst : Why do you feel depressed about the war So for about five seconds the psychoanalyst will fool you, but if you asked the psychoanalyst falls down on statements like me : I worry people will get hurt in country X The psychoanalyst has no clue what you are talking about because its ignorant of context, i.e. the people of country X. You are correct though to certain extent, intelligence is now seen to be an emergent property of derived from several combined simpler behaviors with context. "Steele's Mars Explorer" experiment is a good example of generating complex behavior through a series of nested "if" statements, its employed in a Multi-agent System Architecture called the "Reactive Architecture", its now also debunked because the once you hit a threshold number of if statements it becomes very unwieldy and impractical. It has been superseded by the "Hybrid Architecture".

                                Regards Ray "Je Suis Mort De Rire" Blogging @ Keratoconus Watch

                                D Offline
                                D Offline
                                Dan Neely
                                wrote on last edited by
                                #27

                                Ray Kinsella wrote:

                                For example in CL (Computational Linguistics) you will come across lots of examples of this, my favourite is the one that comes with Emacs, they essentially switch parts of sentences around, to give the impression of the intelligence.

                                That's Eliza, not emacs!

                                1 Reply Last reply
                                0
                                • M Marc Clifton

                                  Ryan Binns wrote:

                                  What do I win?

                                  A bunny. ;P Marc

                                  XPressTier

                                  Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson
                                  People are just notoriously impossible. --DavidCrow
                                  There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer

                                  R Offline
                                  R Offline
                                  Ryan Binns
                                  wrote on last edited by
                                  #28

                                  Marc Clifton wrote:

                                  A bunny.

                                  Oooohh... This one[^]? :-D

                                  Ryan

                                  "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

                                  I 1 Reply Last reply
                                  0
                                  • R Ryan Binns

                                    Marc Clifton wrote:

                                    A bunny.

                                    Oooohh... This one[^]? :-D

                                    Ryan

                                    "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

                                    I Offline
                                    I Offline
                                    Ingo
                                    wrote on last edited by
                                    #29

                                    Hmmm. I have to shut up, otherwised I will be banned from CP forever, but a Depeche Mode song comes up my mind. :-D I'm so spoiled! Behave myself! :rolleyes:

                                    ------------------------------ PROST Roleplaying Game War doesn't determine who's right. War determines who's left.

                                    D 1 Reply Last reply
                                    0
                                    • I Ingo

                                      Hmmm. I have to shut up, otherwised I will be banned from CP forever, but a Depeche Mode song comes up my mind. :-D I'm so spoiled! Behave myself! :rolleyes:

                                      ------------------------------ PROST Roleplaying Game War doesn't determine who's right. War determines who's left.

                                      D Offline
                                      D Offline
                                      Dan Neely
                                      wrote on last edited by
                                      #30

                                      ihoecken wrote:

                                      Hmmm. I have to shut up, otherwised I will be banned from CP forever, but a Depeche Mode song comes up my mind.

                                      Have you heard the kinda freaky Rammstien cover of it?

                                      I 1 Reply Last reply
                                      0
                                      • M MatthysDT

                                        Question - Does an IF statement constitute artificial intelligence? This is due to be heavily debated at my university, thought some external views would be nice.

                                        you can't forget something you never knew...

                                        K Offline
                                        K Offline
                                        Kri5
                                        wrote on last edited by
                                        #31

                                        First you have to lay down the definition of 'intelligence'. Lots of people have mistaken ideas of how to define intelligence. If it's defined as problem-solving, or the ability to memorize (which are wrong definitions anyway), then most programs, even a simple calculator would be classified as intelligent. Most people even find it hard to distinguish between learning and intelligence. My own definition of intelligence (after having pondered on it as part of my studies too, involving lots of discussions, heated debates and programming AI....oh my miss those good ol' days... :) ) is the ability to learn with the minimal resources. And how would i define learning? It's the ability to generalise, form concepts, abstractions, from what you see around you. For e.g. you learn what car is by simply looking at two or three cars, and then form the generalisation that cars have wheels, windows, an engine, etc. Clearly all this leads to the conclusion that an 'IF' statement is not AI. Rather, it is a logic instruction that an AI process needs to use, such as in the car example: IF it has wheels/engine/windows/etc, THEN it's a car. (I hope i didn't do the assignment for you ;P )

                                        _________________________ Kri5

                                        M 1 Reply Last reply
                                        0
                                        • M MatthysDT

                                          Question - Does an IF statement constitute artificial intelligence? This is due to be heavily debated at my university, thought some external views would be nice.

                                          you can't forget something you never knew...

                                          E Offline
                                          E Offline
                                          Ennis Ray Lynch Jr
                                          wrote on last edited by
                                          #32

                                          Are artificially intelligent! If you provide the if statement with a significantly robust training set does it change the value of the statement for given inputs to match experience? Does the experience learned corrollate when provided with a data set that was not used in training?

                                          A man said to the universe: "Sir I exist!" "However," replied the Universe, "The fact has not created in me A sense of obligation." -- Stephen Crane

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups