# An agent I made for the USA Science & Engineering Festival in DC

**URL:** <https://forums.speedlife.net/t/an-agent-i-made-for-the-usa-science-engineering-festival-in-dc/162060>\
**Category:** NYSpeed Off Topic\
**Created:** [October 28, 2010, 1:39pm UTC](https://forums.speedlife.net/t/an-agent-i-made-for-the-usa-science-engineering-festival-in-dc/162060 "2010-10-28T13:39:53Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![neonglh](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/neonglh/32/4951_2.png) [@neonglh](https://forums.speedlife.net/u/neonglh)\
**Post date:** [October 28, 2010, 1:39pm UTC](https://forums.speedlife.net/t/an-agent-i-made-for-the-usa-science-engineering-festival-in-dc/162060/1 "2010-10-28T13:39:53Z")

</div>

edit!

---

<div class="post-metadata">

**Author:** ![boardjnky4](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@boardjnky4](https://forums.speedlife.net/u/boardjnky4)\
**Post date:** [October 28, 2010, 1:46pm UTC](https://forums.speedlife.net/t/an-agent-i-made-for-the-usa-science-engineering-festival-in-dc/162060/2 "2010-10-28T13:46:23Z")

</div>

Last question asked:  
how big is your penis?  
Albert’s response:  
The festival is a big success

…

That’s what she said

---------- Post added at 04:46 PM ---------- Previous post was at 04:45 PM ----------

Last question asked:  
why do you hate black people?  
Albert’s response:  
I don’t do that. I am a computer.

aww, he’s not racist

---

<div class="post-metadata">

**Author:** ![neonglh](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/neonglh/32/4951_2.png) [@neonglh](https://forums.speedlife.net/u/neonglh)\
**Post date:** [October 28, 2010, 1:48pm UTC](https://forums.speedlife.net/t/an-agent-i-made-for-the-usa-science-engineering-festival-in-dc/162060/3 "2010-10-28T13:48:43Z")

</div>

Haha, nice.

I put this up online about half an hour ago now, and I already have over 500 questions asked! Go Albert!

---

<div class="post-metadata">

**Author:** ![JayS](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/jays/32/15375_2.png) [@JayS](https://forums.speedlife.net/u/JayS)\
**Post date:** [October 28, 2010, 1:54pm UTC](https://forums.speedlife.net/t/an-agent-i-made-for-the-usa-science-engineering-festival-in-dc/162060/4 "2010-10-28T13:54:42Z")

</div>

I’m disappointed he doesn’t know one of his own quotes.

Last question asked:  
what weapons will world war IV be fought with  
Albert’s response:  
Imagine you’re assisting the planning for radiation treatment for a brain tumor. What would that look like? How does a computer model radiation? Learn what goes into radiation treatment from computerized planning to immobilization. See what electron energy looks like. Learn what a medical physicist is in the arena of radiation treatment and the imaging and diagnosis of cancer.

The actual Einstein quote from 1947: “_I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones._”

---

<div class="post-metadata">

**Author:** ![TrueBlue](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/trueblue/32/7245_2.png) [@TrueBlue](https://forums.speedlife.net/u/TrueBlue)\
**Post date:** [October 28, 2010, 2:00pm UTC](https://forums.speedlife.net/t/an-agent-i-made-for-the-usa-science-engineering-festival-in-dc/162060/5 "2010-10-28T14:00:12Z")

</div>

Dude, that’s seriously awesome - congratulations! :tup: :tup: :tup:

---

<div class="post-metadata">

**Author:** ![cougarspeed](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/cougarspeed/32/7468_2.png) [@cougarspeed](https://forums.speedlife.net/u/cougarspeed)\
**Post date:** [October 28, 2010, 2:00pm UTC](https://forums.speedlife.net/t/an-agent-i-made-for-the-usa-science-engineering-festival-in-dc/162060/6 "2010-10-28T14:00:41Z")

</div>

Way to go Mark.

---

<div class="post-metadata">

**Author:** ![ItsOver](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/itsover/32/5431_2.png) [@ItsOver](https://forums.speedlife.net/u/ItsOver)\
**Post date:** [October 28, 2010, 4:27pm UTC](https://forums.speedlife.net/t/an-agent-i-made-for-the-usa-science-engineering-festival-in-dc/162060/7 "2010-10-28T16:27:00Z")

</div>

Last question asked:  
Do you like Negroes?  
Albert’s response:  
I like our President.

---

<div class="post-metadata">

**Author:** ![Haenszel](https://avatars.discourse-cdn.com/v4/letter/h/e68b1a/32.png) [@Haenszel](https://forums.speedlife.net/u/Haenszel)\
**Post date:** [October 28, 2010, 4:41pm UTC](https://forums.speedlife.net/t/an-agent-i-made-for-the-usa-science-engineering-festival-in-dc/162060/8 "2010-10-28T16:41:40Z")

</div>

Way to call me…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex034/uploads/speedlife/original/2X/b/b7170c8eddc0b95ece6b88172b2f416a08489a45.png) [@system](https://forums.speedlife.net/u/system)\
**Post date:** [October 28, 2010, 5:37pm UTC](https://forums.speedlife.net/t/an-agent-i-made-for-the-usa-science-engineering-festival-in-dc/162060/9 "2010-10-28T17:37:01Z")

</div>

damn

Last question asked:  
who are you  
Albert’s response:  
I do not know that answer

---

<div class="post-metadata">

**Author:** ![ryanmcell](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/ryanmcell/32/7510_2.png) [@ryanmcell](https://forums.speedlife.net/u/ryanmcell)\
**Post date:** [October 28, 2010, 7:20pm UTC](https://forums.speedlife.net/t/an-agent-i-made-for-the-usa-science-engineering-festival-in-dc/162060/10 "2010-10-28T19:20:27Z")

</div>

So wait you were in DC and didn’t let me know… come on now. (I forgive you only because I was out of state anyways).

---

<div class="post-metadata">

**Author:** ![Shockwave179](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/shockwave179/32/7496_2.png) [@Shockwave179](https://forums.speedlife.net/u/Shockwave179)\
**Post date:** [October 29, 2010, 8:47am UTC](https://forums.speedlife.net/t/an-agent-i-made-for-the-usa-science-engineering-festival-in-dc/162060/11 "2010-10-29T08:47:30Z")

</div>

I had way too much fun with this yesterday.

---

<div class="post-metadata">

**Author:** ![Fry](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/fry/32/7284_2.png) [@Fry](https://forums.speedlife.net/u/Fry)\
**Post date:** [October 29, 2010, 9:38am UTC](https://forums.speedlife.net/t/an-agent-i-made-for-the-usa-science-engineering-festival-in-dc/162060/12 "2010-10-29T09:38:03Z")

</div>

Last question asked:  
Does God throw dice?  
Albert’s response:  
I hate to admit failure, but I do not have the answer to that. Please try another question.

:tdown:

---

<div class="post-metadata">

**Author:** ![jimmyfloyd](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/jimmyfloyd/32/3077_2.png) [@jimmyfloyd](https://forums.speedlife.net/u/jimmyfloyd)\
**Post date:** [October 29, 2010, 9:56am UTC](https://forums.speedlife.net/t/an-agent-i-made-for-the-usa-science-engineering-festival-in-dc/162060/13 "2010-10-29T09:56:04Z")

</div>

WTF?

Last question asked:  
does god exist?  
Albert’s response:  
5 Professional Men’s Teams and 2 Women’s: Washington Wizards (National Basketball Association), Washington Capitals (National Hockey League), Washington Nationals (Major League Baseball), Washington Redskins (National Football League), D.C. United (Major League Soccer), Washington Mystics (WNBA), Washington Freedom (Women’s Professional Soccer)

I think it’s rigged:

Last question asked:  
Do you like Mark?  
Albert’s response:  
I like our President.

Last question asked:  
butt sex?  
Albert’s response:  
I hope so.

---

<div class="post-metadata">

**Author:** ![Fry](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/fry/32/7284_2.png) [@Fry](https://forums.speedlife.net/u/Fry)\
**Post date:** [October 29, 2010, 10:16am UTC](https://forums.speedlife.net/t/an-agent-i-made-for-the-usa-science-engineering-festival-in-dc/162060/14 "2010-10-29T10:16:07Z")

</div>

Last question asked:

space invaders?  
Albert’s response:

From earthquakes to climate change to the solar wind – Join us on this great adventure as we explore the mysteries of our planet.Healthy Lives, Healthy Economy, Healthy World - Medical and Biological Engineering in Our Lives

Last question asked:

When did you die?  
Albert’s response:

Albert Einstien died in 1955.

Last question asked:

How tall are you?  
Albert’s response:

I fit on a desktop.

So this thing just has a library of responses that get triggered by certain keywords?

---------- Post added at 01:16 PM ---------- Previous post was at 01:15 PM ----------

Last question asked:

Fuck off.  
Albert’s response:

Come learn how we lead, discover, develop and deliver the science that

lol this thing doesn’t really work at all, but neat idea I guess.

---

<div class="post-metadata">

**Author:** ![boardjnky4](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@boardjnky4](https://forums.speedlife.net/u/boardjnky4)\
**Post date:** [October 29, 2010, 10:21am UTC](https://forums.speedlife.net/t/an-agent-i-made-for-the-usa-science-engineering-festival-in-dc/162060/15 "2010-10-29T10:21:33Z")

</div>

Fry, computer programs can’t reason. It’s one of the major hurdles of AI. You can however, teach it a bunch of facts, and have it use logic to determine a response.

The logic has to be explicit though, and it needs a source for facts.

In this case, the logic is based on questions. So the program likely looks for keywords and patterns to determine the question type, and then once the question type is determined, it can look at some facts and figure out how to answer. It likely just regurgitates the facts.

---

<div class="post-metadata">

**Author:** ![tpgsr](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/tpgsr/32/7374_2.png) [@tpgsr](https://forums.speedlife.net/u/tpgsr)\
**Post date:** [October 29, 2010, 10:41am UTC](https://forums.speedlife.net/t/an-agent-i-made-for-the-usa-science-engineering-festival-in-dc/162060/16 "2010-10-29T10:41:26Z")

</div>

I came in here expecting something like anthrax or mustard gas.

---

<div class="post-metadata">

**Author:** ![neonglh](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/neonglh/32/4951_2.png) [@neonglh](https://forums.speedlife.net/u/neonglh)\
**Post date:** [October 29, 2010, 12:52pm UTC](https://forums.speedlife.net/t/an-agent-i-made-for-the-usa-science-engineering-festival-in-dc/162060/17 "2010-10-29T12:52:54Z")

</div>

It uses tf/idf to categorize the initial question into one of 10 categories. Within that category, it runs tf/idf a second round, to find the best matched question, and then says the answer for that question. Tf/idf is a weighted keyword search, so words that appear less are weighted higher than common words that appear all over the place.
