mini a.i puzzles

  • 322 Replies
  • 59210 Views
*

kei10

  • It's a honor to meet everyone!
  • Trusty Member
  • *******
  • Starship Trooper
  • *
  • 444
  • Just kidding.
Re: mini a.i puzzles
« Reply #270 on: February 04, 2017, 11:27:03 am »
Trial and error.
Greetings, signature.

*

yotamarker

  • Trusty Member
  • ********
  • Replicant
  • *
  • 611
    • battle programming
Re: mini a.i puzzles
« Reply #271 on: February 04, 2017, 02:11:25 pm »
that would solve that specific puzzle and his friends like
4 5 6 = 5
but what if the A.I is faced with other puzzles of this family ?
this puzzle family is game puzzles in which the rules are predetermined
so another puzzle would be win a game of yugioh monster dual, or
black jack or pocker.

*

yotamarker

  • Trusty Member
  • ********
  • Replicant
  • *
  • 611
    • battle programming
Re: mini a.i puzzles
« Reply #272 on: February 25, 2017, 10:51:52 am »
A.I puzzle :

1 what would cause an A.I to make a video ?
2 what would make her add an opening and an ending to said video ?

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6484
  • Mostly Harmless
Re: mini a.i puzzles
« Reply #273 on: February 25, 2017, 09:57:52 pm »
Why don't you just ask yourself how you do it ?

With a lot of these questions you seem to begin at the end and try to get to the start. In other words you are trying to model a human so why don't you just ask how or why a human would do it ?

Try this :

Ask yourself why would you make a video. Ask yourself why would you edit it.

Or... get a girlfriend and ask her  :D
« Last Edit: February 25, 2017, 10:36:11 pm by Freddy »

*

yotamarker

  • Trusty Member
  • ********
  • Replicant
  • *
  • 611
    • battle programming
Re: mini a.i puzzles
« Reply #274 on: February 26, 2017, 03:15:57 pm »
dude, I know why, I'm just storing it here as a backup.
and no it isn't about how a human does it  because you have no way of knowing that.

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6484
  • Mostly Harmless
Re: mini a.i puzzles
« Reply #275 on: February 26, 2017, 04:13:55 pm »
Why are you asking us then ? Don't rely on backing things up here, because nothing is guaranteed.

It is about how a human does it - because you are trying to model a human - how are you going to know what to model if you know nothing about humans ?

Of course we have an idea of how a human does things - we're surrounded by each other. You ask how an AI would do it and your AI is supposed to be based on a human.

You can't seriously tell me you have absolutely no idea why you would make a video ? Do you just do everything without reason ?

*

yotamarker

  • Trusty Member
  • ********
  • Replicant
  • *
  • 611
    • battle programming
Re: mini a.i puzzles
« Reply #276 on: February 26, 2017, 04:25:24 pm »
this is a way to count an A.I can use it but it does not mean this is how you count
you have no way to know if those are the steps your brain uses to count.

Code: [Select]
Imports System.Math
Public Class Form1
    Function toKanji(ByVal N As ULong) As String
        Dim kanji As String
        kanji = "enter a number"
        Select Case N.ToString.Length()
            Case 1
                Select Case N
                    Case 1
                        kanji = "ichi"
                    Case 2
                        kanji = "ni"
                    Case 3
                        kanji = "san"
                    Case 4
                        kanji = "yon"
                    Case 5
                        kanji = "go"
                    Case 6
                        kanji = "roku"
                    Case 7
                        kanji = "nana"
                    Case 8
                        kanji = "hachi"
                    Case 9
                        kanji = "kyu"
                    Case Else
                        kanji = ""
                End Select
            Case 2
                Select Case N \ 10
                    Case 1
                        kanji = "ju" & " " & toKanji(N Mod 10)
                    Case 2
                        kanji = "ni-ju" & " " & toKanji(N Mod 10)
                    Case 3
                        kanji = "san-ju" & " " & toKanji(N Mod 10)
                    Case 4
                        kanji = "yon-ju" & " " & toKanji(N Mod 10)
                    Case 5
                        kanji = "go-ju" & " " & toKanji(N Mod 10)
                    Case 6
                        kanji = "roku-ju" & " " & toKanji(N Mod 10)
                    Case 7
                        kanji = "nana-ju" & " " & toKanji(N Mod 10)
                    Case 8
                        kanji = "hachi-ju" & " " & toKanji(N Mod 10)
                    Case 9
                        kanji = "kyu-ju" & " " & toKanji(N Mod 10)
                    Case Else
                        kanji = ""
                End Select
            Case 3
                Select Case N \ 100
                    Case 1
                        kanji = "hyaku" & " " & toKanji(N Mod 100)
                    Case 2
                        kanji = "ni-hyaku" & " " & toKanji(N Mod 100)
                    Case 3
                        kanji = "sanbyaku" & " " & toKanji(N Mod 100)
                    Case 4
                        kanji = "yon-hyaku" & " " & toKanji(N Mod 100)
                    Case 5
                        kanji = "go-hyaku" & " " & toKanji(N Mod 100)
                    Case 6
                        kanji = "roppyaku" & " " & toKanji(N Mod 100)
                    Case 7
                        kanji = "nana-hyaku" & " " & toKanji(N Mod 100)
                    Case 8
                        kanji = "happyaku" & " " & toKanji(N Mod 100)
                    Case 9
                        kanji = "kyu-hyaku" & toKanji(N Mod 100)
                    Case Else
                        kanji = ""
                End Select
            Case 4
                Select Case N \ 1000
                    Case 1
                        kanji = "sen" & " " & toKanji(N Mod 1000)
                    Case 2
                        kanji = "ni-sen" & " " & toKanji(N Mod 1000)
                    Case 3
                        kanji = "san-zen" & " " & toKanji(N Mod 1000)
                    Case 4
                        kanji = "yon-sen" & " " & toKanji(N Mod 1000)
                    Case 5
                        kanji = "go-sen" & " " & toKanji(N Mod 1000)
                    Case 6
                        kanji = "roku-sen" & " " & toKanji(N Mod 1000)
                    Case 7
                        kanji = "nana-sen" & " " & toKanji(N Mod 1000)
                    Case 8
                        kanji = "hassen" & " " & toKanji(N Mod 1000)
                    Case 9
                        kanji = "kyu-sen" & toKanji(N Mod 1000)
                    Case Else
                        kanji = ""
                End Select
            Case 5
                Select Case N \ 10000
                    Case 1
                        kanji = "ichi-man" & " " & toKanji(N Mod 10000)
                    Case 2
                        kanji = "ni-man" & " " & toKanji(N Mod 10000)
                    Case 3
                        kanji = "san-man" & " " & toKanji(N Mod 10000)
                    Case 4
                        kanji = "yon-man" & " " & toKanji(N Mod 10000)
                    Case 5
                        kanji = "go-man" & " " & toKanji(N Mod 10000)
                    Case 6
                        kanji = "roku-man" & " " & toKanji(N Mod 10000)
                    Case 7
                        kanji = "nana-man" & " " & toKanji(N Mod 10000)
                    Case 8
                        kanji = "hachi-man" & " " & toKanji(N Mod 10000)
                    Case 9
                        kanji = "kyu-man" & toKanji(N Mod 10000)
                    Case Else
                        kanji = ""
                End Select
            Case 6
                Select Case N \ 100000
                    Case 1
                        kanji = "ju" & " " & toKanji(N Mod 100000)
                    Case 2
                        kanji = "ni-ju" & " " & toKanji(N Mod 100000)
                    Case 3
                        kanji = "san-ju" & " " & toKanji(N Mod 100000)
                    Case 4
                        kanji = "yon-ju" & " " & toKanji(N Mod 100000)
                    Case 5
                        kanji = "go-ju" & " " & toKanji(N Mod 100000)
                    Case 6
                        kanji = "roku-ju" & " " & toKanji(N Mod 100000)
                    Case 7
                        kanji = "nana-ju" & " " & toKanji(N Mod 100000)
                    Case 8
                        kanji = "hachi-ju" & " " & toKanji(N Mod 100000)
                    Case 9
                        kanji = "kyu-ju" & toKanji(N Mod 100000)
                    Case Else
                        kanji = ""
                End Select
            Case 7
                Select Case N \ 1000000
                    Case 1
                        kanji = "hyaku" & " " & toKanji(N Mod 1000000)
                    Case 2
                        kanji = "ni-hyaku" & " " & toKanji(N Mod 1000000)
                    Case 3
                        kanji = "sanbyaku" & " " & toKanji(N Mod 1000000)
                    Case 4
                        kanji = "yon-hyaku" & " " & toKanji(N Mod 1000000)
                    Case 5
                        kanji = "go-hyaku" & " " & toKanji(N Mod 1000000)
                    Case 6
                        kanji = "roku-hyaku" & " " & toKanji(N Mod 1000000)
                    Case 7
                        kanji = "nana-hyaku" & " " & toKanji(N Mod 1000000)
                    Case 8
                        kanji = "happyaku" & " " & toKanji(N Mod 1000000)
                    Case 9
                        kanji = "kyu-hyaku" & toKanji(N Mod 1000000)
                    Case Else
                        kanji = ""
                End Select
            Case 8
                Select Case N \ 10000000
                    Case 1
                        kanji = "sen" & " " & toKanji(N Mod 10000000)
                    Case 2
                        kanji = "ni-sen" & " " & toKanji(N Mod 10000000)
                    Case 3
                        kanji = "sanzen" & " " & toKanji(N Mod 10000000)
                    Case 4
                        kanji = "yon-sen" & " " & toKanji(N Mod 10000000)
                    Case 5
                        kanji = "go-sen" & " " & toKanji(N Mod 10000000)
                    Case 6
                        kanji = "roku-sen" & " " & toKanji(N Mod 10000000)
                    Case 7
                        kanji = "nana-sen" & " " & toKanji(N Mod 10000000)
                    Case 8
                        kanji = "hachi-sen" & " " & toKanji(N Mod 10000000)
                    Case 9
                        kanji = "kyu-sen" & toKanji(N Mod 10000000)
                    Case Else
                        kanji = ""
                End Select
            Case 9
                Select Case N \ 100000000
                    Case 1
                        kanji = "ichi-oku" & " " & toKanji(N Mod 100000000)
                    Case 2
                        kanji = "ni-oku" & " " & toKanji(N Mod 100000000)
                    Case 3
                        kanji = "san-oku" & " " & toKanji(N Mod 100000000)
                    Case 4
                        kanji = "yon-oku" & " " & toKanji(N Mod 100000000)
                    Case 5
                        kanji = "go-oku" & " " & toKanji(N Mod 100000000)
                    Case 6
                        kanji = "roku-oku" & " " & toKanji(N Mod 100000000)
                    Case 7
                        kanji = "nana-oku" & " " & toKanji(N Mod 100000000)
                    Case 8
                        kanji = "hachi-oku" & " " & toKanji(N Mod 100000000)
                    Case 9
                        kanji = "kyu-oku" & toKanji(N Mod 100000000)
                    Case Else
                        kanji = ""
                End Select
            Case 10
                Select Case N \ 1000000000
                    Case 1
                        kanji = "ju" & " " & toKanji(N Mod 1000000000)
                    Case 2
                        kanji = "ni-ju" & " " & toKanji(N Mod 1000000000)
                    Case 3
                        kanji = "san-ju" & " " & toKanji(N Mod 1000000000)
                    Case 4
                        kanji = "yon-ju" & " " & toKanji(N Mod 1000000000)
                    Case 5
                        kanji = "go-ju" & " " & toKanji(N Mod 1000000000)
                    Case 6
                        kanji = "roku-ju" & " " & toKanji(N Mod 1000000000)
                    Case 7
                        kanji = "nana-ju" & " " & toKanji(N Mod 1000000000)
                    Case 8
                        kanji = "hachi-ju" & " " & toKanji(N Mod 1000000000)
                    Case 9
                        kanji = "kyu-ju" & toKanji(N Mod 1000000000)
                    Case Else
                        kanji = ""
                End Select
            Case 11
                Select Case N \ 10000000000
                    Case 1
                        kanji = "hyaku" & " " & toKanji(N Mod 10000000000)
                    Case 2
                        kanji = "ni-hyaku" & " " & toKanji(N Mod 10000000000)
                    Case 3
                        kanji = "sanbyaku" & " " & toKanji(N Mod 10000000000)
                    Case 4
                        kanji = "yon-hyaku" & " " & toKanji(N Mod 10000000000)
                    Case 5
                        kanji = "go-hyaku" & " " & toKanji(N Mod 10000000000)
                    Case 6
                        kanji = "roku-hyaku" & " " & toKanji(N Mod 10000000000)
                    Case 7
                        kanji = "nana-hyaku" & " " & toKanji(N Mod 10000000000)
                    Case 8
                        kanji = "happyaku" & " " & toKanji(N Mod 10000000000)
                    Case 9
                        kanji = "kyu-hyaku" & toKanji(N Mod 10000000000)
                    Case Else
                        kanji = ""
                End Select
            Case 12
                Select Case N \ 100000000000
                    Case 1
                        kanji = "sen" & " " & toKanji(N Mod 100000000000)
                    Case 2
                        kanji = "ni-sen" & " " & toKanji(N Mod 100000000000)
                    Case 3
                        kanji = "sanzen" & " " & toKanji(N Mod 100000000000)
                    Case 4
                        kanji = "yon-sen" & " " & toKanji(N Mod 100000000000)
                    Case 5
                        kanji = "go-sen" & " " & toKanji(N Mod 100000000000)
                    Case 6
                        kanji = "roku-sen" & " " & toKanji(N Mod 100000000000)
                    Case 7
                        kanji = "nana-sen" & " " & toKanji(N Mod 100000000000)
                    Case 8
                        kanji = "hassen" & " " & toKanji(N Mod 100000000000)
                    Case 9
                        kanji = "kyu-sen" & toKanji(N Mod 100000000000)
                    Case Else
                        kanji = ""
                End Select
            Case 13
                Select Case N \ 1000000000000
                    Case 1
                        kanji = "itcho" & " " & toKanji(N Mod 1000000000000)
                    Case 2
                        kanji = "ni-cho" & " " & toKanji(N Mod 1000000000000)
                    Case 3
                        kanji = "san-cho" & " " & toKanji(N Mod 1000000000000)
                    Case 4
                        kanji = "yon-cho" & " " & toKanji(N Mod 1000000000000)
                    Case 5
                        kanji = "go-cho" & " " & toKanji(N Mod 1000000000000)
                    Case 6
                        kanji = "roku-cho" & " " & toKanji(N Mod 1000000000000)
                    Case 7
                        kanji = "nana-cho" & " " & toKanji(N Mod 1000000000000)
                    Case 8
                        kanji = "hatcho" & " " & toKanji(N Mod 1000000000000)
                    Case 9
                        kanji = "kyu-cho" & toKanji(N Mod 1000000000000)
                    Case Else
                        kanji = ""
                End Select
            Case 14
                Select Case N \ 10000000000000
                    Case 1
                        kanji = "ju" & " " & toKanji(N Mod 10000000000000)
                    Case 2
                        kanji = "ni-ju" & " " & toKanji(N Mod 10000000000000)
                    Case 3
                        kanji = "san-ju" & " " & toKanji(N Mod 10000000000000)
                    Case 4
                        kanji = "yon-ju" & " " & toKanji(N Mod 10000000000000)
                    Case 5
                        kanji = "go-ju" & " " & toKanji(N Mod 10000000000000)
                    Case 6
                        kanji = "roku-ju" & " " & toKanji(N Mod 10000000000000)
                    Case 7
                        kanji = "nana-ju" & " " & toKanji(N Mod 10000000000000)
                    Case 8
                        kanji = "hachi-ju" & " " & toKanji(N Mod 10000000000000)
                    Case 9
                        kanji = "kyu-ju" & toKanji(N Mod 10000000000000)
                    Case Else
                        kanji = ""
                End Select
            Case 15
                Select Case N \ 100000000000000
                    Case 1
                        kanji = "hyaku" & " " & toKanji(N Mod 100000000000000)
                    Case 2
                        kanji = "ni-hyaku" & " " & toKanji(N Mod 100000000000000)
                    Case 3
                        kanji = "sanbyaku" & " " & toKanji(N Mod 100000000000000)
                    Case 4
                        kanji = "yon-hyaku" & " " & toKanji(N Mod 100000000000000)
                    Case 5
                        kanji = "go-hyaku" & " " & toKanji(N Mod 100000000000000)
                    Case 6
                        kanji = "roku-hyaku" & " " & toKanji(N Mod 100000000000000)
                    Case 7
                        kanji = "nana-hyaku" & " " & toKanji(N Mod 100000000000000)
                    Case 8
                        kanji = "happyaku" & " " & toKanji(N Mod 100000000000000)
                    Case 9
                        kanji = "kyu-hyaku" & toKanji(N Mod 100000000000000)
                    Case Else
                        kanji = ""
                End Select
            Case 16
                Select Case N \ 1000000000000000
                    Case 1
                        kanji = "sen" & " " & toKanji(N Mod 1000000000000000)
                    Case 2
                        kanji = "ni-sen" & " " & toKanji(N Mod 1000000000000000)
                    Case 3
                        kanji = "sanzen" & " " & toKanji(N Mod 1000000000000000)
                    Case 4
                        kanji = "yon-sen" & " " & toKanji(N Mod 1000000000000000)
                    Case 5
                        kanji = "go-sen" & " " & toKanji(N Mod 1000000000000000)
                    Case 6
                        kanji = "roku-sen" & " " & toKanji(N Mod 1000000000000000)
                    Case 7
                        kanji = "nana-sen" & " " & toKanji(N Mod 1000000000000000)
                    Case 8
                        kanji = "hassen" & " " & toKanji(N Mod 1000000000000000)
                    Case 9
                        kanji = "kyu-sen" & toKanji(N Mod 1000000000000000)
                    Case Else
                        kanji = ""
                End Select
            Case Else

        End Select


        Return kanji
    End Function
    Private Sub TextBox1_KeyUp(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyUp
        Try
            Dim dnum As ULong
            dnum = TextBox1.Text
            If dnum = 0 Then
                Label1.Text = "rei"
            Else
                Label1.Text = toKanji(dnum)
            End If
        Catch ex As Exception
            MsgBox("enter an integer up to 16 digits , text length : " & TextBox1.Text.Length())
        End Try
    End Sub
End Class
« Last Edit: February 26, 2017, 06:13:53 pm by Freddy »

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6484
  • Mostly Harmless
Re: mini a.i puzzles
« Reply #277 on: February 26, 2017, 04:37:35 pm »
Okay gotcha.

So you want to model an approximation of a human.

The trouble is a question like the one about videos is heavily loaded towards how a human would do it - because you ask *why*.

It's easy to get a computer to record a video from online streaming - you can do it randomly, at a set time or for a certain length of time etc - but that's just a machine - the only reason *why* it does it is down to the programmer. So you program in the reasons.

Asking how *she* would do it is ignoring the fact that it is still a programmed machine. It does not have the kind of faculty that a human does - so you are forcing a question that is not really valid. You haven't programmed something that makes it's own decisions like a human - to do that you need to understand our inner workings completely I think.

*

yotamarker

  • Trusty Member
  • ********
  • Replicant
  • *
  • 611
    • battle programming
Re: mini a.i puzzles
« Reply #278 on: February 26, 2017, 04:48:23 pm »
you can't just arbitrarily program a reason it must coexist with the A.I having logic
and free will.

gigidi gigidi goo

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6484
  • Mostly Harmless
Re: mini a.i puzzles
« Reply #279 on: February 26, 2017, 05:48:08 pm »
How have you programmed free will so far, maybe that will help us understand you better ?

You realise *programming* free will is a bit paradoxical yes ?
« Last Edit: February 26, 2017, 06:21:40 pm by Freddy »

*

yotamarker

  • Trusty Member
  • ********
  • Replicant
  • *
  • 611
    • battle programming
Re: mini a.i puzzles
« Reply #280 on: February 26, 2017, 06:31:39 pm »
free to the degree that her actions and goals are optimized by the environment
and not controlled directly by people's commands excluding forcing her to love her owner
(her being a mgtow level 5 A.I)
I estimate it would take me a year or two at the current rate.

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6484
  • Mostly Harmless
Re: mini a.i puzzles
« Reply #281 on: February 26, 2017, 06:38:54 pm »
So how is this implemented ? Do you have a series of choices that 'she' can pick from ? How does 'she' select a choice ?

It sure sounds programmatical to me.

mgtow level 5 A.I - means absolutely nothing to me, sorry.

*

yotamarker

  • Trusty Member
  • ********
  • Replicant
  • *
  • 611
    • battle programming
Re: mini a.i puzzles
« Reply #282 on: February 26, 2017, 07:31:33 pm »
freddy what programming language are you using ? maybe we should work together
I"ll write the algorithms you code it.

it would save me a lot of time, I wanted kei10 to help but he has an objection crossing over to the darkside.

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6484
  • Mostly Harmless
Re: mini a.i puzzles
« Reply #283 on: February 26, 2017, 09:13:05 pm »
I use various languages. It's a kind offer but my time is already spent on my graphics work which I need to do to pay the bills and part time work on other things.  I haven't been able to get on the forum much lately either due to some new work I just started. My own chatbot project is on hold due to this so I don't have enough spare to work on such a massive undertaking I am afraid.

Between this and bouts of illness, the best I can do, at least for now, is comment sometimes and throw in my thoughts, even if I am wrong sometimes.

I was just trying to get an idea of where you are at. It's hard to apply knowledge otherwise. I feel we need some context to your questions to best understand them, that's all.

BTW, you got me thinking about free will and how some people say we don't have it. Then I thought of how we could prove we had it. I thought about playing a game of Pool - you get to choose the shots... then I watched Men In Black III and got side tracked.  ;D Free will just there maybe...

Edit: I'm not trying to make an advanced AI with my projects - my interest is in interactive characters like talking to someone from a book - or a more in depth game character. He or she needs to be interesting than intelligent. Like I don't plan on introducing maths for example. So my projects are really low level AI.

*

Art

  • At the end of the game, the King and Pawn go into the same box.
  • Global Moderator
  • *********************
  • Deep Thought
  • *
  • 5106
Re: mini a.i puzzles
« Reply #284 on: February 27, 2017, 01:16:22 pm »
Nice interaction.

To inject my personal preference, I'd much rather opt for a bot with which I could have a fairly decent conversation and to be able to discuss a variety of interests / topics. It wouldn't have to know "everything", but hopefully if would have the ability to "learn" new information.

There are plenty of specialty bots already but few really well versed at conversation. ;)
In the world of AI, it's the thought that counts!

 


The many interfaces of computing
by Tyler (Robotics News)
November 14, 2018, 12:00:23 pm
Emotionally Responsive Avatars
by 8pla.net (AI News )
November 12, 2018, 10:00:17 pm
World's First AI News Anchor
by squarebear (AI News )
November 12, 2018, 08:22:59 am
Looking back at Project Athena
by Tyler (Robotics News)
November 11, 2018, 12:01:49 pm
A.I. Optometrist
by LOCKSUIT (AI News )
November 11, 2018, 07:06:36 am
Highlighting new research opportunities in civil and environmental engineering
by Tyler (Robotics News)
November 08, 2018, 12:00:38 pm
Why some Wikipedia disputes go unresolved
by Tyler (Robotics News)
November 07, 2018, 12:01:07 pm
To build new college, MIT seeks campus and alumni input
by Tyler (Robotics News)
November 05, 2018, 12:03:06 pm

Users Online

69 Guests, 2 Users
Users active in past 15 minutes:
sugumaton, LOCKSUIT
[Roomba]
[Trusty Member]

Most Online Today: 87. Most Online Ever: 208 (August 27, 2008, 09:36:30 am)

Articles