# frozen_string_literal: true require 'numo/narray' module Rumale module Base # Module for all transfomers in Rumale. module Transformer # An abstract method for fitting a model. def fit raise NotImplementedError, "#{__method__} has to be implemented in #{self.class}." end # An abstract method for fitting a model and transforming given data. def fit_transform raise NotImplementedError, "#{__method__} has to be implemented in #{self.class}." end end end end