def load_forest
      trees = []
      if File.exists?(@forest_file)
        begin
          trees = Psych.load(File.open @forest_file)
        rescue ArgumentError => e
          raise Nimbus::WrongFormatFileError, "It was not posible to parse the random forest file (#{@forest_file}): \r\n#{e.message} "
        end
      else
        raise Nimbus::InputFileError, "Forest file not found (#{@forest_file})"
      end
      forest = Nimbus::Forest.new self
      forest.trees = trees
      forest
    end
def load_forest
      trees = []
      if File.exists?(@forest_file)
        begin
          trees = Psych.load(File.open @forest_file)
        rescue ArgumentError => e
          raise Nimbus::WrongFormatFileError, "It was not posible to parse the random forest file (#{@forest_file}): \r\n#{e.message} "
        end
      else
        raise Nimbus::InputFileError, "Forest file not found (#{@forest_file})"
      end
      forest = Nimbus::Forest.new self
      forest.trees = trees
      forest
    end
Creates a Nimbus::Forest object from a user defined random forest data file.

 The format of the input file should be the same as the forest output data of a Nimbus Application.