0.1.1 • Published 4 years ago

vue-backpropagation-exercise v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Vue Backpropagation Exercise

Build Status NPM License NPM version NPM Downloads

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

Publishing to NPM

Tagged commits to the master branch are automatically published to NPM. You can tag a commit using the npm cli:

npm version patch -m "Bump the version number"
git push origin master --follow-tags