Results 1 to 15 of 15
  1. #1
    Member Bettyboo's Avatar
    Join Date
    Nov 2009
    Last Online
    @
    Location
    Bangkok
    Posts
    32,695

    Anybody code with Python?

    Well???

    I bloody well hate coding, programming, maths; all terrible stuff I try to avoid, but I am having to develop a bit of understanding of Python. Was wondering what other folks thought the best route was?

    I have Miniconda3 aswellas Python 2.7 and 3.7 through PyCharm - because it seems easy! I prefer to do stuff locally rather than on a cloud, and much as I don't want to am running through some basic NNs with deep learning hidden layers.

    Any suggestions/advice?
    How do I post these pictures???

  2. #2
    I am in Jail

    Join Date
    Feb 2019
    Last Online
    16-04-2019 @ 08:55 AM
    Posts
    157
    I watched a bit of this 4 hours course, not really interested but it might be of use if you are


  3. #3
    Thailand Expat
    Join Date
    Oct 2017
    Last Online
    @
    Posts
    1,779
    Quote Originally Posted by Bettyboo View Post
    Any suggestions/advice?
    You could buckle down and start writing code instead of procrastinating on TD, feverishly researching the demise of the EU and the invisible hand of Soros etc.

    Start with Hello World!
    ---

    Which other languages do you know and what level?

    What will python be used for? ..give examples.

    If teaching..what level?
    Last edited by foobar; 27-02-2019 at 10:27 PM.

  4. #4
    Member Bettyboo's Avatar
    Join Date
    Nov 2009
    Last Online
    @
    Location
    Bangkok
    Posts
    32,695
    ^^ I'll have a look at that, thanks - can't hurt.

    ^ assembly, pascal and C - haven't used them in years; Beng in electronic engineering when I was young.

    I did explain, deep learning neural networks. I won't be writing the code, I have some already, but I want to understand it and make adaptions/look at alternatives. &, yes, I am getting on with it; wrote several little, very little, bits of code today. I simply wondered if anybody here is experienced in the field, and might offer some suggestions.
    Last edited by Bettyboo; 27-02-2019 at 11:05 PM.

  5. #5
    Never Mind The Bollix
    Looper's Avatar
    Join Date
    Jun 2007
    Last Online
    Today @ 09:15 PM
    Posts
    12,501
    Why don't you do a NN thread boo.

    What is the big picture here?

    What are you trying to do?

    I am reading 'The Age of Em: Work, Love and Life when Robots Rule the Earth'

    But it is not as good as I was hoping. Hanson is just reeling of the economic challenges that face human consciousness emulation.

  6. #6
    Custom user Neverna's Avatar
    Join Date
    Mar 2012
    Last Online
    @
    Location
    Behind a rhododendron bush
    Posts
    18,932
    Quote Originally Posted by Bettyboo View Post
    I simply wondered if anybody here is experienced in the field, and might offer some suggestions.
    Troy is probably your man, Betty.

  7. #7
    Member Bettyboo's Avatar
    Join Date
    Nov 2009
    Last Online
    @
    Location
    Bangkok
    Posts
    32,695
    ^ Troy, the German?

    Quote Originally Posted by Looper View Post
    Why don't you do a NN thread boo.
    A thread on coding neural networks - not sure a lot of folks will enjoy that...

    My work is on spiking neural networks which are different, but I want to compare SNN performance to NNs with little autonomous AI. Boring stuff really when you get down and start trying to engineer it end-to-end.
    Last edited by Bettyboo; 27-02-2019 at 11:16 PM.

  8. #8
    disturbance in the Turnip baldrick's Avatar
    Join Date
    Apr 2006
    Last Online
    Today @ 08:20 PM
    Location
    Heidleberg
    Posts
    22,378
    I watched this the other day - I enoyed it -



    code academy has beginner tutorials and you do not even need to install and compile anything - the basics are still the basics in any language

    https://www.codecademy.com/learn/learn-python

  9. #9
    Member Bettyboo's Avatar
    Join Date
    Nov 2009
    Last Online
    @
    Location
    Bangkok
    Posts
    32,695
    ^ I'll have a look, thanks.

  10. #10
    Thailand Expat
    Join Date
    Oct 2017
    Last Online
    @
    Posts
    1,779
    Are you already an expert on deep learning neural networks?

    If not, and reviewing advanced code in a language you are not familiar, less of a steep learning curve and more a sheer vertical face.

    Your previous experience of low level langs will help some, but not much if its a been a while, especially if you don't enjoy writing code.

    Keep writing code....but I don't mean just inputting examples.

    How about: how many 3 letter words in a block of text or how many seconds have passed between 1970 and the time of this post.

    Just start writing code and learn-as-you-go.

    I would put some time into the python side of things before moving on to code review.

  11. #11
    Thailand Expat
    Troy's Avatar
    Join Date
    Feb 2011
    Last Online
    Today @ 08:54 PM
    Location
    In the EU
    Posts
    8,556
    Quote Originally Posted by Bettyboo View Post
    ^ Troy, the German?
    555...Not going to turn me into a square head just yet...

    I do use Python but only for scripts and basic guis using qt. I don't have it on my super-duper new win10 machine but I might throw a version on some time, especially if you get me interested in some of this AI work.

    If I were you I would start with the Neural Network python libraries and find one that you feel comfortable with. Once that is sorted find out which versions of Python it supports and then go for the latest version. When I say a library you feel comfortable with I mean check out the tutorials and see how easy they are to follow. Do you have a particular library in mind or are you still searching for a good one?

    This isn't really my forte, I specialise in real-time software however, I did find several libraries that might be of interest:

    1. Theano: Apparently the tutorial for this is pretty darn good and takes you from feet firmly on the floor to Rees-Mogg level in lots and lots of steps. The link to the tutorial:

    Deep Learning Tutorials ? DeepLearning 0.1 documentation
    2. TensorFlow: There are a few youtube videos on this if you prefer to learn that way. I found a tutorial here: https://www.journaldev.com/18175/pyt...rflow-tutorial
    3. NeuPy: A tutorial here: Tutorials ? NeuPy

    The list is not exhaustive but I'm a bit tired. The first one, Theano, looks like one to take a serious look at.

    If you want a basic Python book to get into it then: http://marvin.cs.uidaho.edu/Teaching...onTutorial.pdf should give you a good foundation.

  12. #12
    Member Bettyboo's Avatar
    Join Date
    Nov 2009
    Last Online
    @
    Location
    Bangkok
    Posts
    32,695
    ^ good stuff, Troy.

    I've been doing similar to some stuff you mentioned. I've been working through this online book because I'm interested in sensory AI applications, and this is quite easy:

    Neural networks and deep learning

    This code: https://github.com/mnielsen/neural-n...src/network.py

    I will then apply that on a small AI model (not virtual or simulation, but a real little monster) to which I'll add elements and make it autonomous with various sensory inputs, a homeostatic base, motivation drives, hierarchy, etc (that'll take some time, but a lot of the theoretical work has been mapped out already). It'll likely be using SNNs, but NNs are quite straight forward for stuff like vision, so I want to understand that area generally too. My research suggests that many of the underlying models have been adapted over the years inline with conventional maths (particularly graphs and differentiation), not neurobiology, so they can be fundamentally adapted/improved to show significant performance gains (stuff such as compartmental models are based on science from 1952 which has changed a lot, but the NNs/SNNs is still based on incorrect and out-dated underlying science).
    Last edited by Bettyboo; 28-02-2019 at 12:08 PM.

  13. #13
    disturbance in the Turnip baldrick's Avatar
    Join Date
    Apr 2006
    Last Online
    Today @ 08:20 PM
    Location
    Heidleberg
    Posts
    22,378
    you might find this article interesting batty - a bit of a play with Generative Pre-trained Transformer-2 (GPT-2), a Franken-creation from researchers at the non-profit research organization OpenAI.

    https://arstechnica.com/information-...-fake-text-ai/

  14. #14
    Member Bettyboo's Avatar
    Join Date
    Nov 2009
    Last Online
    @
    Location
    Bangkok
    Posts
    32,695
    Quote Originally Posted by baldrick View Post
    you might find this article interesting batty - a bit of a play with Generative Pre-trained Transformer-2 (GPT-2), a Franken-creation from researchers at the non-profit research organization OpenAI.

    https://arstechnica.com/information-...-fake-text-ai/
    I liked this bit:

    In 2016, researcher Robbie Gallagher presented such a project at Shmoocon, where he used a Markov chain bot based on Reddit personal finance posts to build HoneyPhish—a bot that responded to Nigerian "419" scam emails with statistically constructed replies that made the scammers think they had a real human on the other end.





  15. #15
    Thailand Expat
    Troy's Avatar
    Join Date
    Feb 2011
    Last Online
    Today @ 08:54 PM
    Location
    In the EU
    Posts
    8,556
    Let me know which version of python you download Betty and which library. I mentioned to a colleague who said tensorflow without prompting or suggestion...and he is German.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •