Skip to content

Commit

Permalink
added campat
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinuzziFrancesco committed Jan 11, 2025
1 parent 43e8c9a commit 44ee7ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
5 changes: 3 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ version = "0.10.6"
[deps]
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
CellularAutomata = "878138dc-5b27-11ea-1a71-cb95d38d6b29"
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
NNlib = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Expand All @@ -25,6 +26,7 @@ RCMLJLinearModelsExt = "MLJLinearModels"
Adapt = "4.1.1"
Aqua = "0.8"
CellularAutomata = "0.0.2"
Compat = "4.16.0"
DifferentialEquations = "7.15.0"
LIBSVM = "0.8"
LinearAlgebra = "1.10"
Expand All @@ -50,5 +52,4 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Aqua", "Test", "SafeTestsets", "Random", "DifferentialEquations",
"MLJLinearModels", "LIBSVM", "Statistics"]
test = ["Aqua", "Test", "SafeTestsets", "Random", "DifferentialEquations", "MLJLinearModels", "LIBSVM", "Statistics"]
9 changes: 3 additions & 6 deletions src/ReservoirComputing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module ReservoirComputing

using Adapt: adapt
using CellularAutomata: CellularAutomaton
using Compat: @compat
using LinearAlgebra: eigvals, mul!, I
using NNlib: fast_act, sigmoid
using Random: Random, AbstractRNG
Expand All @@ -12,6 +13,8 @@ using WeightInitializers: DeviceAgnostic, PartialFunction, Utils

abstract type AbstractReservoirComputer end

@compat(public, (create_states))

#general
include("states.jl")
include("predict.jl")
Expand All @@ -31,12 +34,6 @@ include("esn/esn_predict.jl")
include("reca/reca.jl")
include("reca/reca_input_encodings.jl")

# Julia < 1.9 support
if !isdefined(Base, :get_extension)
include("../ext/RCMLJLinearModelsExt.jl")
include("../ext/RCLIBSVMExt.jl")
end

export NLADefault, NLAT1, NLAT2, NLAT3
export StandardStates, ExtendedStates, PaddedStates, PaddedExtendedStates
export StandardRidge
Expand Down

0 comments on commit 44ee7ca

Please sign in to comment.