updated to fix deprecation warnings
updated to fix deprecation warnings

JuliaPackageMirrors/MachineLearning.jl,JuliaPackageMirrors/MachineLearning.jl,benhamner/MachineLearning.jl,benhamner/MachineLearning.jl