09e47cabaf09c32d402e8527d3804bac5f118ccf,framework/PostProcessors/DataMining.py,DataMining,inputToInternalForHistorySet,#DataMining#Any#,218

Before Change


    
    dataSet = currentInput.asDataset()
    inputDict = {"Features": {}, "parameters": {}, "Labels": {}, "metadata": {}}
    if self.pivotParameter is None and self.metric is not None:
      if not hasattr(self.metric, "pivotParameter"):
        self.raiseAnError(IOError, "HistorySet is provided as input, but this post-processor ", self.name, " can not handle it!")
      self.pivotParameter = self.metric.pivotParameter
    if self.PreProcessor is None and self.metric is None:
      if not currentInput.checkIndexAlignment(indexesToCheck=self.pivotParameter):
        self.raiseAnError(IOError, "The data provided by the DataObject ", currentInput.name, " is not synchronized!")
      // for testing time dependent data mining - time dependent clustering

After Change


    
    dataSet = currentInput.asDataset()
    inputDict = {"Features": {}, "parameters": {}, "Labels": {}, "metadata": {}}
    if self.pivotParameter is None:
      self.pivotParameter = currentInput.indexes[-1]
    if self.PreProcessor is None and self.metric is None:
      if not currentInput.checkIndexAlignment(indexesToCheck=self.pivotParameter):
        self.raiseAnError(IOError, "The data provided by the DataObject ", currentInput.name, " is not synchronized!")
      // for testing time dependent data mining - time dependent clustering
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: idaholab/raven
Commit Name: 09e47cabaf09c32d402e8527d3804bac5f118ccf
Time: 2018-09-04
Author: congjian.wang@inl.gov
File Name: framework/PostProcessors/DataMining.py
Class Name: DataMining
Method Name: inputToInternalForHistorySet


Project Name: idaholab/raven
Commit Name: bd64edc27a1f990698d70e2e75457597342c4b08
Time: 2017-09-07
Author: joshua-cogliati-inl@users.noreply.github.com
File Name: framework/Distributions.py
Class Name: Categorical
Method Name: initializeDistribution


Project Name: idaholab/raven
Commit Name: 79c1d265126b3e1551e60d503817de830dac241f
Time: 2019-11-11
Author: paul.talbot@inl.gov
File Name: framework/Samplers/Stratified.py
Class Name: Stratified
Method Name: localInputAndChecks