Beispiel #1
0
        public IDataContext SelectLabelsAndFeatures(IList <int> selected_feature_indexes, IList <int> selected_label_indexes)
        {
            IList <VariableDescriptor> new_feature_descriptors = ToolsCollection.SelectList(feature_descriptors, selected_feature_indexes);
            IList <VariableDescriptor> new_label_descriptors   = ToolsCollection.SelectList(label_descriptors, selected_label_indexes);

            return(new DataContext(new_feature_descriptors, new_label_descriptors));
        }