Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinuzziFrancesco committed Mar 3, 2020
1 parent 833c32a commit 4783915
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ReservoirComputing"
uuid = "7c2d2b1e-3dd4-11ea-355a-8f6a8116e294"
authors = ["Francesco Martinuzzi"]
version = "0.2.1"
version = "0.3.0"

[deps]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ esn = ESN(approx_res_size,
sigma, #default = 0.1
alpha, #default = 1.0
beta, #default = 0.0
nonlin_alg #default = "None")
nonlin_alg #default = "None"
)
```
The echo state network can now be trained and tested:
```julia
Expand Down
6 changes: 3 additions & 3 deletions src/echostatenetwork.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ struct ESN{T<:AbstractFloat}
res_size::Integer
in_size::Integer
out_size::Integer
train_data::Matrix{T}
train_data::Array{T}
degree::Integer
sigma::T
alpha::T
Expand All @@ -15,7 +15,7 @@ struct ESN{T<:AbstractFloat}
states::Matrix{T}

function ESN(approx_res_size::Integer,
train_data::Matrix{T},
train_data::Array{T},
degree::Integer,
radius::T,
activation::Function = tanh,
Expand Down Expand Up @@ -65,7 +65,7 @@ end

function states_matrix(W::Matrix{Float64},
W_in::Matrix{Float64},
train_data::Matrix{Float64},
train_data::Array{Float64},
alpha::Float64,
activation::Function)

Expand Down

2 comments on commit 4783915

@MartinuzziFrancesco
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/10479

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.0 -m "<description of version>" 4783915f479980eed54d081c9b183b675719a1bc
git push origin v0.3.0

Please sign in to comment.