Skip to content

Commit

Permalink
Update docs/background/basis/plot_01_1D_basis_function.md
Browse files Browse the repository at this point in the history
Co-authored-by: William F. Broderick <[email protected]>
  • Loading branch information
BalzaniEdoardo and billbrod authored Dec 12, 2024
1 parent 5fadbb5 commit 0b7dc2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/background/basis/plot_01_1D_basis_function.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ For Conv bases, `compute_features` convolves each input with `n_basis_funcs` ker
basis = nmo.basis.RaisedCosineLinearConv(n_basis_funcs=5, window_size=6)
# compute_features to perform the convolution and concatenate
out = basis.compute_features(inp)
print(f"`compute_features` output shape {out.shape}")
out.shape
```

This process is equivalent to performing the convolution separately with [`create_convolutional_predictor`](nemos.convolve.create_convolutional_predictor) and then reshaping the output.
Expand Down

0 comments on commit 0b7dc2b

Please sign in to comment.