Sha256: 5834dce78dc1a5ad6296c335bf6ec10f1b571add27ba0c4666103288503c1b03
Contents?: true
Size: 377 Bytes
Versions: 3
Compression:
Stored size: 377 Bytes
Contents
module SVMKit module Base # Module for all validation methods in SVMKit. module Splitter # Return the number of splits. # @return [Integer] attr_reader :n_splits # An abstract method for splitting dataset. def split raise NotImplementedError, "#{__method__} has to be implemented in #{self.class}." end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
svmkit-0.2.5 | lib/svmkit/base/splitter.rb |
svmkit-0.2.4 | lib/svmkit/base/splitter.rb |
svmkit-0.2.3 | lib/svmkit/base/splitter.rb |