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

    S Offline
    S Offline
    SteelBugs
    wrote on last edited by
    #8

    There are lot of answers to this question but the true is that it is NOT CORRECT question. Artfificial Intelligence cannot deal with IF statement at all because AI cannot deal with EXACT information. It works only with NON EXACT information. IF statement works only with EXACT information. If you use IF statement in AI program - it is not real AI, just an emulation of it. Instead fo using IF statement you should use mechanisms that works with non exact information similar to neural nets (but it is better to use NeuroHash).;)

    --- I love Ukraine!

    1 Reply Last reply
    0
    • R Ray Kinsella

      eh no, it constitute the ability to reason, would an if statement pass the debunct turing test (debunct as simulations are meaningless as they have no context).

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

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

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

      S R C 3 Replies Last reply
      0
      • I Ingo

        Not automatically. It can be part of a weak AI[^] of course but the statement itself is just a logical decision without any AI. Strong AI[^] is a philosophical problem. Yet nobody knows if strong AI (real Artificial Intelligence) is possible or not. Many mathematics and computer scientist say no, not until a new non deterministic computer modell will be invented. I don't know. On the one side I think that many things are possible on the other side I don't know how a strong AI could be implemented with a "von Neumann Computer". Regards, Ingo

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

        S Offline
        S Offline
        SteelBugs
        wrote on last edited by
        #10

        If "von Neumann Computer" will be used to emulate work with NON exact inforamtion then all is ok. Really, our brain do the same.

        --- I love Ukraine!

        I 1 Reply 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...

          S Offline
          S Offline
          SteelBugs
          wrote on last edited by
          #11

          I think and many scientits too that Turing description of AI is not very good for practical use.

          --- I love Ukraine!

          1 Reply Last reply
          0
          • S SteelBugs

            If "von Neumann Computer" will be used to emulate work with NON exact inforamtion then all is ok. Really, our brain do the same.

            --- I love Ukraine!

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

            SteelBugs wrote:

            If "von Neumann Computer" will be used to emulate work with NON exact inforamtion then all is ok. Really, our brain do the same.

            That is a dispute between mathematics or computer scientists since many years. No one has found a solution yet, so can easily say that's the same, but nobody can proof it. Write a strong KI, then we will see. Regards, Ingo

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

            1 Reply Last reply
            0
            • 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
                                        • 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
                                          #27

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