Re: Asking for help in forward and backward propagiation in neural network.

2020-01-16 Thread Tamás Tóthpál
attached picture: https://drive.google.com/open?id=1RnUcEhP8BEoIlsrstV3q40uUd0IuV-6v -- https://mail.python.org/mailman/listinfo/python-list

Re: Asking for help in forward and backward propagiation in neural network.

2020-01-16 Thread Tamás Tóthpál
2020. január 16., csütörtök 18:25:16 UTC+1 időpontban Tamás Tóthpál a következőt írta: > I have been doing an online course in data science, especially in neural > networks. But I got stuck in the programming assignment: > > > Could anyone hep me out what the code will look like in this case?

Re: Asking for feedback: Mirror GitHub issues with a static site generator

2019-10-19 Thread Chris Angelico
On Sat, Oct 19, 2019 at 11:31 PM Vitaly Potyarkin wrote: > > On Fri, Oct 18, 2019 at 9:31 PM Chris Angelico wrote: > > You mention a persistent Storage, merely in passing. I want to see > > more about that. If that storage format is a nice easy thing to work > > with (eg a set of JSON files), and

Re: Asking for feedback: Mirror GitHub issues with a static site generator

2019-10-19 Thread Vitaly Potyarkin
On Fri, Oct 18, 2019 at 9:31 PM Chris Angelico wrote: > You mention a persistent Storage, merely in passing. I want to see > more about that. If that storage format is a nice easy thing to work > with (eg a set of JSON files), and is a documented and > forward/backward-compatible format, it could

Re: Asking for feedback: Mirror GitHub issues with a static site generator

2019-10-18 Thread Chris Angelico
On Sat, Oct 19, 2019 at 2:25 AM Vitaly Potyarkin wrote: > It's a backup mechanism for GitHub issues and pull requests that creates > human-readable issue archives in HTML - ready to be served as a static web > site. The project is written in Python and works by extending Pelican > static site gene

Re: Asking help about Python

2017-10-04 Thread Chris Angelico
On Thu, Oct 5, 2017 at 1:48 PM, wrote: > Hi Everyone, > > I now do need to re-compile the Python 2.7 with VisualStudio 2012. > Can anyone here kindly give me any help? I appreciate any kind of help: > hints, learning sources, or ideally show me some instructions :(. > > Thank you. This is not g

Re: asking

2012-08-22 Thread Steven D'Aprano
On Wed, 22 Aug 2012 02:42:16 -0700, alex23 wrote: > On 08/22/2012 03:17 AM, mingqiang hu wrote: >> I mean any of "a","b","c" in string "adfbdfc"  makes the statement >> true,can I not use a function? > > any(map(string.__contains__, substrings)) Nice. However, be aware that in Python 2, map() i

Re: asking

2012-08-22 Thread Tim Chase
On 08/22/12 04:42, alex23 wrote: > On 08/22/2012 03:17 AM, mingqiang hu wrote: >> I mean any of "a","b","c" in string "adfbdfc" makes the statement true,can >> I not use a function? > > any(map(string.__contains__, substrings)) As map()/reduce() vs. list-comprehension discussions are going on in

Re: asking

2012-08-22 Thread alex23
On 08/22/2012 03:17 AM, mingqiang hu wrote: > I mean any of "a","b","c" in string "adfbdfc"  makes the statement true,can > I not use a function? any(map(string.__contains__, substrings)) -- http://mail.python.org/mailman/listinfo/python-list

Re: asking

2012-08-22 Thread Dave Angel
On 08/22/2012 03:17 AM, mingqiang hu wrote: > I mean any of "a","b","c" in string "adfbdfc" makes the statement true,can > I not use a function? suppose I got lots of substring let's say > s1="a",s2="b",s3="c" ...,not wrap them as a tuple or a list , just make the > statement as simple as possibl

Re: asking

2012-08-22 Thread mingqiang hu
I mean any of "a","b","c" in string "adfbdfc" makes the statement true,can I not use a function? suppose I got lots of substring let's say s1="a",s2="b",s3="c" ...,not wrap them as a tuple or a list , just make the statement as simple as possible to check if any of the value is the substring of S

Re: asking

2012-08-21 Thread alex23
On 22/08/12 03:57, mingqiang hu wrote: > can I use just one statement to figure out if substring “a” ,"b" "c" > are in string "adfbdfc" ? not use the statement like > ("a" in "adfbdfc") or ( "b" in "adfbdfc") or ("c" in "adfbdfc" ) > ,because if I have lots of substring, this could sucks subs = ['

Re: asking

2012-08-21 Thread Terry Reedy
On 8/21/2012 10:57 PM, mingqiang hu wrote: can I use just one statement to figure out if substring “a” ,"b" "c" are in string "adfbdfc" ? not use the statement like ("a" in "adfbdfc") or ( "b" in "adfbdfc") or ("c" in "adfbdfc" ) ,because if I have lots of substring, this could sucks >>>

Re: asking

2012-08-21 Thread Dave Angel
On 08/22/2012 12:17 AM, Ian Foote wrote: > Oops, hopefully this with indent correctly: > > def all_in(string, substrings): > for substring in substrings: > if substring not in string: > return False > return True The POP's question was ambiguous (did he want to match an

Re: asking

2012-08-21 Thread Ian Foote
Oops, hopefully this with indent correctly: def all_in(string, substrings): for substring in substrings: if substring not in string: return False return True -- http://mail.python.org/mailman/listinfo/python-list

Re: asking

2012-08-21 Thread Ian Foote
On 22/08/12 03:57, mingqiang hu wrote: can I use just one statement to figure out if substring “a” ,"b" "c" are in string "adfbdfc" ? not use the statement like ("a" in "adfbdfc") or ( "b" in "adfbdfc") or ("c" in "adfbdfc" ) ,because if I have lots of substring, this could sucks This might

Re: Asking for prophecy

2009-03-06 Thread Terry Reedy
Stefan Spoettl wrote: In the pass it was always a good idea to use the newest Python verison for starting the development of a new application. First one could benefit from the additional features and second one could be sure that the community would have been passing during development. Nowa

Re: Asking for prophecy

2009-03-06 Thread Mensanator
On Mar 6, 1:23 pm, "andrew cooke" wrote: > 3 and 2.6 are compatible.  so develop on 3, to make sure you don't use old > junk, and then switch to 2.6 if you need to.  there are a few wrinkles in > doing so, but it is not a big problem. > > 3.0 is a nicer language.  it's cleaner and more consistent.

Re: Asking for prophecy

2009-03-06 Thread andrew cooke
3 and 2.6 are compatible. so develop on 3, to make sure you don't use old junk, and then switch to 2.6 if you need to. there are a few wrinkles in doing so, but it is not a big problem. 3.0 is a nicer language. it's cleaner and more consistent. i think important libraries will move there. no

Re: Asking all python programmers.

2007-08-30 Thread Hyuga
On Aug 29, 11:09 am, "sjpiii" <[EMAIL PROTECTED]> wrote: > You mean use correct spelling and grammar? But what about all the time > we've spent creating cutesy little non-words like "l8er?" > > Actually, I'm less tolerant of those than of normal spelling and grammar > errors because of the number

Re: Asking all python programmers.

2007-08-28 Thread J Sisson
On 8/28/07, Lamonte Harris <[EMAIL PROTECTED]> wrote: > > From a python starter, I don't like the word noob because it sounds very > unprofessional. > Touche`...haha I second the motion for "Dive Into Python." It's an excellent book, and you really can't beat the price (free online as Shawn has

Re: Asking all python programmers.

2007-08-28 Thread Lamonte Harris
I completely understand, I've sent this email when I was tired sorry for the misunderstanding, yes I completely understand what you mean how professionals won't take me serious in situations like this. How about I readdress my question for you? Hello everyone on python mailing list. I would like

Re: Asking all python programmers.

2007-08-28 Thread Shawn Milochik
On 8/27/07, Lamonte Harris <[EMAIL PROTECTED]> wrote: > Okay, I know you've guys told me millions of times to read the manual I've > read a lot of it. What do you recommend studying the most? Python is my > goal for the next year in the half. :) > > -- > http://mail.python.org/mailman/listinfo/py

Re: Asking the user a question and giving him a default answer he can edit

2005-07-31 Thread Michael Hudson
"levander" <[EMAIL PROTECTED]> writes: > Basically, I've got a bunch of questions to ask a user, the vast > majority of which, the answer will only vary by the last few > characters. What I'd like to do is every time the user is asked a > question, give him the default answer as just whatever he a