Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.

Commit

Permalink
Minimizeable --> Minimizable
Browse files Browse the repository at this point in the history
  • Loading branch information
tbreloff committed Sep 8, 2016
1 parent edffc2b commit 8df011a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/LearnBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Baseclass for any prediction model that can be minimized.
This means that an object of a subclass contains all the
information needed to compute its own current loss.
"""
abstract Minimizeable <: Transformation
abstract Minimizable <: Transformation

function getobs end
function getobs! end
Expand Down Expand Up @@ -216,7 +216,7 @@ export
Transformation,
StochasticTransformation,

Minimizeable,
Minimizable,

AbstractSet,
IntervalSet,
Expand Down
3 changes: 1 addition & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ using Base.Test
@test MarginLoss <: SupervisedLoss
@test DistanceLoss <: SupervisedLoss

@test Minimizeable <: Any
@test Minimizable <: Any
@test Transformation <: Any
@test StochasticTransformation <: Transformation

Expand Down Expand Up @@ -177,4 +177,3 @@ let s = [IntervalSet(0,1), DiscreteSet([0,1])]
@test typeof(rand(s, 2)) == Vector{Vector{Float64}}
# @show s LearnBase.randtype(s)
end

0 comments on commit 8df011a

Please sign in to comment.