Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Machine Learning and Perl

by aartist (Pilgrim)
on Nov 27, 2017 at 19:38 UTC ( [id://1204349]=perlquestion: print w/replies, xml ) Need Help??

aartist has asked for the wisdom of the Perl Monks concerning the following question:

What are the simple machine learning code in Perl that I can try my hands on without installing external modules for simple data predictions? Thanks.

Update: I am looking for data prediction in the case I have 3 columns of data and it should predict the 4th column based on learning. ( I can feed thousands of rows with 4 columns to begin with).

Replies are listed 'Best First'.
Re: Machine Learning and Perl
by 1nickt (Canon) on Nov 27, 2017 at 21:10 UTC
Re: Machine Learning and Perl
by AnomalousMonk (Archbishop) on Nov 27, 2017 at 21:02 UTC
Re: Machine Learning and Perl
by hippo (Bishop) on Nov 28, 2017 at 09:28 UTC
    What are the simple machine learning code in Perl that I can try my hands on without installing external modules
    1. Machine learning isn't simple.
    2. If you are going to attempt it without installing CPAN modules or leveraging third-party libraries I wish you luck.

    However, if you would care to relax this unnecessary restriction, there are plenty of options.

      The OP hasn't provided us with much information about the nature of the data, so it's perfectly possible to code a very good statistical approach for some possible problems.

      But it requires putting some personal brain into it, instead of relying on an ominous "machine brain".

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Wikisyntax for the Monastery

Re: Machine Learning and Perl
by LanX (Saint) on Nov 27, 2017 at 20:24 UTC
    > What are the simple machine learning code in Perl that I can try my hands on without installing external modules for simple data predictions? Thanks.

    Machine learning is a buzzword and a very wide field.

    Could you be more precise? Thanks.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Wikisyntax for the Monastery

    PS: see also older discussions (click "search").

    update

    the former was posted before the OP was updated

      You've reminded me of a conversation I had with 1nickt, where I raised the topic of creating a modern buzzword based CV/resume generator. Let me add that to by Turing complete, distributed blockchain based ToDo list...

        Well, maybe I was too harsh ...

        ... According to the Gartner hype cycle of 2016, machine learning is at its peak of inflated expectations. ...

        (source)

        ... or maybe not! xD

        Cheers Rolf
        (addicted to the Perl Programming Language and ☆☆☆☆ :)
        Wikisyntax for the Monastery

Re: Machine Learning and Perl
by VinsWorldcom (Prior) on Nov 28, 2017 at 01:36 UTC

    It pains me to say that you'll have more luck with Python, but it's true. Look at scikit-learn.

    Or do like me and avoid Python and try R - it's a language especially suited to statistical computing and machine learning.

      Thanks for the interesting link. :)

      But no worries, the OP asked for

      without installing external modules for simple data prediction
Re: Machine Learning and Perl
by LanX (Saint) on Nov 27, 2017 at 20:46 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1204349]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-23 20:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found