NAME

Data::Dataset::Classic::Iris - Iris classic dataset

VERSION

version 0.001

SYNOPSIS

use Data::Dataset::Classic::Iris;
use Chart::Plotly qw(show_plot);

my $iris = Data::Dataset::Classic::Iris::get(as => 'Data::Table');

show_plot($iris);

METHODS

get

Returns the classic Iris dataset as a reference.

By default returns a hash ref with the column names as the keys and data as the values as an array ref. You can get the data in the format you want using the argument as and indicating a valid class in the namespace Data::Dataset::Classic::Adapter::*

SEE ALSO

Wikipedia: Iris flower dataset

1;

AUTHOR

Pablo Rodríguez González <pablo.rodriguez.gonzalez@gmail.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2016 by Pablo Rodríguez González.

This is free software, licensed under:

The MIT (X11) License