Search:

Type: Posts; User: megastar

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    4,075

    "Comprehension - AI" This is really a very broad...

    "Comprehension - AI"
    This is really a very broad question and as happy_reaper put it giving
    a universal answer is not possible. It involves questioning of the very
    two fundamental aspects of the...
  2. Replies
    4
    Views
    3,710

    i guess it was'nt very clear..sorry about that.....

    i guess it was'nt very clear..sorry about that..
    consider the following scenario :
    There are let us say 15000 features for each sample.
    The subsets we can generate have 4000-8000 features i.e ...
  3. Replies
    4
    Views
    3,710

    Yup! i got that point later...anyways reduction...

    Yup! i got that point later...anyways reduction of noise can be done in many ways..
    as to your second statement

    Are the accuracies EXACTLY the same in both cases? I would suspect a bug in the...
  4. Replies
    6
    Views
    1,700

    ok i will try out the signal handler. There may...

    ok i will try out the signal handler.
    There may be a small problem, i open another
    process during my program and the link here says that we need to be careful
    using it in a multi threaded...
  5. Replies
    6
    Views
    1,700

    nice idea :D The program is a bit on the...

    nice idea :D
    The program is a bit on the lengthier side so
    it is slightly difficult for me not to 'generate exceptions'..
  6. Replies
    6
    Views
    1,700

    floating point exception

    Hi!
    Can someone tell me how to handle
    floating point exceptions in C.I am working on a linux platform.
  7. Replies
    4
    Views
    3,710

    Support vector machines

    Hi !

    I applied svm-train on a data set N of features and have
    found out the cross validation accuracy
    and then i have applied svm-train again on a data set
    which is the subset of having K...
  8. Replies
    18
    Views
    3,241

    @dwks oops! sorry for posts in between :)...

    @dwks
    oops!
    sorry for posts in between :) did'nt check your
    posts..
    I am currently running my programs on a LINUX platform.
    I just ran your program.The header file "process.h" was not available..
  9. Replies
    18
    Views
    3,241

    @dwks It is the right header file I have to...

    @dwks
    It is the right header file I have to still check out
    your shellscript method..
  10. Replies
    18
    Views
    3,241

    @MacGyver int iRet; char szProgram[256];...

    @MacGyver



    int iRet;
    char szProgram[256];

    while(getProgram(szProgram,sizeof(szProgram)))
    {
    iRet = system(szProgram);// HERE THE RETURN VALUE MAY BE ANYTHING !!
  11. Replies
    18
    Views
    3,241

    If i can put my question in a slightly more blunt...

    If i can put my question in a slightly more blunt way
    For example two program P1 and P2


    P1
    int main()
    {
    int a;
    ...
    ...
  12. Replies
    18
    Views
    3,241

    hi all! The replies have been interesting. From...

    hi all!
    The replies have been interesting.
    From all of them i could gather the following.
    Correct me if I am wrong.

    Return value of main is passed back to the invoker after the
    progam...
  13. Replies
    18
    Views
    3,241

    return value from main()

    main's return value is of type int.
    I've read that the value is returned to the OS(meaning?).
    Is there any possibility of using this value in a C program?
    I have'nt come across any feature in C...
  14. Replies
    11
    Views
    1,733

    #define numloop 5000 char aa[2000];char...

    #define numloop 5000


    char aa[2000];char bb[2000];char dna[2000];



    for (j=0; j<numloop; j++)
  15. Replies
    11
    Views
    1,733

    2. for (j=0; j

    2.
    for (j=0; j<numloop; j++)
    {
    char q1[43]="/home/Yazdan/dnabase/datadssp/1/";
    char q2[43]="/home/Yazdan/dnabase/datadssp/2/";

    numloop =5000 if q1[43],q2[43]
    need to be initialized with same...
  16. Replies
    11
    Views
    1,733

    hi! Originally Posted by MacGyver You open...

    hi!

    Originally Posted by MacGyver
    You open a file, check if it's successful, and then open it again. Wastes of memory and resources.

    Also, you're never closing in until the end, which means...
  17. Replies
    4
    Views
    1,672

    @ laser light You should seed the random...

    @
    laser light

    You should seed the random number generator only once
    If i am not wrong the reason for manual seeding if i may call is to choose 'numbers of random sequence'
    i.e. a different...
  18. Replies
    4
    Views
    1,672

    random number generation

    These are two programs for generating random 0's and 1's
    The essential logic is the same the first one
    has the code in main whereas the second one has in the function
    randgen().
    The first is...
  19. Replies
    6
    Views
    1,047

    hi! i was given a similar problem at my college...

    hi!
    i was given a similar problem at my college and
    the method i followed was as follows
    ( It is the opposite Macgyver's 1st method multiplying instead of dividing,
    similar to desolation's...
  20. Replies
    4
    Views
    2,291

    Thanks !! That was clever.. using fscanf's...

    Thanks !!
    That was clever.. using fscanf's return value(did'nt remember [:(]).
    It is working.
  21. Replies
    4
    Views
    2,291

    The number of entries depends on the file(usually...

    The number of entries depends on the file(usually of the order thousands)
    but the essential format is the same.
    Thus the id:value pairs are in thousands.
    Sorry about the comma part, there are no...
  22. Replies
    3
    Views
    1,270

    thanks for the reply.

    thanks for the reply.
  23. Replies
    4
    Views
    2,291

    reading values from a file

    There is a file which has data in the way shown below.
    Each row is sort of a record.
    For each record i will be needing values in the first column(+/- 1) and the other floating
    point values in the...
  24. Replies
    3
    Views
    1,270

    output of one c program in another

    I have written a c program which consists of a decision
    making statement.The arguments which have to be input
    are currently a function's return value but i need to
    use another program's output as...
Results 1 to 24 of 24