[Sugar-devel] To Cameron: ML idea discussion

Sumit Srivastava sumitsrisumit at gmail.com
Wed Mar 27 10:12:54 EDT 2019


Anyone pursuing this idea might also want to keep in mind that the hardware
of systems that students use might not not be "powerful" enough in most
cases.

On Wed, 27 Mar 2019, 6:49 pm IQRA MUHAMMAD, <iqra.muhammad15 at ce.ceme.edu.pk>
wrote:

> Hi!
>
> The ML activity was an idea given by me initially. I have to say that you
> need to first understand the concept of what "testing" and "training"  a
> model is.  We are not arranging the pictures here. We are training the
> model with the pictures.
> Have a look at the google drive worksheet link that I have attached along
> this email below. Besides ideas there are more ideas of google AI
> experiments that can you get inspired from   :)
> There is a website based on teaching ML to kids and that has lesson plans
> and worksheets:
>
> 1. https://machinelearningforkids.co.uk/#!/worksheets
>
> 2. https://experiments.withgoogle.com/teachable-machine
>
> 3. https://experiments.withgoogle.com/handwriting-with-a-neural-net
>
> 4. https://experiments.withgoogle.com/semantris
>
> Google Drive Iink for the car or cup worksheet:
>  https://drive.google.com/file/d/1ZY5DdWgeSrzaswRhhXemkVWpllIV4suA/view?usp=sharing
> <https://drive.google.com/file/d/1ZY5DdWgeSrzaswRhhXemkVWpllIV4suA/view?usp=sharing>
>
> Regards,
> Iqra
>
>
> On Wed, Mar 27, 2019 at 3:00 PM Ahmed ElSabbagh <
> ahmed.h.elsabbagh at gmail.com> wrote:
>
>> Hello James,
>> Thank you for the warm welcome, I am currently reading the documentation
>> you have sent.
>> Image recognition seems interesting, but shall we fill the blanks?
>> Should the activity for different pictures of cars, cups and other
>> things, the children should then choose which picture goes to which
>> category, then they test it on other images and if it should succeed in
>> recognizing it? And the initially 0 knowledge model learns incrementally?
>> This could be done a score for how many new pictures the Model was able
>> to recognize and each level the children pass they go to a new threshold or
>> level repeat and so on.
>> I see here is:
>> I am not familiar enough with in particular, but shouldn't the model take
>> many pictures in order to be capable enough? If would be tiresome for
>> children to arrange all the pictures.
>>
>> On Wed, 27 Mar 2019 at 07:49, <sugar-devel-request at lists.sugarlabs.org>
>> wrote:
>>
>>> Send Sugar-devel mailing list submissions to
>>>         sugar-devel at lists.sugarlabs.org
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>         http://lists.sugarlabs.org/listinfo/sugar-devel
>>> , via email, send a message with subject or body 'help' to
>>>         sugar-devel-request at lists.sugarlabs.org
>>>
>>> You can reach the person managing the list at
>>>         sugar-devel-owner at lists.sugarlabs.org
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> "Re: Contents of Sugar- digest..."
>>>
>>>
>>> Today's Topics:
>>>
>>>    1. Re: Expressing Interest GSoC (James Cameron)
>>>    2. Re: A problem of "No module named..." when trying to run an
>>>       which uses GTK (James Cameron)
>>>    3. Re: Regarding to python 3 project (James Cameron)
>>>    4. Re: GSOC19 proposal (James Cameron)
>>>
>>>
>>> ----------------------------------------------------------------------
>>>
>>> Message: 1
>>> Date: Wed, 27 Mar 2019 15:56:56 +1100
>>> From: James Cameron <quozl at laptop.org>
>>> To: sugar-devel at lists.sugarlabs.org
>>> Subject: Re: [Sugar-devel] Expressing Interest GSoC
>>> Message-ID: <20190327045656.GN13742 at laptop.org>
>>> Content-Type: text/plain; =us-
>>>
>>> Welcome Ahmed,
>>>
>>> Further information about how Sugar works for children can be found in
>>> documentation https://help.sugarlabs.org/
>>>
>>> You can also find more about Sugarizer on the https://sugarizer.org/
>>> .
>>>
>>> Machine Learning is difficult to fit into elementary teaching, as it
>>> such a narrow and rapidly changing field, with a
>>> knowledge.
>>>
>>> Yes, there were ideas about Machine Learning, my previous post gave a
>>> to https://github.com/sugarlabs/GSoC/issues/16
>>>
>>> Think of a lesson plan for how a teacher could explain Machine
>>> Learning a child of nine years of age, without treating it as a
>>> " box" concept?
>>>
>>> Each week I teach a class of about 12 children, and they don't need to
>>> about Machine Learning or Artificial Intelligence in order to use
>>> products that depend on it.  It is often enough to say that it is
>>> mathematics and logic; which is a deferral.
>>>
>>> On Tue, Mar 26, 2019 at 09:21:09AM +0200, Ahmed ElSabbagh wrote:
>>> > Hello Sugar Developers,
>>> > I am a student looking for ideas for google Google Summer of Code.
>>> > have caught my I find it difficult to understand
>>> > it works in general as not many tutorials are available.
>>> > I am fairly experienced in writing Python and I wish if possible to
>>> create a
>>> > activity for Machine Learning in Sugar.
>>> > Where could I possibly start and are there any specific ideas for ML
>>> > already in your mind for implementation.
>>> > Regards,
>>> > AHS
>>>
>>> > _______________________________________________
>>> > Sugar-devel mailing list
>>> > Sugar-devel at lists.sugarlabs.org
>>> > http://lists.sugarlabs.org/listinfo/sugar-devel
>>>
>>>
>>> --
>>> James Cameron
>>> http://quozl.netrek.org/
>>>
>>>
>>> ------------------------------
>>>
>>> Message: 2
>>> Date: Wed, 27 Mar 2019 16:02:59 +1100
>>> From: James Cameron <quozl at laptop.org>
>>> To: sugar-devel at lists.sugarlabs.org
>>> Subject: Re: [Sugar-devel] A problem of "No module named..." when
>>>         to run an activity which uses GTK
>>> Message-ID: <20190327050259.GO13742 at laptop.org>
>>> Content-Type: text/plain; =-8859-1
>>>
>>> Yes, Ashish Kumar made a commit which I merged as 0c53e0b, but you're
>>> about a different issue, for porting to Python 3 and you've
>>> changes in ce7a724 now I'm confused, because it doesn't
>>> like this commit was a complete port to Python 3, yet it is not
>>> as a draft pull request.
>>>
>>>
>>> https://github.com/sugarlabs/math-hurdler/pull/2/commits/ce7a724b7c3ba5f03d0b33eec0774dd08cebb5e4
>>> https://github.com/sugarlabs/math-hurdler/pull/2
>>>
>>> See our Python 3 Porting Guide
>>>
>>> https://github.com/sugarlabs/sugar-docs/blob/master/src/python-porting-guide.md
>>>
>>> My tests were with Python 2.  We will have Python 2 systems in use for
>>> a while.
>>>
>>> On Tue, Mar 26, 2019 at 04:17:39PM +0530, wrote:
>>> > seems like the activity has been fixed already, Sorry about that .
>>> >
>>> > On Tue, 26 Mar 2019 at 15:55, <[1]kushagra1998 at gmail.com> wrote:
>>> >
>>> >     As you guys were discussing about the math hurdler activity, this
>>> activity
>>> >      built in python2 hence needed minute fixes to convert into
>>> python3. I
>>> >      the fixes and created a pull request. Now math_hurdler works fine.
>>> >      I did not check the activity thing, it needs some of the
>>> >     . Please look into it.
>>> >
>>> >     Sincerely
>>> >      Nigam
>>> >     [2]kushagra1998 at gmail.com
>>> >
>>> >     On Tue, 26 Mar 2019 at 04:06, James Cameron <[3]quozl at laptop.org>
>>> wrote:
>>> >
>>> >         Thanks.  No, I'm not running the activity from the Terminal.
>>> I'm
>>> >          it the way a child learner would run it; from the Home View.
>>> >         If you're not familiar with the user experience of Sugar,
>>> please read
>>> >          our documentation;
>>> >
>>> >         [4]https://help.sugarlabs.org/en/sugar_ui.html
>>> >         [5]https://help.sugarlabs.org/en/home_view.html
>>> >
>>> >         How did you fall into this trap; is there other documentation
>>> we
>>> >          to change?  Let us know!
>>> >
>>> >         When I said "I'm not sure if the activity was finished before
>>> it was
>>> >          to the Wiki" I'm suggesting that the activity was not
>>> finished,
>>> >          so you are having to fix problems because the original
>>> developers
>>> >          not complete their work.  You used the Wiki to find the
>>> activity,
>>> >          so you may have found an unfinished activity.  Very brave!
>>> >
>>> >         Regarding the "Create a new set of activities" idea, you should
>>> >          to appreciate the breadth and scope of the existing
>>> >          so that you can avoid suggesting an activity we might
>>> >          have.
>>> >
>>> >         On Mon, Mar 25, 2019 at 09:36:43PM +0530, Rushabh Vasani wrote:
>>> >         > Hello
>>> >         > I was not getting this kind of any error.
>>> >         > Are you running your activity from with the command "/
>>> >         > -hurdler " after cloning it?
>>> >         > Or you are doing something else I was running it from the
>>> terminal
>>> >          a
>>> >         > window was . Even I just tried it once again so
>>> >          I can
>>> >         > you right description I don't know if there is another way to
>>> >          the
>>> >         > Please tell me if there is
>>> >         > And I don't understood what do you exactly mean by " I'm not
>>> sure if
>>> >
>>> >         > was finished before it was added to the Wiki. "
>>> >         >
>>> >         > And another question I have for the activity " Create a new
>>> set of
>>> >          "
>>> >         > that
>>> >         > I am planing the activities which I want to create in three
>>> >          So
>>> >         > there be 12-15 activities or 4-5 very nice and
>>> >
>>> >         > for that I personally would like to create bigger
>>> >          which
>>> >         > make a big difference in the skills of studentsBut I'll plan
>>> the
>>> >         > as you say.
>>> >         > Thank you.
>>> >         >
>>> >         >
>>> >         > On Mon, Mar 25, 2019 at 9:26 AM James Cameron <[1][6]
>>> quozl at laptop.org
>>> >         > :
>>> >         >
>>> >         >     Thanks.  That's interesting.  The page is automatically
>>> generated
>>> >
>>> >         >     new pages added to the Wiki.  I hadn't thought to check
>>> there for
>>> >         new
>>> >         >     activities.
>>> >         >
>>> >         >     The problem with Math Hurdler at the moment (ff8a15d) is
>>> that it
>>> >         does
>>> >         >     not start in Sugar.  A message appears "Math Hurdler
>>> failed to
>>> >         start."
>>> >         >     Logs show this;
>>> >         >
>>> >         >     1553485563.457917 WARNING root: Activity bundle
>>> >         >     /home/guest/Activities/MathHurdler.activity does not
>>> specify a
>>> >         license
>>> >         >     Traceback (most recent call last):
>>> >         >       File "/usr/bin/sugar-activity", line 5, in <module>
>>> >         >         activityinstance.main()
>>> >         >       File
>>> >         >       "/usr/lib/python2.7/dist-packages/sugar3/activity/
>>> >         activityinstance.py",
>>> >         >       line 178, in main
>>> >         >         module = __import__(module_name)
>>> >         >     ImportError: No module named MathHurdlerActivity
>>> >         >     Exited with status 1, pid 1371 data (<open file '<fdopen>',
>>> mode
>>> >         'w'
>>> >         >     at 0x7fcb9b4c2540>,
>>> 'fa4da9b8c4c2eb36f0863d5cbadc72295a506524')
>>> >         >
>>> >         >     Cause is mismatch between exec in [2][7]activity.info
>>> and class
>>> >         name in
>>> >         >     source code.
>>> >         >
>>> >         >     I'm not sure if the activity was finished before it was
>>> added to
>>> >
>>> >         >     Wiki.
>>> >         >
>>> >         >     By the way, your mail wasn't deleted.
>>> >         >
>>> >         >     On Mon, Mar 25, 2019 at 08:40:28AM +0530, Rushabh Vasani
>>> wrote:
>>> >         >     > Hello James,
>>> >         >     > I actually found it on [3][8]
>>> https://wiki.sugarlabs.org/go/
>>> >         Activities .
>>> >         >     > And after installing pygame it was finely working for
>>> me. In
>>> >         fact the
>>> >         >     > activities that uses GTK are also working for me now
>>> and I have
>>> >         sent
>>> >         >     another
>>> >         >     > mail for that containing [Sugar-devel] in the subject
>>> so
>>> >         everyone can
>>> >         >     read that
>>> >         >     > and that's why I deleted the mail above.The problem
>>> with that
>>> >         was that I
>>> >         >     was
>>> >         >     > installing packages in my anaconda environment and my
>>> editor
>>> >         was using
>>> >         >     another
>>> >         >     > environment so I just installed the packages in that
>>> python
>>> >         environment
>>> >         >     and it
>>> >         >     > worked for me.
>>> >         >     >
>>> >         >     > But for your problem can you please tell me the error
>>> which you
>>> >         see while
>>> >         >     > running "./math-hurdler.py" .
>>> >         >     > Thank you and I am really looking forward to
>>> contribute in
>>> >         another
>>> >         >     activities.
>>> >         >     > Thank you.
>>> >         >     >
>>> >         >     > --Rushabh
>>> >         >     >
>>> >         >     > On Mon 25 Mar, 2019, 6:55 AM James Cameron <[2][4][9]
>>> >         quozl at laptop.org wrote:
>>> >         >     >
>>> >         >     >     Thanks Rushabh, this math-hurdler activity is new
>>> to me.
>>> >         How did you
>>> >         >     >     find it?
>>> >         >     >
>>> >         >     >     Perhaps Craig Cabrey is busy.  It has only been
>>> four days.
>>> >         Craig is
>>> >         >     >     not a regular contributor at Sugar Labs.  The
>>> activity may
>>> >         have been
>>> >         >     >     made by the FOSSRIT team at Rochester Institute of
>>> >         Technology
>>> >         >     >     [3][5][10]https://rit.edu/
>>> >         >     >
>>> >         >     >     I've forked the activity to [4][6][11]
>>> https://github.com/
>>> >         sugarlabs/
>>> >         >     math-hurdler
>>> >         >     >     so we can keep a copy of it.
>>> >         >     >
>>> >         >     >     The activity does need GTK.  It is mostly
>>> implemented in
>>> >         PyGame.
>>> >         >     >
>>> >         >     >     Is it working for you?  I get an error on import.
>>> >         >     >
>>> >         >     >     On Sun, Mar 24, 2019 at 11:35:39AM +0530, Rushabh
>>> Vasani
>>> >         wrote:
>>> >         >     >     > Hello everyone !
>>> >         >     >     > I am facing a problem of "No module named gi "
>>> and "No
>>> >         module named
>>> >         >     >     > sugar3.activity " when I am trying to run any
>>> activity
>>> >         using GTK.
>>> >         >     >     > I have solved an issue of an activity named
>>> math-hurdler
>>> >         and have
>>> >         >     made a
>>> >         >     >     also
>>> >         >     >     > [1]Pull Request (Which has not been responded
>>> yet Because
>>> >
>>> >         >     author of
>>> >         >     >     that
>>> >         >     >     > activity has not given the authority of that
>>> activity to
>>> >         SugarLabs
>>> >         >     and
>>> >         >     >     his
>>> >         >     >     > GitHub profile is inactive from very long time.And
>>> he is
>>> >         not
>>> >         >     answering my
>>> >         >     >     mails
>>> >         >     >     > also .) .But this activity was not using GTK so
>>> I didn't
>>> >         faced any
>>> >         >     >     problem
>>> >         >     >     > there.
>>> >         >     >     > Clarification is that I have installed GTK  and
>>> all other
>>> >         required
>>> >         >     >     dependencies
>>> >         >     >     > on my machine.
>>> >         >     >     > I am facing this problem from last 2 days if
>>> anyone can
>>> >         solve this
>>> >         >     the
>>> >         >     >     help
>>> >         >     >     > will be appreciated.
>>> >         >     >     > Thank you.
>>> >         >     >     >
>>> >         >     >     > --
>>> >         >     >     > Rushabh
>>> >         >     _______________________________________________
>>> >         >     Sugar-devel mailing list
>>> >         >     [7][12]Sugar-devel at lists.sugarlabs.org
>>> >         >     [8][13]http://lists.sugarlabs.org/listinfo/sugar-devel
>>> >         >
>>> >         > References:
>>> >         >
>>> >         > [1] mailto:[14]quozl at laptop.org
>>> >         > [2] [15]http://activity.info/
>>> >         > [3] [16]https://wiki.sugarlabs.org/go/Activities
>>> >         > [4] mailto:[17]quozl at laptop.org
>>> >         > [5] [18]https://rit.edu/
>>> >         > [6] [19]https://github.com/sugarlabs/math-hurdler
>>> >         > [7] mailto:[20]Sugar-devel at lists.sugarlabs.org
>>> >         > [8] [21]http://lists.sugarlabs.org/listinfo/sugar-devel
>>> >
>>> >         > _______________________________________________
>>> >         > Sugar-devel mailing list
>>> >         > [22]Sugar-devel at lists.sugarlabs.org
>>> >         > [23]http://lists.sugarlabs.org/listinfo/sugar-devel
>>> >
>>> >         --
>>> >         James Cameron
>>> >         [24]http://quozl.netrek.org/
>>> >         _______________________________________________
>>> >         Sugar-devel mailing list
>>> >         [25]Sugar-devel at lists.sugarlabs.org
>>> >         [26]http://lists.sugarlabs.org/listinfo/sugar-devel
>>> >
>>> > References:
>>> >
>>> > [1] mailto:kushagra1998 at gmail.com
>>> > [2] mailto:kushagra1998 at gmail.com
>>> > [3] mailto:quozl at laptop.org
>>> > [4] https://help.sugarlabs.org/en/sugar_ui.html
>>> > [5] https://help.sugarlabs.org/en/home_view.html
>>> > [6] mailto:quozl at laptop.org
>>> > [7] http://activity.info/
>>> > [8] https://wiki.sugarlabs.org/go/Activities
>>> > [9] mailto:quozl at laptop.org
>>> > [10] https://rit.edu/
>>> > [11] https://github.com/sugarlabs/
>>> > [12] mailto:Sugar-devel at lists.sugarlabs.org
>>> > [13] http://lists.sugarlabs.org/listinfo/sugar-devel
>>> > [14] mailto:quozl at laptop.org
>>> > [15] http://activity.info/
>>> > [16] https://wiki.sugarlabs.org/go/Activities
>>> > [17] mailto:quozl at laptop.org
>>> > [18] https://rit.edu/
>>> > [19] https://github.com/sugarlabs/math-hurdler
>>> > [20] mailto:Sugar-devel at lists.sugarlabs.org
>>> > [21] http://lists.sugarlabs.org/listinfo/sugar-devel
>>> > [22] mailto:Sugar-devel at lists.sugarlabs.org
>>> > [23] http://lists.sugarlabs.org/listinfo/sugar-devel
>>> > [24] http://quozl.netrek.org/
>>> > [25] mailto:Sugar-devel at lists.sugarlabs.org
>>> > [26] http://lists.sugarlabs.org/listinfo/sugar-devel
>>>
>>> > _______________________________________________
>>> > Sugar-devel mailing list
>>> > Sugar-devel at lists.sugarlabs.org
>>> > http://lists.sugarlabs.org/listinfo/sugar-devel
>>>
>>>
>>> --
>>> James Cameron
>>> http://quozl.netrek.org/
>>>
>>>
>>> ------------------------------
>>>
>>> Message: 3
>>> Date: Wed, 27 Mar 2019 16:12:15 +1100
>>> From: James Cameron <quozl at laptop.org>
>>> To: sugar-devel at lists.sugarlabs.org
>>> Subject: Re: [Sugar-devel] Regarding port to python 3 project
>>> Message-ID: <20190327051215.GP13742 at laptop.org>
>>> Content-Type: text/plain; =us-
>>>
>>> Port to Python 3 for gwebsockets was done in 2014, in commit 71e1e27.
>>> As part of releasing, someone will have to test it, fix it, and
>>> iterate.
>>>
>>> However, as gwebsockets is a dependency of Sugar, Sugar itself can be
>>> iterated over at the same time.  See the python3 branch of sugar.
>>>
>>> We don't have a regular release schedule for gwebsockets as we lost
>>> the maintainer.
>>>
>>> On Tue, Mar 26, 2019 at 09:37:03PM +0530, aniket mathur wrote:
>>> > Are gwebsockets made fully compatible with python 3 and just needs a
>>> release or
>>> > some porting work is still needed to be done before a release.
>>>
>>> > _______________________________________________
>>> > Sugar-devel mailing list
>>> > Sugar-devel at lists.sugarlabs.org
>>> > http://lists.sugarlabs.org/listinfo/sugar-devel
>>>
>>>
>>> --
>>> James Cameron
>>> http://quozl.netrek.org/
>>>
>>>
>>> ------------------------------
>>>
>>> Message: 4
>>> Date: Wed, 27 Mar 2019 16:48:47 +1100
>>> From: James Cameron <quozl at laptop.org>
>>> To: sugar-devel at lists.sugarlabs.org
>>> Subject: Re: [Sugar-devel] GSOC19 proposal
>>> Message-ID: <20190327054846.GB3223 at laptop.org>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> Copy of proposal for our records.  Because Google Docs links are not
>>> permanent; the documents can be deleted.  It has happened to us
>>> before.  ;-)
>>>
>>> --
>>> James Cameron
>>> http://quozl.netrek.org/
>>> -------------- next part --------------
>>> A non-text attachment was scrubbed...
>>> Name: Proposal.pdf
>>> Type: application/pdf
>>> Size: 69687 bytes
>>> Desc: not available
>>> URL: <
>>> http://lists.sugarlabs.org/archive/sugar-devel/attachments/20190327/9bf3fa4c/attachment.pdf
>>> >
>>>
>>> ------------------------------
>>>
>>> Subject: Digest Footer
>>>
>>> _______________________________________________
>>> Sugar-devel mailing list
>>> Sugar-devel at lists.sugarlabs.org
>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>>
>>>
>>> ------------------------------
>>>
>>> End of Sugar-devel Digest, Vol 125, Issue 61
>>> ********************************************
>>>
>> _______________________________________________
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20190327/5f5977bf/attachment-0001.html>


More information about the Sugar-devel mailing list