📑 Table of Contents

In computer science, programming by example (PbE), also termed programming by demonstration or more generally as demonstrational programming, is an end-user development technique for teaching a computer new behavior by demonstrating actions on concrete examples.[1] The system records user actions and infers a generalized program that can be used on new examples.

PbE is intended to be easier to do than traditional computer programming, which generally requires learning and using a programming language. Many PbE systems have been developed as research prototypes, but few have found widespread real-world application. More recently, PbE has proved to be a useful paradigm for creating scientific work-flows. PbE is used in two independent clients for the BioMOBY protocol: Seahawk and Gbrowse moby.

Also the programming by demonstration (PbD) term has been mostly adopted by robotics researchers for teaching new behaviors to the robot through a physical demonstration of the task. The usual distinction in the literature between these terms is that in PbE the user gives a prototypical product of the computer execution, such as a row in the desired results of a query; while in PbD the user performs a sequence of actions that the computer must repeat, generalizing it to be used in different data sets. For final users, to automate a workflow in a complex tool (e.g. Photoshop), the most simple case of PbD is the macro recorder.

See also

edit

References

edit
edit


📚 Artikel Terkait di Wikipedia

Dynamic programming

Dynamic programming (DP) is both a mathematical optimization method and an algorithmic paradigm. The method was developed by Richard Bellman in the 1950s

Example-centric programming

Example-centric programming is an approach to software development that helps the user to create software by locating and modifying small examples into

C (programming language)

programming languages, with C compilers available for practically all modern computer architectures and operating systems. The book The C Programming

Brainfuck

Brainfuck is an esoteric programming language created in 1993 by Swiss student Urban Müller [it; cs]. Designed to be extremely minimalistic, the language

Specification by example

Specification by Example was coined by Martin Fowler in 2004. Specification by Example is an evolution of the Customer Test practice of Extreme Programming proposed

Functional programming

functional programming is a programming paradigm where programs are constructed by applying and composing functions. It is a declarative programming paradigm

C++

general-purpose programming language created by Danish computer scientist Bjarne Stroustrup. First released in 1985 as an extension of the C programming language

F Sharp (programming language)

strongly typed, multi-paradigm programming language that encompasses functional, imperative, and object-oriented programming methods. It is most often used