# File lib/ai4r/data/data_set.rb, line 176 def num_attributes return (@data_items.empty?) ? 0 : @data_items.first.size end