getting started with PDL for cluster analysis PDL::Stats::Kmeans
0
votes
1
answer
43
views
I guess first up is the Question " is perl data language dead ?" I'm not finding any active discussions or user q&a
sorry for not tagging this better I dont have the rep'
my problem area is to analyse electrical power switching events and tie back readings of reactive and resistive loads aiming to point back at specific items of plant hardware.
So I thought cluster analysis and got a steer towards PDL
In a perl script I write
PDL::IO::DBI "rdbi2D;
use PDL::Stats::KMeans;
my $sql = "select resistv_chg,reactv_chg from metered_events where matched_event_id is not null";
my $pdl = rdbi2D( $dbh, $sql ); # pdl info tells me that i have a 2D array of 1400 x 2
my $k = $pdl->kmeans( {} );
in perldebug executing that call to kmeans() kicks off a flurry of output all of which means nada to me
I should expect about 10 to 15 distinct clusters given my installation
Has anyone any ideas about PDL these days ? Is there a better choice of tool
Asked by aldobranti
(1 rep)
Nov 21, 2023, 08:55 PM
Last activity: Jan 14, 2024, 08:16 PM
Last activity: Jan 14, 2024, 08:16 PM