Send Beginners mailing list submissions to
        beginners@haskell.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        beginners-requ...@haskell.org

You can reach the person managing the list at
        beginners-ow...@haskell.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1.  Machine Learning/ANN's in Haskell. (Jack Hunt)
   2. Re:  Machine Learning/ANN's in Haskell. (Erik de Castro Lopo)
   3. Re:  Machine Learning/ANN's in Haskell. (Ertugrul S?ylemez)
   4. Re:  Machine Learning/ANN's in Haskell. (Krzysztof Skrz?tnicki)


----------------------------------------------------------------------

Message: 1
Date: Wed, 02 Jan 2013 13:50:03 +0000
From: Jack Hunt <jackmilesh...@gmail.com>
Subject: [Haskell-beginners] Machine Learning/ANN's in Haskell.
To: beginners@haskell.org
Message-ID: <50e43b0b.8060...@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi all,
I have been interested in Haskell for a long time now, and am definitely 
going to invest a considerable amount of time into learning it. Next 
year is the final year of my CS degree, and I am set on having a final 
year project orientated around ML. Now, my question is this:-

What are the advantages/disadvantages of using Haskell for such a 
project? Bearing in mind of course that I am an absolute beginner.

Regards,
Jack Hunt



------------------------------

Message: 2
Date: Thu, 3 Jan 2013 06:58:39 +1100
From: Erik de Castro Lopo <mle...@mega-nerd.com>
Subject: Re: [Haskell-beginners] Machine Learning/ANN's in Haskell.
To: beginners@haskell.org
Message-ID: <20130103065839.d958283bfcfac8ebb7983...@mega-nerd.com>
Content-Type: text/plain; charset=US-ASCII

Jack Hunt wrote:

> Hi all,
> I have been interested in Haskell for a long time now, and am definitely 
> going to invest a considerable amount of time into learning it. Next 
> year is the final year of my CS degree, and I am set on having a final 
> year project orientated around ML. Now, my question is this:-
> 
> What are the advantages/disadvantages of using Haskell for such a 
> project? Bearing in mind of course that I am an absolute beginner.

Advantages? Well compiled Haskell code is faster than Python which
seems to be a commonly used language in this field.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



------------------------------

Message: 3
Date: Wed, 2 Jan 2013 23:20:03 +0100
From: Ertugrul S?ylemez <e...@ertes.de>
Subject: Re: [Haskell-beginners] Machine Learning/ANN's in Haskell.
To: beginners@haskell.org
Message-ID: <20130102232003.3c8cf...@tritium.streitmacht.eu>
Content-Type: text/plain; charset="us-ascii"

Jack Hunt <jackmilesh...@gmail.com> wrote:

> I have been interested in Haskell for a long time now, and am
> definitely going to invest a considerable amount of time into learning
> it. Next year is the final year of my CS degree, and I am set on
> having a final year project orientated around ML. Now, my question is
> this:-
>
> What are the advantages/disadvantages of using Haskell for such a
> project? Bearing in mind of course that I am an absolute beginner.

My experience with using Haskell as a language for neural networks is
very positive.  The code is unusually short and mostly works right away.
It is also much faster than the more common languages like Python and
Common Lisp.

I have uploaded one of my neural network implementations [1] to Hackage.
It shows you how to exploit lazy vectors for expressing the most
important algorithms, including querying the network and backpropagation
learning.

[1]: http://hackage.haskell.org/package/instinct


Greets,
Ertugrul

-- 
Not to be or to be and (not to be or to be and (not to be or to be and
(not to be or to be and ... that is the list monad.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20130102/c4d54538/attachment-0001.pgp>

------------------------------

Message: 4
Date: Thu, 3 Jan 2013 10:09:58 +0100
From: Krzysztof Skrz?tnicki <gte...@gmail.com>
Subject: Re: [Haskell-beginners] Machine Learning/ANN's in Haskell.
To: Jack Hunt <jackmilesh...@gmail.com>
Cc: beginners <beginners@haskell.org>
Message-ID:
        <CAM7aEVGhqaJPLXGN63m9LPATH5JYKG79CcHdYtW=gcqc9qw...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I think that very important question is: whether you will find all the
libraries you will need for your project or are you willing to fill the
gaps? Haskell is a very fine language if you consider writing anything in
it. But when it comes to libraries you may find out that what you are after
is missing.

For example, I wanted to play with Restricted Bolzmann Machines. There are
a few implementations but none available in Haskell. I ended up using one
for Matlab (Octave), and then exporting the data with few functions. The
alternative would be to reimplement them - but that would be higher cost
route, especially that I would need to do some tests to check that my
implementation is right.

Another possible disadvantage: reasoning about space complexity and
laziness in Haskell is hard, esp. for beginners. You are getting used to
that - you end up writing code that is mostly fast out of the box. But it
can be problematic if it slows you down so much that you cannot do real
work. OTOH I had the very similar problem with Python - and the fact that
it's GC is really broken. Personally I don't consider it too hard to learn.

I think that trying Haskell is worth it. But try to be mindful of your
requirements and expectations.

Best regards,
Krzysztof Skrz?tnicki


On Wed, Jan 2, 2013 at 2:50 PM, Jack Hunt <jackmilesh...@gmail.com> wrote:

> Hi all,
> I have been interested in Haskell for a long time now, and am definitely
> going to invest a considerable amount of time into learning it. Next year
> is the final year of my CS degree, and I am set on having a final year
> project orientated around ML. Now, my question is this:-
>
> What are the advantages/disadvantages of using Haskell for such a project?
> Bearing in mind of course that I am an absolute beginner.
>
> Regards,
> Jack Hunt
>
> ______________________________**_________________
> Beginners mailing list
> Beginners@haskell.org
> http://www.haskell.org/**mailman/listinfo/beginners<http://www.haskell.org/mailman/listinfo/beginners>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20130103/774ca49a/attachment-0001.htm>

------------------------------

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners


End of Beginners Digest, Vol 55, Issue 3
****************************************

Reply via email to