Hi..
I am using python 2.7 and scikit-learn for machine learning. And
OS is Windows 7. Wanna know how to import our own data sets in
scikit-learn?
Regards,
G
I saw the code;
I see too many formatting errors:
Line No 24 starts a function definition and the
next few lines are indented by two spaces, but
Line 29 is a print statement that is in line with
the def; IOW it completes the function. It is
very likely wrong.
You are defining functions within fun
Maybe tomorrow I can just email you the code
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On 02/01/13 13:02, Jack Little wrote:
I do not understand my error (it says something about an out-of-function return
on line 179)
You cannot use "return" unless it is inside a function.
# This is okay.
def test():
print "test"
return "testing complete" # indented, therefore inside t
Jack Little wrote:
I do not understand my error (it says something about an
out-of-function return on line 179)
my code is at the link
http://www.mediafire.com/download.php?4ga0weu4ifc6s1u
___
Tutor maillist - Tutor@python.org
To unsubscribe or change
Brandon,
Please trim your response to only the parts of the email that are actually
relevant. As given, you have duplicated SIX emails which we have already
seen and don't need to see again, at least not in full, multiple hundreds
of lines of text.
Also, please ensure that you use a sensible, me
On 01/01/2013 08:27 PM, Brandon Merritt wrote:
> Sorry, I should have been more clear in what I was trying to accomplish. I
> am trying to build the latin square as follows:
>
> 1234567
> 2345671
> 3456712
> 4567123
> 5671234
> 6712345
> 7123456
>
> So, the "scaleorder" is the n*n scale of the squa
I do not understand my error (it says something about an out-of-function return
on line 179)
my code is at the link
http://www.mediafire.com/download.php?4ga0weu4ifc6s1u___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription optio
Sorry, I should have been more clear in what I was trying to accomplish. I
am trying to build the latin square as follows:
1234567
2345671
3456712
4567123
5671234
6712345
7123456
So, the "scaleorder" is the n*n scale of the square - in this case, a 7x7.
The key is that there should be no duplicat