Thread: C machine learning

  1. #1
    Registered User
    Join Date
    Dec 2009
    Posts
    1

    C machine learning

    C code - 82 lines - codepad

    it recognizes even numbers. all odd numbers are not defined for the program. im testing with odd numbers and it always asks if the entered number is even. so when i say no, it should increase the count of right known numbers. but the problem is that the relations doesnt change. its always 127 to 128. where is the fault?

  2. #2
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Could you write the code using English variable names and text? Most people here speak English, fewer of us speak any other arbitrary language and it would increase the likelihood of receiving help.

    Selbst für diejenigen von uns, die Deutsch sprechen, kann es das Lesen des Codes erschwert.
    Last edited by abachler; 12-28-2009 at 08:00 PM.

  3. #3
    Registered User
    Join Date
    Mar 2010
    Posts
    3
    hi everybody i need a little help with my program, it needs to be written in c. someone please help

    i need to write a program that will create 2 matrices a[4][4] and b [4][4] each matrix should be filled with random integers from 0-10 using the rand function. then matrices a and b should be added and results put into matrix c. then it should calculate the determinants of a,b,and c and display then on the screen as well as the values of a, b and c. the program should use pointers only no indexes

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using ip tables to forward port to virtual machine
    By sean in forum Networking/Device Communication
    Replies: 1
    Last Post: 10-31-2009, 09:16 AM
  2. Machine Learning with Lego Mindstorms
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 01-30-2009, 02:34 PM
  3. Replies: 4
    Last Post: 01-18-2008, 07:05 PM
  4. Porting from 32 bit machine to 64 bit machine!
    By anoopks in forum C Programming
    Replies: 10
    Last Post: 02-25-2005, 08:02 PM
  5. machine learning code in c/c++
    By nchauhan in forum Game Programming
    Replies: 0
    Last Post: 11-14-2003, 10:26 AM