Skip to content

Commit

Permalink
Moved recordingsplittrain to another file
Browse files Browse the repository at this point in the history
  • Loading branch information
TenzinCHW committed May 3, 2024
1 parent 4c810ff commit 32187cc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/blanche_expt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ function trainondata(data, maxiter, winsz, batchsize, arraycast)
end


function recordingsplittrain(data, num_split::Int)
split_sz = size(data)[1] / num_split
[data[ceilint(i*split_sz)+1:ceilint((i+1)*split_sz), :] for i in 0:num_split-1]
end
#function recordingsplittrain(data, num_split::Int)
# split_sz = size(data)[1] / num_split
# [data[ceilint(i*split_sz)+1:ceilint((i+1)*split_sz), :] for i in 0:num_split-1]
#end


function convergedynamics(model, data)
Expand Down

0 comments on commit 32187cc

Please sign in to comment.