Why does increasing the input training set size increase the accuracy when it is the same data?

I'm trying to solve the AND problem using Keras. Obviously that only has 4 inputs:

true AND true = true

false AND false = false

false and true = false
true and false = false

So, that at first glance, even though it covers the entire universe of possibilities, does not look like there is enough data. So I copied it onto itself 100 times to give 400 samples. That increased the accuracy from 75% to 100%. But why wouldn't increasing the epochs achieve the same result? Increasing the number of epochs on the original, smaller input does not increase the accuracy. Only replicating the data onto itself does that.

Here is the code. Thanks in advance.

https://github.com/werowe/HypatiaAcademy/blob/master/ml/convert_perceptron_to_AND_classification_keras.ipynb

Thanks for your reply. People don't understanding what I am trying to do here. I listed things people told me happened to them. I wanted people to respond who have had this experience. I am not talking about myself. For example, the person who got stopped at airport was head director of refugee agency I know (a country currently at war). So it seems only Cypriots read reddit? Would like to hear from some Americans, Australians, Georgians, Serbians, or anyone not in EU who have had these problems.

Gosh I hope so. Both would be perfect. Gavin has been a target for the right wing for a while. I imagine that would not but rather would help him. And he's supposed to be a good fundraiser. As for Gretchen, glad this beauty except being kidnapped by Trump Proud Boys brown shirt thugs. Look at America. Political violence has become a real thing.

What problems have you had with immigration

Hi,

This is for non-EU, non-UK,and non-Cypriot persons. I would be interested to know what problems you have now or have had with immigration. I mean have you been trying to get a work permit or long term residency or even problems getting a visitor visa. So would like to hear from you as many people told me they have (particularly Americans, Australians, Georgians). Here are some of the problems I have heard from people.

  1. Bought a new house at price > 300,000. Promised permanent residency. Still waiting after many months.

  2. Bought a used house. Applied under a different visa program for long term residency. Still waiting after many months or even years.

  3. Rented a house. Applied for a type F permanent residency (does not give permission to work). Still waiting after several years.

  4. My work permit and my residency visa expire at different dates. So I have to renew them at different ones. And they have different lengths of duration.

  5. Had problems/delays getting work permit.

  6. Refused reentry at the airport. (What did you do?)

  7. The date of my children's residency permit is different than for myself. I work but my child is a minor.

  8. Applied for long term residency under the 5 year rule after completing the Greek A2 level exam. Still waiting. Or did you get?

  9. Had problems renewing annual visitor visa one year residency permit (this one also does not let you work, rather work in Cyprus. You can have employees or contracts in other countries.)

  10. Cannot get GESY for whatever reason.

  11. Cannot get driver's license for whatever reason.

  12. Stopped at the airport for non payment of taxes.

Thanks for your time.

Learned to read French by myself with no teacher using just a dictionary. This was in 1985-1986. I lived in a small town in South Carolina. There was no French video available, no internet, not even any electronic translator. I just started looking up words in a dictionary and subscribed to the French edition of Readers Digest then a French edition of Disneys Jungle Book. After about one year I could read The Little Prince. Still had not spoken one word as there was no one to speak with and no videos to watch. Arranged a connection to the French Minitel. Look that up. The French had that before the internet.

Not informed. If you can’t understand Gregory Hintons paper on SGD then you can’t understand partial derivatives and linear algebra. So you can’t understand SGD. need to use pencil and paper. And use the linear algebra abilities of Numpy.

Good question and I wish you good luck and success on your adventure.

My plan is to get to A2 level (far below fluency) in 18 months.

I speak Spanish fluently and French at an advanced level. So I have some experience learning languages. I lived in those countries a long time too too and now live in Cyprus. So I have that advantage.

(I put all the lesson in Duolingo Greek here so I can count them and track my progress https://docs.google.com/spreadsheets/d/1uRxktNh9TT05t9wmbWVVirAQzWD5DuOG39pjYZKsBM8/edit?usp=sharing . You can look here to see how long it is. Long enough but significantly smaller than English, French, and Spanish.)

Duolingo Greek says it will get you to A2 level. That is not fluency. I teach Ukrainian kids computer programming for free and they are required to be at B1 level. Maybe 1/2 are at B2. That means you can understand a technical computer lesson and speak.

Anyway, I use these tools below. I am trying to get to A2 level by may 2025 so I can get a residency permit. I believe it will take be 1 and 1/2 years to pass that test. I started September 2023.

  1. My girlfriend is native Greek speaker. I use her to speak in lieu of a teacher
  2. grammar book. One not too long that focus on the rules and does not give too much text to read (as you can find more interesting text elsewhere)
  3. ChatGPT (write sentences in here and ask it to correct it for you and explain what you did wrong. And ask it to conjugate verbs, explain parts of speech, create lessons for you, etc.).
  4. children's books, easy greek readers, read them and look up one word at a time.
  5. Greek-to-Greek dictionary, keeps it interesting to look up words as one word has multiple usages. Also forces you to learn alphabetical order of greek words
  6. Netflix and ERTFlix (major TV channel in Greece), watch movies and series in Greek with Greek subtitles. Too bad national geographic or discover don't do their shows in Greek. In Spanish their documentaries are so easy to understand because they speak slow and use simple language. Right now Netflix has only 3 Greek series. ERTFlix is a very sophisticated app that works on Amazon Fire, Android TVs, iOS, Android phones and tablets, desktop, everywhere. And the series have subtitles, not the movies or documentaries. They have live shows too.
  7. Youtube. Here is where we have just a very small amount compared to French. I really only see 3 channels. And I only really watch one and sometimes two of them. I wish some more teachers would make content. Make it interesting and speak slow. One channel just interviews people on the street. That's Greek at full speed so not easy.
  8. Talk to everyone no matter how bad your Greek is and feel free to make mistakes. Harder to do in Cyprus than Greece since the British ruled here so long and maybe 70-80% of the people speak English.

An EE student who knows C++ could be interested in NVIDIA GPU CUDA. Because if you go work for a chip company, and there are plenty of jobs there since the USA is subsidizing that, then there are lots of chip designers working to compete against NVIDIA. The Apple equivalent is called Metal. Don’t know what Google uses in its clouds for their TPUs but Google does not make chips so it must be CUDA. ARM, Samsung, all working on the same GPU designs. So they need people who understand EE and linear algebra and the other ML math. Good luck.

Teach yourself. Read Deep Learning published by MIT and Deep Learning with Python written by the guy who invented Keras, Francois Chollet. Then learn basic statistics. There's lots of books on that.

See if you can understand any of the papers written by the guys who got neural networks working https://www.cs.toronto.edu/~hinton/papers.html

And the chief research scientist at OpenAI https://scholar.google.com/citations?user=x04W_mMAAAAJ

They go in the road along with the cars in the rest of Europe. That is they share the road with cars. Just lay down track and off you go. Got plenty of space.

That would be wonderful, like they have across the rest of Europe. Only need one lane.

Then children can go where they need to and workers without cars and traffic would go down as parents don't need to ferry their kids from one spot to another.

Gregory Hinton gave this example.

Hinton's test was a riddle about house painting. An answer would demand reasoning and planning. This is what he typed into ChatGPT4.

Geoffrey Hinton: "The rooms in my house are painted white or blue or yellow. And yellow paint fades to white within a year. In two years' time, I'd like all the rooms to be white. What should I do?"

GPT4 advised "the rooms painted in blue" "need to be repainted." "The rooms painted in yellow" "don't need to [be] repaint[ed]" because they would fade to white before the deadline.

Duolingo also says Το αυτοκίνητο θέλει καύσιμα. While based upon what others wrote here would be the same as Το αυτοκίνητο χρειάζεται καύσιμα.

Sure. It’s cheap and ads are annoying and I share it with family.

Yes also she also calls herself a doctor. She has a PhD in English. No one with that calls themselves a doctor.

Pontic Greeks cross the street from me in Konia running a business of washing cars. But I am not a snitch.

My son in law lives in Cyprus. Greek passport. Next week he goes to Greece military service. He will do 2 months is Greece and 7 months in Cyprus. Cyprus pay 250 per month. Greece pay 7, yes seven euro,

Fine for washing car

Is it true there is a 500 euro fine if you wash car at home?

Is it also true that these desalination plants are only producing a small amount of water?

Is it true these water reservoirs are low?

SK said they might help because they are so angry North Korea met with Russia and is helping Russia. Also you probably know my country the USA has had military troops in South Korea since the 1950s. We fought with them against North Korea and I am sure will fight them again.SK fears Russia will help the south with their satellite and other programs.

cyprusgreekstudent
3
Needs a a flair

I would choice this one: God sent hysterics to a woman as a mark of His affection.

I'm teaching for free Cypriot and Ukrainian children ages 13-19 Python for 5 years. Almost all of my students now are Ukrainian refugees and kids living in Ukraine. My school is Hypatia Academy https://hypatiaacademy.io/en/index.html with the curriculum here https://github.com/werowe/HypatiaAcademy

Python is the most popular language for teaching and for machine learning. That is quite ironic since it does both something very easy (programming) and something that is very hard (AI/ML). I mean Python is so simple that 2 * 3 is a complete program.

I confront this issue of which kids should learn how they should learn etc all the time. There are lots of products and websites etc. that say they can teach kids programming at ages below 13. I don't know much about those. But I can tell you for sure that kids cannot learn Python until they can learn abstract thinking. And that comes at ages 12 to 13. For some kids, even at that age and older they cannot understand that.

But people should not give up on kids who are seemingly not able to do math and logic. And programming is applied math and logic. I was written off as a bad math student in school. This was because I simply did not study. But then I got interested in math and got a BS in math from the university.

I teach all of my Python students spreadsheets too. That's crucial and something not taught in schools here.

My course is 3 4-months semesters. The first 4 months is Python programming. The next 8 are Python with data science and machine learning. In any class, and math tutors tell me this if true for them (Here we have a system of after-school math tutors.) you can assume 1/2 of the kids will drop put and 1/2 of those that remain will not do the homework. But the 1/4 who stick with the whole program and do the homework will enjoy and absorb it and this will help them immensely. And it makes me feel good too. I teach something they do not teach in schools here. Too bad as programming, statistics, and deductive logic are important and too many kids struggle with algebra and geometry so they should be offered all 5 of those and given a choice.

good day.

In Cold Blood by Truman Capote.

Every non-fiction murder mystery after that is an imitation of that. Truman Capote, writing in The New Yorker, set the standard.