better readme #3
Annotations
1 warning
../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/literate/tutorials/overlapcorrectedLDA.md:45-50
```@example overlapcorrectedLDA
using MLJ, MultivariateStats, MLJMultivariateStatsInterface
LDA = @load LDA pkg=MultivariateStats
uf_lda = fit(UnfoldDecodingModel,des,evt,dat,LDA(),Any=>:condition;nfolds=2) # 2 folds to speed up computation
plot_erp(coeftable(uf_lda))
```
value =
TaskFailedException
nested task error: MethodError: no method matching (::Colon)(::Int64, ::Tuple{Int64, Int64})
Closest candidates are:
(::Colon)(::A, ::Any, !Matched::C) where {A<:Real, C<:Unitful.Quantity}
@ Unitful ~/.julia/packages/Unitful/eFar5/src/range.jl:86
(::Colon)(::T, ::Any, !Matched::T) where T<:Real
@ Base range.jl:45
(::Colon)(::A, ::Any, !Matched::C) where {A<:Real, C<:Real}
@ Base range.jl:10
...
Stacktrace:
[1] macro expansion
@ ~/work/UnfoldDecode.jl/UnfoldDecode.jl/src/fit.jl:43 [inlined]
[2] (::UnfoldDecode.var"#7#threadsfor_fun#5"{UnfoldDecode.var"#7#threadsfor_fun#4#6"{Symbol, NamedTuple{(), Tuple{}}, Dict{DataType, Tuple{StatsModels.FormulaTerm{StatsModels.ConstantTerm{Int64}, Tuple{StatsModels.ConstantTerm{Int64}, StatsModels.Term, StatsModels.Term}}, Unfold.FIRBasis}}, DataFrames.DataFrame, Matrix{Float64}, MLJMultivariateStatsInterface.LDA, Pair{DataType, Symbol}, Vector{UnfoldDecode.DecodingFit}, Vector{Tuple{Vector{Int64}, UnitRange{Int64}}}, UnitRange{Int64}}})(tid::Int64; onethread::Bool)
@ UnfoldDecode ./threadingconstructs.jl:194
[3] #7#threadsfor_fun
@ ./threadingconstructs.jl:161 [inlined]
[4] (::Base.Threads.var"#1#2"{UnfoldDecode.var"#7#threadsfor_fun#5"{UnfoldDecode.var"#7#threadsfor_fun#4#6"{Symbol, NamedTuple{(), Tuple{}}, Dict{DataType, Tuple{StatsModels.FormulaTerm{StatsModels.ConstantTerm{Int64}, Tuple{StatsModels.ConstantTerm{Int64}, StatsModels.Term, StatsModels.Term}}, Unfold.FIRBasis}}, DataFrames.DataFrame, Matrix{Float64}, MLJMultivariateStatsInterface.LDA, Pair{DataType, Symbol}, Vector{UnfoldDecode.DecodingFit}, Vector{Tuple{Vector{Int64}, UnitRange{Int64}}}, UnitRange{Int64}}}, Int64})()
@ Base.Threads ./threadingconstructs.jl:139
|
The logs for this run have expired and are no longer available.
Loading