in reply to Machine Learning and Perl

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.

Replies are listed 'Best First'.
Re^2: Machine Learning and Perl
by LanX (Saint) on Nov 28, 2017 at 13:02 UTC
    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

        Reminds me of a friend of mine who once asked me to help her with a test for statistical significance of some data of her PHD thesis* in micro biology ...

        When I tried to explain the procedure to her she quickly gave up and told me the problem was already solved.

        Unfortunately I insisted to know how it was "solved". Turned out that her department used an excel formula for these tests which changed some colour from red to green.

        They achieved it by permuting the data from cell to cell until something turned green and than published it right away.

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

        *) actually it wasn't her data, part of her contract was to help preparing publications for colleagues in London...