fixed several other deprecated warnings
fixed several other deprecated warnings

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