lib/eps.rb in eps-0.1.1 vs lib/eps.rb in eps-0.2.0
- old
+ new
@@ -1,15 +1,20 @@
# dependencies
require "matrix"
require "json"
# modules
-require "eps/base_regressor"
-require "eps/metrics"
-require "eps/regressor"
+require "eps/base"
+require "eps/base_estimator"
+require "eps/linear_regression"
+require "eps/model"
+require "eps/naive_bayes"
require "eps/version"
module Eps
def self.metrics(actual, estimated)
- Eps::Metrics.new(actual, estimated).all
+ Eps::Model.metrics(actual, estimated)
end
+
+ # backwards compatibility
+ Regressor = Model
end