Skip to content

Commit

Permalink
update project to include docstring extesnions; and updated compat as…
Browse files Browse the repository at this point in the history
… needed; added some docstrings within neural directiort
  • Loading branch information
briandepasquale committed Aug 29, 2024
1 parent 9d9bc53 commit 866511d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
12 changes: 7 additions & 5 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ DSP = "717857b8-e6f2-59f4-9121-6e50c889abd2"
Discretizers = "6e83dbb3-75ca-525b-8ae2-3751f0dd50b4"
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
Flatten = "4c728ea3-d9ee-5c9a-9642-b6f7d7dc04fa"
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
HypothesisTests = "09f84164-cd44-5f33-b23f-e6b0d136a0d5"
Expand All @@ -30,20 +31,21 @@ StatsFuns = "4c63d2b9-4356-54db-8cca-17b64c39e42c"
TaylorSeries = "6aa5eb33-94cf-58f4-a9d0-e4b2c4fc25ea"

[compat]
BasisFunctionExpansions = "1.1"
BasisFunctionExpansions = "1.1.1"
DSP = "0.7.9"
Discretizers = "3.2.3"
Distributed = "1"
Distributions = "0.25.109"
Distributions = "0.25.111"
DocStringExtensions = "0.9.3"
Flatten = "0.4.3"
ForwardDiff = "0.10.36"
HypothesisTests = "0.11.0"
ImageFiltering = "0.7.8"
LineSearches = "7.2.0"
LineSearches = "7.3.0"
LinearAlgebra = "1"
MAT = "0.10.7"
NBInclude = "2.3.1"
Missings = "1.2.0"
NBInclude = "2.3.1"
Optim = "1.9.4"
Parameters = "0.12.3"
Polynomials = "4.0.11"
Expand All @@ -53,5 +55,5 @@ Random = "1"
SpecialFunctions = "2.4.0"
StatsBase = "0.33.21"
StatsFuns = "1.3.1"
TaylorSeries = "0.18.0"
TaylorSeries = "0.18.1"
julia = "1.10"
1 change: 1 addition & 0 deletions src/PulseInputDDM.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and/or neural data from pulse-based evidence accumlation tasks.

module PulseInputDDM

using DocStringExtensions
using StatsBase, Distributions, LineSearches
using ForwardDiff, Distributed, LinearAlgebra
using Optim, DSP, SpecialFunctions, MAT, Random
Expand Down
7 changes: 3 additions & 4 deletions src/neural_model/neural_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,18 @@ end


"""
fit(model, options)
Optimize model parameters for a `neuralDDM`.
$(SIGNATURES)
Arguments:
- `model`: an instance of a `neuralDDM`.
- `options`: some details related to the optimzation, such as which parameters were fit (`fit`), and the upper (`ub`) and lower (`lb`) bounds of those parameters.
- `data`: an instance of a `neuralDDM`.
Returns:
- `model`: an instance of a `neuralDDM`.
- `output`: results from [`Optim.optimize`](@ref).
"""
function fit(model::neuralDDM, data;
Expand Down
1 change: 1 addition & 0 deletions src/neural_model/types.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""
$(TYPEDEF)
"""
@with_kw struct neuralinputs{T1,T2}
clicks::T1
Expand Down

0 comments on commit 866511d

Please sign in to comment.