npm.io
0.1.1 • Published 6 years ago

vue-backpropagation-exercise

Licence
MIT
Version
0.1.1
Deps
8
Size
7.3 MB
Vulns
3
Weekly
0

Vue Backpropagation Exercise

Build Status

This vue component packages an interactive web based exercise about visually retracing the backpropagation steps performed when training neural nets. See a live demo.

npm install --save vue-backpropagation-exercise

Screenshot

Configuration

Add the component to your Vue project (this assumes typescript is used):

import VueBackpropagationExercise, {
  BackpropGraph
} from "vue-backpropagation-exercise";

@Component({
  components: {
    VueBackpropagationExercise
  }
})
export default class App extends Vue {}

Use props to configure the component

<vue-backpropagation-exercise
    :data="netTree"
    :func="netFunc"
    :debug="true"
    :submissionValidator="handleSubmit"
    editable="w_1"
    lang="en"
/>

For an example configuration, see src/App.vue.

Development
  • To set up:

    npm install
  • Compiles and hot-reloads for development:

    npm run serve
  • Compiles and minifies for production:

    npm run build
  • Run your unit tests:

    npm run test:unit
  • Lints and fixes files

    npm run lint

Keywords