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

    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
              • 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
                #28

                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
                • 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
                        • K Kri5

                          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 Offline
                          M Offline
                          MatthysDT
                          wrote on last edited by
                          #33

                          Hi, thank you for your views. You didn't do my assignment (it's not an assignment per say) but I hope you dont mind if I citate one or two of your statements. I'm taking AI for the first time this semester and it must be one of my most fascinating subject so far. (Still :zzz: in class though :laugh:, no class ever keeps me interested past the first hour)

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

                          K 1 Reply Last reply
                          0
                          • D Dan Neely

                            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 Offline
                            I Offline
                            Ingo
                            wrote on last edited by
                            #34

                            dan neely wrote:

                            Have you heard the kinda freaky Rammstien cover of it?

                            Yes, I still favor Depeche Mode's version, but it's pretty cool for a cover version. It has it's own style. :)

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

                            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
                              El Corazon
                              wrote on last edited by
                              #35

                              evilnoodle wrote:

                              Question - Does an IF statement constitute artificial intelligence?

                              The world is not black and white... when the computer can look at an "if" statement and decide that neither answer is "completely true" then it will have AI. An if statement is a double bind, a rigid construct with no escape... it is a cage. When the computer can decide that the conditional no longer applies and that a new decision has to be made, then that is AI.

                              _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

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

                                C Offline
                                C Offline
                                Chris S Kaiser
                                wrote on last edited by
                                #36

                                Turing's test is for strong AI, there is also weak AI such as we find in games. But, no, if is a logical switch in paths of choice. So it would utilized as a mechanism by AI but isn't on its own.

                                This statement is false.

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

                                  J Offline
                                  J Offline
                                  Jason McBurney
                                  wrote on last edited by
                                  #37

                                  evilnoodle wrote:

                                  Does an IF statement constitute artificial intelligence?

                                  If we are marketing the product then yes. However, if you can ask the system why it choose the case, it choose then I would argue it quasi - intelligent, maybe in the goldfish or slug catagory :P

                                  do you need to investigate an online backup[^] company

                                  1 Reply Last reply
                                  0
                                  • M MatthysDT

                                    Hi, thank you for your views. You didn't do my assignment (it's not an assignment per say) but I hope you dont mind if I citate one or two of your statements. I'm taking AI for the first time this semester and it must be one of my most fascinating subject so far. (Still :zzz: in class though :laugh:, no class ever keeps me interested past the first hour)

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

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

                                    You can use any statements you wish....i don't hold any copyright over what i said; however if one day you get your degree and make millions, remember that i like Ferraris :) I love AI myself, i guess you'll end up addicted :)

                                    _________________________ Kri5

                                    M 1 Reply Last reply
                                    0
                                    • K Kri5

                                      You can use any statements you wish....i don't hold any copyright over what i said; however if one day you get your degree and make millions, remember that i like Ferraris :) I love AI myself, i guess you'll end up addicted :)

                                      _________________________ Kri5

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

                                      Ferrari, got it!

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

                                      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