AI-XGBoost

 view release on metacpan or  search on metacpan

LICENSE  view on Meta::CPAN

   END OF TERMS AND CONDITIONS

   APPENDIX: How to apply the Apache License to your work.

      To apply the Apache License to your work, attach the following
      boilerplate notice, with the fields enclosed by brackets "[]"
      replaced with your own identifying information. (Don't include
      the brackets!)  The text should be enclosed in the appropriate
      comment syntax for the file format. We also recommend that a
      file or class name and description of purpose be included on the
      same "printed page" as the copyright notice for easier
      identification within third-party archives.

   Copyright [yyyy] [name of copyright owner]

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

examples/featmap.txt  view on Meta::CPAN

94	ring-number=one	i
95	ring-number=two	i
96	ring-type=cobwebby	i
97	ring-type=evanescent	i
98	ring-type=flaring	i
99	ring-type=large	i
100	ring-type=none	i
101	ring-type=pendant	i
102	ring-type=sheathing	i
103	ring-type=zone	i
104	spore-print-color=black	i
105	spore-print-color=brown	i
106	spore-print-color=buff	i
107	spore-print-color=chocolate	i
108	spore-print-color=green	i
109	spore-print-color=orange	i
110	spore-print-color=purple	i
111	spore-print-color=white	i
112	spore-print-color=yellow	i
113	population=abundant	i
114	population=clustered	i
115	population=numerous	i
116	population=scattered	i
117	population=several	i
118	population=solitary	i
119	habitat=grasses	i
120	habitat=leaves	i
121	habitat=meadows	i
122	habitat=paths	i

lib/AI/XGBoost/CAPI.pm  view on Meta::CPAN

Parameters:

=over 4

=item filename

the name of the file

=item silent 

whether print messages during loading

=back

Returns a loaded data matrix

=head2 XGDMatrixCreateFromMat

Create from dense matrix

Parameters:

lib/AI/XGBoost/CAPI/RAW.pm  view on Meta::CPAN

Parameters:

=over 4

=item filename

the name of the file

=item silent 

whether print messages during loading

=item out 

a loaded data matrix

=back

=head2 XGDMatrixCreateFromCSREx

Create a matrix content from CSR fromat

lib/AI/XGBoost/CAPI/RAW.pm  view on Meta::CPAN

=item handle

a instance of data matrix

=item fname

file name

=item silent

print statistics when saving

=back

=head2 XGDMatrixSetFloatInfo

Set float vector to a content in info

Parameters:

=over 4

misc/using_capi.c  view on Meta::CPAN

    BoosterHandle booster;
    XGBoosterCreate(cache, 1, &booster);
    for (int iter = 0; iter < 11; iter++) {
        XGBoosterUpdateOneIter(booster, iter, dtrain);
    }

    bst_ulong out_len;
    const float *out_result;
    XGBoosterPredict(booster, dtest, 0, 0, &out_len, &out_result);
   
    printf("Length: %ld\n", out_len);
    for (int output = 0; output < out_len; output++) {
        printf("%f\n", out_result[output]);
    }

}

t/author-critic.t  view on Meta::CPAN

#!perl

BEGIN {
    unless ( $ENV{AUTHOR_TESTING} ) {
        print qq{1..0 # SKIP these tests are for testing by the author\n};
        exit;
    }
}

use strict;
use warnings;

use Test::More;
use English qw(-no_match_vars);

t/author-pod-coverage.t  view on Meta::CPAN

#!perl

BEGIN {
    unless ( $ENV{AUTHOR_TESTING} ) {
        print qq{1..0 # SKIP these tests are for testing by the author\n};
        exit;
    }
}

# This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests.

use Test::Pod::Coverage 1.08;
use Pod::Coverage::TrustPod;

all_pod_coverage_ok( { coverage_class => 'Pod::Coverage::TrustPod' } );

t/author-pod-syntax.t  view on Meta::CPAN

#!perl

BEGIN {
    unless ( $ENV{AUTHOR_TESTING} ) {
        print qq{1..0 # SKIP these tests are for testing by the author\n};
        exit;
    }
}

# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
use strict;
use warnings;
use Test::More;
use Test::Pod 1.41;

t/author-synopsis.t  view on Meta::CPAN

#!perl

BEGIN {
    unless ( $ENV{AUTHOR_TESTING} ) {
        print qq{1..0 # SKIP these tests are for testing by the author\n};
        exit;
    }
}

use Test::Synopsis;

all_synopsis_ok();



( run in 1.036 second using v1.01-cache-2.11-cpan-de7293f3b23 )