Please, consider an abstract type for normalizer (standardizer), so additional implementations ( MinMax, MAD, etc.) would be properly subtyped.
abstract Standardize
type ZScore <: Standardize
dim::Int
mean::Vector{Float64}
scale::Vector{Float64}
end
type MinMax{T} <: Standardize
dim::Int
min::T
max::T
end
Please, consider an abstract type for normalizer (standardizer), so additional implementations ( MinMax, MAD, etc.) would be properly subtyped.