Giter VIP home page Giter VIP logo

Comments (4)

rosecers avatar rosecers commented on June 12, 2024

Personally, I don't think examples should go in kernel-tutorials. KT should be purely pedagogic and serve a different purpose than use examples. I like the idea of leaving the outputs of the examples, but more-so making very "light" examples that contain 1-2 use cases. For example, the ones I have for feature selection use the sklearn data, so there's no loading of dataset, and plot very little. Thoughts?

from scikit-matter.

ceriottm avatar ceriottm commented on June 12, 2024

from scikit-matter.

Luthaf avatar Luthaf commented on June 12, 2024

Making a few notes after yesterday's meeting, we can have two kind of examples:

The first kind is inline "usage" examples, that live inside docstrings, and are tested as part of doctests.

The second kind is more advanced end-to-end or "workflow" examples, that can be either separate files with comments, included in sphinx documentation using literalinclude; or written inside sphinx rst sources. The advantages of the first solution is that we can add such examples to tests to ensure they don't bitrot and fall behind API changes. Such examples files could even be ran as part of documentation generation to create plots & other figures.

from scikit-matter.

Luthaf avatar Luthaf commented on June 12, 2024

Superseded by #90

from scikit-matter.

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.