Re: [Tutor] Tutor Digest, Vol 157, Issue 24

2017-03-10 Thread Eloka Chima via Tutor
Thank you so much. Your guidance have been helpful, the bugs have been gotten rid of after I reviewed the  code. But 3 out of 6 of the test is correct, the other 3 is incorrect. Take a look at it and tell me where I went wrong.   >> Below is my new code: class ShoppingCart(object):  def __init__(

[Tutor] Socket error in class, part the second

2017-03-10 Thread leam hall
y'all, Thanks for the explanations! Sorry for the delay in responding, it's been a rough year these past couple weeks. As noted, the fix was to put the "import socket" above the class declaration. What confuses me is that in the calling program I'm importing the class: from mysocket import mys

Re: [Tutor] Tutor Digest, Vol 157, Issue 24

2017-03-10 Thread Alan Gauld via Tutor
On 10/03/17 10:50, Eloka Chima via Tutor wrote: Please post in plain text. Your email is unreadable... And please don't reply to the digest, and if you must, then at least delete the irrelevant bits. We've all seen these messages already and some people pay by the byte. > Thank you so much. Your

Re: [Tutor] Socket error in class, part the second

2017-03-10 Thread Alan Gauld via Tutor
On 10/03/17 12:38, leam hall wrote: > As noted, the fix was to put the "import socket" above the class > declaration. What confuses me is that in the calling program I'm importing > the class: > > from mysocket import mysocket > > In mysocket.py the "import socket" is above the class declarati

[Tutor] Sklearn

2017-03-10 Thread Daniel Bosah
Can someone explain sklearns to me? I'm a novice at Python, and I would like to use machine learning in my coding. But aren't there libraries like matplotlib I can already use? Why use sklearns? ___ Tutor maillist - Tutor@python.org To unsubscribe or ch

Re: [Tutor] Sklearn

2017-03-10 Thread Alan Gauld via Tutor
On 10/03/17 23:12, Daniel Bosah wrote: > Can someone explain sklearns to me? Not me, I've never heard of it till now. > I'm a novice at Python, and I would > like to use machine learning in my coding. Why? What do you know about machine learning? What other platforms support it? > But aren't

[Tutor] Fwd: Re: Sklearn

2017-03-10 Thread Alan Gauld via Tutor
Forwarding to list... Please use ReplyAll or ReplyList when responding to the tutor list. -- > I would like to carry statistical analyses of populations . > I've been that it's the best package for that sort of thing in Python, > but I'm new to machine learning, so I'm not quite

[Tutor] Fwd: RE: Fwd: Re: Sklearn

2017-03-10 Thread Alan Gauld via Tutor
Forwarding to list... --- Statistical analysis of datasets. I want libraries that contain algorithms to check for relationships within a dataset. For example, I want to parse through a SES dataset to see any possible connections between student achievement and socioeconomic