Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

214
Views
ML5 can't train XOR
// dataset
{ a: 0, b: 0, output: 'zero' },
{ a: 1, b: 0, output: 'one' },
{ a: 0, b: 1, output: 'one' },
{ a: 1, b: 1, output: 'zero' },

const options : {
  task: 'regression',
};

// outputs
// 0,0 => zero
// 1,0 => one
// 0,1 => one
// 1,1 => one

I'm not able to figure out what is going on, the learning process seems to be successfull.

Demo https://stackblitz.com/edit/react-ts-ut9iyb?file=App.tsx


Edit: to the guy voting to close for "needs detail or clarity", tell me what information do you need, you have access to the code, even a repro, the problem is clear and explained in a sentence of only 4 words, if it's beyond your knowledge just move on to the next question but don't vote to close, that's stupid.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I made a fork of your project, you can see it here https://stackblitz.com/edit/react-ts-hpnnf5?file=App.tsx

about 4 years ago · Frank Cary Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!