Find the answer to your Linux question:
Results 1 to 3 of 3
hello, everyone, I am a newbie here. I downloaded the C4.5 code from web, and it works fine with me. But when I use it to treat large data, it ...
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Posts
    2

    Question about C4.5 code bug

    hello, everyone, I am a newbie here.

    I downloaded the C4.5 code from web, and it works fine with me. But when I use it to treat large data, it has error message like "segmentation fault". While, I think it is not due to the volumn of data. Is that a bug?

    so what is the general problem of "segmentation fault"?

    Thank you so much!

  2. #2
    Just Joined!
    Join Date
    Jun 2010
    Posts
    10
    Errors of this kind usually appear when the program attempts to create data arrays larger than the 'compiled in' memory space of the program. A segmentation fault occurs when a program tries to access an invalid, or illegal memory address. Please post the code, and then we can see what the specific nature of the problem. I would suggest that there needs to be a call to malloc() at some point in the program to allow run-time creation of large datasets. However, without actually seeing what is going on in the sourcecode, I don't think we can help.

  3. #3
    Just Joined!
    Join Date
    Jun 2010
    Posts
    2
    Hi, thank you! The code can be downloaded by google C4.5 code, sorry I cannot post url currently.
    Yes, I think it is the memory problem, but I don't know how to fix it, thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...