Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

'DeprecationWarining' when using list comprehension

 `[sigmoid(x) for x in input_range close-square-bracket]`

gives warning:

DeprecationWarning: Substitution using function-call syntax and unnamed arguments is deprecated and will be removed from a future release of Sage; you can use named arguments instead, like EXPR(x=..., y=...)
    See _blah_ trac.sagemath.org/5930 for details.

Am I really doing something wrong here?

List comprehension syntax is prefered idiom in Python AFAIK

'DeprecationWarining' when using list comprehension

`[sigmoid(x) [sigmoid(x) for x in input_range close-square-bracket]` input_range]

gives warning:

DeprecationWarning: Substitution using function-call syntax and unnamed arguments is deprecated and will be removed from a future release of Sage; you can use named arguments instead, like EXPR(x=..., y=...)
    See _blah_ trac.sagemath.org/5930 for details.

Am I really doing something wrong here?

List comprehension syntax is prefered idiom in Python AFAIK

'DeprecationWarining' when using list comprehension

input_range = srange(-3,3,.02) [sigmoid(x) for x in input_range]

gives warning:

DeprecationWarning: Substitution using function-call syntax and unnamed arguments is deprecated and will be removed from a future release of Sage; you can use named arguments instead, like EXPR(x=..., y=...)
    See _blah_ trac.sagemath.org/5930 for details.

Am I really doing something wrong here?

List comprehension syntax is prefered idiom in Python AFAIK

'DeprecationWarining' when using list comprehension

input_range = srange(-3,3,.02) [sigmoid(x) for x in input_range]

gives warning:

DeprecationWarning: Substitution using function-call syntax and unnamed arguments is deprecated and will be removed from a future release of Sage; you can use named arguments instead, like EXPR(x=..., y=...)
    See _blah_ trac.sagemath.org/5930 for details.

Am I really doing something wrong here?

List comprehension syntax is prefered idiom in Python AFAIK

'DeprecationWarining' when using list comprehension

input_range = srange(-3,3,.02) [sigmoid(x) for x in input_range]

gives warning:

DeprecationWarning: Substitution using function-call syntax and unnamed arguments is deprecated and will be removed from a future release of Sage; you can use named arguments instead, like EXPR(x=..., y=...)
    See _blah_ trac.sagemath.org/5930 for details.

Am I really doing something wrong here?

List comprehension syntax is prefered idiom in Python AFAIK

'DeprecationWarining' when using list comprehension

input_range = srange(-3,3,.02) srange(-3,3,.02)

[sigmoid(x) for x in input_range]

gives warning:

DeprecationWarning: Substitution using function-call syntax and unnamed arguments is deprecated and will be removed from a future release of Sage; you can use named arguments instead, like EXPR(x=..., y=...)
    See _blah_ trac.sagemath.org/5930 for details.

Am I really doing something wrong here?

List comprehension syntax is prefered idiom in Python AFAIK

click to hide/show revision 7
None

'DeprecationWarining' when using list comprehension

input_range = srange(-3,3,.02)

[sigmoid(x) for x in input_range]

gives warning:

DeprecationWarning: Substitution using function-call syntax and unnamed arguments is deprecated and will be removed from a future release of Sage; you can use named arguments instead, like EXPR(x=..., y=...)
    See _blah_ trac.sagemath.org/5930 for details.

Am I really doing something wrong here?

List comprehension syntax is prefered idiom in Python AFAIK