Dendra Dendra Dendra
/

Getting started

  • Installation
  • CUDA deployment
  • Upgrading Dendra
  • Units used in Dendra

Tutorials

  • Basics
    • 00. Dendra Overview
    • 01a. Extracellular stimulation and recording
    • 01b. Precomputed extracellular potentials
    • 01c. Multicontact extracellular stimulation and recording
    • 01d. Thresholding
    • 02. Branched morphologies
    • 02a. Native section morphologies
    • 03. Networks
    • 04. Optimization by gradient descent
  • Guides
    • Run and record simulations
      • Model initialization
      • Run models with explicit state
      • Stimulation, input tapes and randomness
      • Recording and online analysis
      • Initialize, continue and save simulations
    • Build models
      • Model parameterization
      • Connected networks
      • Synapse banks and slots
      • Mechanisms, Ions, and Materials
      • Writing your own synapse
      • Custom models and explicit functional execution
    • Train models
      • Train models and select parameters
      • Training with differentiable macroscopic descriptors
      • Training event presence with voltage margins (experimental)
      • Validating hard transition scans (experimental)
    • Performance and diagnostics
      • Batching and devices
      • Diagnose model and performance problems

Miscellaneous

  • Miscellaneous
    • M0. Efficiency considerations
    • M1. Network performance patterns

Resources

  • Mechanisms
  • The Slice contract
  • Testing and code coverage
  • API reference
    • Models and connectivity
      • Populations and model construction
      • Networks, connections and event sources
      • Slices and synapse slots
      • Morphology and compartment geometry
      • Numerical integrators
    • Functional execution and training
      • Functional execution
      • Functional plans and tensor packets
      • Parameters and random distributions
      • Optimizer gradient utilities
    • Mechanisms and stimulation
      • Mechanisms, state equations and materials
      • Built-in mechanisms
      • Stimulation and waveforms
      • Extracellular fields
    • Recording and analysis
      • Callbacks and recording
      • HDF5 recordings
      • Model measurements and descriptors
      • Activation threshold searches
    • Execution settings and utilities
      • One-step execution
      • Context and execution settings
      • Environment diagnostics
      • Mathematical and physical constants
      • Unit conversion factors
      • Interpolation and utilities
  • License
  1. Dendra /
  2. Guides /
  3. Train models

Train models#

Select parameters to optimize and fit a model with PyTorch. Use differentiable measurements when the target is a feature such as spike width or activation threshold. The experimental guides cover training with spike events and validating scans for abrupt transitions.

  • Train models and select parameters
  • Training with differentiable macroscopic descriptors
  • Training event presence with voltage margins (experimental)
  • Validating hard transition scans (experimental)
Previous
Custom models and explicit functional execution
Next
Train models and select parameters

2026, WMG Lab (Duke University)

Made with Sphinx and Shibuya theme.