Giter Club home page Giter Club logo

Comments (4)

yarikoptic avatar yarikoptic commented on July 22, 2024

Look into that example, it doesn't even import duecredit. That is why it would not know about duecredit even if you set env variable. That is the beauty of the -m due credit approach :-)

On August 12, 2015 7:41:47 PM EDT, Matteo Visconti di Oleggio Castello [email protected] wrote:

Is this just replaced by python -m duecredit?

(duecredit)contematto@talete ~/github/duecredit/examples (master*) $
DUECREDIT_ENABLE=True python example_scipy.py
I: Simulating 4 blobs
I: Done clustering 4 blobs

(duecredit)contematto@talete ~/github/duecredit/examples (master*) $
python -m duecredit example_scipy.py
I: Simulating 4 blobs
I: Done clustering 4 blobs
DueCredit Report:
- scipy (v 0.14) [1]
 - scipy.cluster.hierarchy:linkage (v 0.14) [2]
- sklearn (v 0.17.dev0) [3]

2 packages cited
0 modules cited
1 functions cited

References
----------

[1] Jones, E. et al., 2001. SciPy: Open source scientific tools for
Python.
[2] Sibson, R., 1973. SLINK: an optimally efficient algorithm for the
single-link cluster method. The Computer Journal, 16(1), pp.30–34.
[3] Pedregosa, F. et al., 2011. Scikit-learn: Machine learning in
Python. The Journal of Machine Learning Research, 12, pp.2825–2830.

Reply to this email directly or view it on GitHub:
#45

Sent from a phone which beats iPhone.

from duecredit.

mvdoc avatar mvdoc commented on July 22, 2024

ha! you changed that example. ok :-)

On Wed, Aug 12, 2015 at 8:38 PM, Yaroslav Halchenko <
[email protected]> wrote:

Look into that example, it doesn't even import duecredit. That is why it
would not know about duecredit even if you set env variable. That is the
beauty of the -m due credit approach :-)

On August 12, 2015 7:41:47 PM EDT, Matteo Visconti di Oleggio Castello <
[email protected]> wrote:

Is this just replaced by python -m duecredit?

(duecredit)contematto@talete ~/github/duecredit/examples (master*) $
DUECREDIT_ENABLE=True python example_scipy.py
I: Simulating 4 blobs
I: Done clustering 4 blobs

(duecredit)contematto@talete ~/github/duecredit/examples (master*) $
python -m duecredit example_scipy.py
I: Simulating 4 blobs
I: Done clustering 4 blobs
DueCredit Report:
- scipy (v 0.14) [1]
- scipy.cluster.hierarchy:linkage (v 0.14) [2]
- sklearn (v 0.17.dev0) [3]

2 packages cited
0 modules cited
1 functions cited

References
----------

[1] Jones, E. et al., 2001. SciPy: Open source scientific tools for
Python.
[2] Sibson, R., 1973. SLINK: an optimally efficient algorithm for the
single-link cluster method. The Computer Journal, 16(1), pp.30–34.
[3] Pedregosa, F. et al., 2011. Scikit-learn: Machine learning in
Python. The Journal of Machine Learning Research, 12, pp.2825–2830.

Reply to this email directly or view it on GitHub:
#45

Sent from a phone which beats iPhone.


Reply to this email directly or view it on GitHub
#45 (comment).

from duecredit.

yarikoptic avatar yarikoptic commented on July 22, 2024

from duecredit.

mvdoc avatar mvdoc commented on July 22, 2024

yes sir! :-)

from duecredit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.