Algorithm-TrunkClassifier

 view release on metacpan or  search on metacpan

Algorithm/TrunkClassifier/ppport.h  view on Meta::CPAN

1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
ck_eval|||
ck_exec|||
ck_exists|||
ck_exit|||
ck_ftst|||
ck_fun|||
ck_glob|||
ck_grep|||
ck_index|||
ck_join|||
ck_lengthconst|||
ck_lfun|||
ck_listiob|||
ck_match|||
ck_method|||
ck_null|||
ck_open|||
ck_readline|||
ck_repeat|||
ck_require|||
ck_retarget|||

Algorithm/TrunkClassifier/ppport.h  view on Meta::CPAN

1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
mess_nocontext|||vn
mess||5.006000|v
method_common|||
mfree||5.007002|n
mg_clear|||
mg_copy|||
mg_dup|||
mg_find|||
mg_free|||
mg_get|||
mg_length||5.005000|
mg_localize|||
mg_magical|||
mg_set|||
mg_size||5.005000|
mini_mktime||5.007002|
missingterm|||
mode_from_discipline|||
modkids|||
mod|||
more_bodies|||

Algorithm/TrunkClassifier/ppport.h  view on Meta::CPAN

1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
reg_named_buff_exists||5.009005|
reg_named_buff_fetch||5.009005|
reg_named_buff_firstkey||5.009005|
reg_named_buff_iter|||
reg_named_buff_nextkey||5.009005|
reg_named_buff_scalar||5.009005|
reg_named_buff|||
reg_namedseq|||
reg_node|||
reg_numbered_buff_fetch|||
reg_numbered_buff_length|||
reg_numbered_buff_store|||
reg_qr_package|||
reg_recode|||
reg_scan_name|||
reg_skipcomment|||
reg_stringify||5.009005|
reg_temp_copy|||
reganode|||
regatom|||
regbranch|||

Algorithm/TrunkClassifier/ppport.h  view on Meta::CPAN

2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
unshare_hek|||
unsharepvn||5.004000|
unwind_handler_stack|||
update_debugger_info|||
upg_version||5.009005|
usage|||
utf16_to_utf8_reversed||5.006001|
utf16_to_utf8||5.006001|
utf8_distance||5.006000|
utf8_hop||5.006000|
utf8_length||5.007001|
utf8_mg_pos_cache_update|||
utf8_to_bytes||5.006001|
utf8_to_uvchr||5.007001|
utf8_to_uvuni||5.007001|
utf8n_to_uvchr|||
utf8n_to_uvuni||5.007001|
utilize|||
uvchr_to_utf8_flags||5.007003|
uvchr_to_utf8|||
uvuni_to_utf8_flags||5.007003|

Algorithm/TrunkClassifier/ppport.h  view on Meta::CPAN

2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
yyerror|||
yylex|||
yyparse|||
yywarn|||
);
 
if (exists $opt{'list-unsupported'}) {
  my $f;
  for $f (sort { lc $a cmp lc $b } keys %API) {
    next unless $API{$f}{todo};
    print "$f ", '.'x(40-length($f)), " ", format_version($API{$f}{todo}), "\n";
  }
  exit 0;
}
 
# Scan for possible replacement candidates
 
my(%replace, %need, %hints, %warnings, %depends);
my $replace = 0;
my($hint, $define, $function);

Algorithm/TrunkClassifier/ppport.h  view on Meta::CPAN

3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
#ifndef ERRSV
#  define ERRSV                          get_sv("@",FALSE)
#endif
#ifndef newSVpvn
#  define newSVpvn(data,len)             ((data)                                              \
                                    ? ((len) ? newSVpv((data), (len)) : newSVpv("", 0)) \
                                    : newSV(0))
#endif
 
/* Hint: gv_stashpvn
 * This function's backport doesn't support the length parameter, but
 * rather ignores it. Portability can only be ensured if the length
 * parameter is used for speed reasons, but the length can always be
 * correctly computed from the string argument.
 */
#ifndef gv_stashpvn
#  define gv_stashpvn(str,len,create)    gv_stashpv(str,create)
#endif
 
/* Replace: 1 */
#ifndef get_cv
#  define get_cv                         perl_get_cv
#endif

Algorithm/TrunkClassifier/ppport.h  view on Meta::CPAN

6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
#endif
 
#define my_strlcat DPPP_(my_my_strlcat)
#define Perl_my_strlcat DPPP_(my_my_strlcat)
 
#if defined(NEED_my_strlcat) || defined(NEED_my_strlcat_GLOBAL)
 
Size_t
DPPP_(my_my_strlcat)(char *dst, const char *src, Size_t size)
{
    Size_t used, length, copy;
 
    used = strlen(dst);
    length = strlen(src);
    if (size > 0 && used < size - 1) {
        copy = (length >= size - used) ? size - used - 1 : length;
        memcpy(dst + used, src, copy);
        dst[used + copy] = '\0';
    }
    return used + length;
}
#endif
#endif
 
#if !defined(my_strlcpy)
#if defined(NEED_my_strlcpy)
static Size_t DPPP_(my_my_strlcpy)(char * dst, const char * src, Size_t size);
static
#else
extern Size_t DPPP_(my_my_strlcpy)(char * dst, const char * src, Size_t size);
#endif
 
#define my_strlcpy DPPP_(my_my_strlcpy)
#define Perl_my_strlcpy DPPP_(my_my_strlcpy)
 
#if defined(NEED_my_strlcpy) || defined(NEED_my_strlcpy_GLOBAL)
 
Size_t
DPPP_(my_my_strlcpy)(char *dst, const char *src, Size_t size)
{
    Size_t length, copy;
 
    length = strlen(src);
    if (size > 0) {
        copy = (length >= size) ? size - 1 : length;
        memcpy(dst, src, copy);
        dst[copy] = '\0';
    }
    return length;
}
 
#endif
#endif
 
#endif /* _P_P_PORTABILITY_H_ */
 
/* End of File ppport.h */

lib/Algorithm/TrunkClassifier/DataWrapper.pm  view on Meta::CPAN

230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
                foreach my $class (@cols){
                        $class = uc($class);
                }
                $membership{$classVarName} = \@cols;
        }
}
if(!$classes{$className} || !$membership{$className}){
        die "Error: Missing meta data for classification variable '$className' in $datasetType\n";
}
if(scalar(@{$membership{$className}}) != $totNumSamples){
        die "Error: CLASSMEM vector for '$className' and sample vector have different lengths in $datasetType\n";
}
foreach my $class (@{$membership{$className}}){
        if($class ne $NULL_CLASS && !$classes{$className}{$class}){
                die "Error: Invalid class label in '$className' CLASSMEM vector in $datasetType\n";
        }
}
my @classVector = @{$membership{$className}};
my @classBuffer = sort(keys(%{$classes{$className}}));
my $classOne = $classBuffer[0];
my $classTwo = $classBuffer[1];

pod/TrunkClassifier.pod  view on Meta::CPAN

384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
Indicates that one of the I<classLabel> values for a #CLASSVAR meta data row is equal
to the null class symbol #NA. The I<classLabel> values are the class labels for the
classification variable and cannot be equal to #NA, because this symbol is reserved as
a null class symbol.
 
=item Missing meta data for classification variable I<classVar> in input/testset data file
 
Indicates that the classification variable name given to the -c option is missing in
the meta data of the input or testset data file.
 
=item CLASSMEM vector for I<classVar> and sample vector have different lengths in input/testset data file
 
Indicates that the number of class labels on the #CLASSMEM row for I<classVar> is
different from the number of samples in the input or testset data file.
 
=item Invalid class label in I<classVar> CLASSMEM vector in input/testset data file
 
Indicates that one or more class labels on the #CLASSMEM row for I<classVar> are
invalid. Valid class labels are those given on the #CLASSVAR row for I<classVar> and
the null class symbol #NA.



( run in 0.607 second using v1.01-cache-2.11-cpan-95122f20152 )