AI-XGBoost

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

    "Alien::XGBoost" => 0,
    "Carp" => 0,
    "Exception::Class" => 0,
    "Exporter::Easy" => 0,
    "FFI::Platypus" => 0,
    "Moose" => 0,
    "NativeCall" => 0,
    "namespace::autoclean" => 0,
    "perl" => "5.010",
    "strict" => 0,
    "utf8" => 0,
    "warnings" => 0
  },
  "test_requires" => {
    "Test::More" => 0,
    "Test::Most" => 0
  }
);


my %fallback_build_requires = (

META.json  view on Meta::CPAN

            "Alien::XGBoost" : "0",
            "Carp" : "0",
            "Exception::Class" : "0",
            "Exporter::Easy" : "0",
            "FFI::Platypus" : "0",
            "Moose" : "0",
            "NativeCall" : "0",
            "namespace::autoclean" : "0",
            "perl" : "5.010",
            "strict" : "0",
            "utf8" : "0",
            "warnings" : "0"
         }
      },
      "test" : {
         "requires" : {
            "Test::More" : "0",
            "Test::Most" : "0"
         }
      }
   },

META.yml  view on Meta::CPAN

  Alien::XGBoost: '0'
  Carp: '0'
  Exception::Class: '0'
  Exporter::Easy: '0'
  FFI::Platypus: '0'
  Moose: '0'
  NativeCall: '0'
  namespace::autoclean: '0'
  perl: '5.010'
  strict: '0'
  utf8: '0'
  warnings: '0'
resources:
  bugtracker: https://github.com/pablrod/p5-AI-XGBoost/issues
  homepage: https://github.com/pablrod/p5-AI-XGBoost
  repository: https://github.com/pablrod/p5-AI-XGBoost.git
version: '0.11'
x_contributors:
  - 'Ruben <me@ruben.tech>'
x_serialization_backend: 'YAML::Tiny version 1.69'

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

package AI::XGBoost::Booster;

use strict;
use warnings;
use utf8;

our $VERSION = '0.11';    # VERSION

# ABSTRACT: XGBoost main class for training, prediction and evaluation

use Moose;
use AI::XGBoost::CAPI qw(:all);
use namespace::autoclean;

has _handle => ( is       => 'rw',

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

package AI::XGBoost::DMatrix;

use strict;
use warnings;
use utf8;

our $VERSION = '0.11';    # VERSION

# ABSTRACT: XGBoost class for data

use Moose;
use AI::XGBoost::CAPI qw(:all);
use Carp;
use namespace::autoclean;

t/00-load.t  view on Meta::CPAN

#!/usr/bin/env perl -w

use strict;
use warnings;
use utf8;

use Test::More tests => 1;

BEGIN {
    use_ok('AI::XGBoost');
}

t/10-cast_arguments.t  view on Meta::CPAN

#!/usr/bin/env perl -w

use strict;
use warnings;
use utf8;

use Test::Most tests => 1;

=encoding utf8

=head1 NAME

Cast from native types to perl types back and fort

=head1 TESTS

=cut

BEGIN {

t/20-dmatrix.t  view on Meta::CPAN

#!/usr/bin/env perl -w

use strict;
use warnings;
use utf8;

use Test::More tests => 6;

BEGIN {
    use_ok('AI::XGBoost::DMatrix');
}

{
    my $matrix = [ [ 1, 1 ] ];
    my $data = AI::XGBoost::DMatrix->FromMat( matrix => $matrix );



( run in 1.396 second using v1.01-cache-2.11-cpan-49f99fa48dc )