code: public void setTrainingChannels(java.util.Collection<ChannelSpecification> trainingChannels) {
          if (trainingChannels == null) {
              this.trainingChannels = null;
              return;
          }
  
          this.trainingChannels = new java.util.ArrayList<ChannelSpecification>(trainingChannels);
      }
docs: <p>
  A list of <code>ChannelSpecification</code> objects, which specify the input sources to be used by the algorithm.
  </p>
  
  @param trainingChannels
  A list of <code>ChannelSpecification</code> objects, which specify the input sources to be used by the
  algorithm.