AI-XGBoost
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
"module_name" => "AI::XGBoost",
"recursive_test_files" => 1,
"requires" => {
"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
}
);
},
"runtime" : {
"requires" : {
"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"
version: '1.4'
name: AI-XGBoost
requires:
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:
lib/AI/XGBoost/Booster.pm view on Meta::CPAN
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',
init_arg => undef, );
sub update {
my $self = shift;
my %args = @_;
my ( $iteration, $dtrain ) = @args{qw(iteration dtrain)};
XGBoosterUpdateOneIter( $self->_handle, $iteration, $dtrain->handle );
return $self;
lib/AI/XGBoost/DMatrix.pm view on Meta::CPAN
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;
has handle => ( is => 'ro', );
sub From {
my ( $package, %args ) = @_;
return __PACKAGE__->FromFile( filename => $args{file}, silent => $args{silent} ) if ( defined $args{file} );
return __PACKAGE__->FromMat( map { $_ => $args{$_} if defined $_ } qw(matrix missing label) )
if ( defined $args{matrix} );
Carp::cluck( "I don't know how to build a " . __PACKAGE__ . " with this data: " . join( ", ", %args ) );
}
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.784 second using v1.00-cache-2.02-grep-82fe00e-cpan-c98054f2a92 )