INNER CODE UNIT · Ruby

dump_label

yoshoku/rumale · rumale-core/lib/rumale/dataset.rb:224

      def dump_label(label, label_type_str)
        if label.is_a?(Array)
          label.map { |lbl| format(label_type_str, lbl) }.join(',')
        else
          format(label_type_str, label)
        end
      end
    end
  end
end

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…