Skip to content

Commit

Permalink
Update other/iris/iris.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Carlo Lucibello <[email protected]>
  • Loading branch information
luboshanus and CarloLucibello authored Nov 25, 2022
1 parent d6d1121 commit 06249fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions other/iris/iris.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ end

function get_processed_data(args)

iris = Iris()
labels = iris.targets |> Matrix |> vec
features = iris.features |> Matrix |> permutedims
iris = Iris(as_df=false)
labels = iris.targets |> vec
features = iris.features

## Subract mean, divide by std dev for normed mean of 0 and std dev of 1.
normed_features = normalise(features, dims=2)
Expand Down

0 comments on commit 06249fd

Please sign in to comment.