61d86d819fff86cc70ee166cd991e24d14e3d350
Files Diff
- Added: 4
- Removed: 3
- Renamed: 0
- Modified: 38
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type examples : GeneralDataset<L,F> to examples : List<RVFDatum<L,F>> in method public trainClassifier(examples List<RVFDatum<L,F>>, featureSet Set<F>) : NaiveBayesClassifier<L,F> in class edu.stanford.nlp.classify.NaiveBayesClassifierFactory | From | To | |
Move Method | 3 | ||
Move Method private initTensorDerivatives(map TwoDimensionalMap<String,String,SimpleTensor>) : TwoDimensionalMap<String,String,SimpleTensor> from class edu.stanford.nlp.sentiment.SentimentCostAndGradient.ModelDerivatives to private initTensorDerivatives(map TwoDimensionalMap<String,String,SimpleTensor>) : TwoDimensionalMap<String,String,SimpleTensor> from class edu.stanford.nlp.sentiment.SentimentCostAndGradient | From | To | |
Move Method private initDerivatives(map TwoDimensionalMap<String,String,SimpleMatrix>) : TwoDimensionalMap<String,String,SimpleMatrix> from class edu.stanford.nlp.sentiment.SentimentCostAndGradient.ModelDerivatives to private initDerivatives(map TwoDimensionalMap<String,String,SimpleMatrix>) : TwoDimensionalMap<String,String,SimpleMatrix> from class edu.stanford.nlp.sentiment.SentimentCostAndGradient | From | To | |
Move Method private initDerivatives(map Map<String,SimpleMatrix>) : Map<String,SimpleMatrix> from class edu.stanford.nlp.sentiment.SentimentCostAndGradient.ModelDerivatives to private initDerivatives(map Map<String,SimpleMatrix>) : Map<String,SimpleMatrix> from class edu.stanford.nlp.sentiment.SentimentCostAndGradient | From | To | |
Change Return Type | 1 | ||
Change Return Type List<List<T>> to List<Collection<T>> in method public partitionIntoFolds(values List<T>, numFolds int) : List<Collection<T>> in class edu.stanford.nlp.util.CollectionUtils | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class edu.stanford.nlp.trees.CoNLLUDocumentReaderTest moved and renamed to edu.stanford.nlp.trees.conllu.CoNLLUDocumentReaderWriterTest | From | To | |
Move Class | 2 | ||
Move Class edu.stanford.nlp.trees.CoNLLUDocumentReader.WordProcessor moved to edu.stanford.nlp.trees.conllu.CoNLLUDocumentReader.WordProcessor | From | To | |
Move Class edu.stanford.nlp.trees.CoNLLUDocumentReader.SentenceProcessor moved to edu.stanford.nlp.trees.conllu.CoNLLUDocumentReader.SentenceProcessor | From | To | |
Change Variable Type | 3 | ||
Change Variable Type chunked : List<List<Tree>> to chunked : List<Collection<Tree>> in method private fixMultiWordTokens(trees List<Tree>) : List<Tree> in class edu.stanford.nlp.international.spanish.pipeline.AnCoraProcessor | From | To | |
Change Variable Type folds : List<List<T>> to folds : List<Collection<T>> in method public trainTestFoldsForCV(values List<T>, numFolds int) : Collection<Pair<Collection<T>,Collection<T>>> in class edu.stanford.nlp.util.CollectionUtils | From | To | |
Change Variable Type chunks : List<List<Example>> to chunks : List<Collection<Example>> in method public computeCostFunction(batchSize int, regParameter double, dropOutProb double) : Cost in class edu.stanford.nlp.parser.nndep.Classifier | From | To | |
Extract Method | 4 | ||
Extract Method public getString(key Class<KEY>, def String) : String extracted from public getString(key Class<KEY>) : String in class edu.stanford.nlp.ling.CoreLabel | From | To | |
Extract Method private initializeParamRange(func Function, x double[]) : Set<Integer> extracted from private constrainSearchDir(dir double[], fg double[], x double[], func Function) : void in class edu.stanford.nlp.optimization.QNMinimizer | From | To | |
Extract Method private initializeParamRange(func Function, x double[]) : Set<Integer> extracted from private l1NormOWL(x double[], func Function) : double in class edu.stanford.nlp.optimization.QNMinimizer | From | To | |
Extract Method private initializeParamRange(func Function, x double[]) : Set<Integer> extracted from private projectOWL(x double[], orthant double[], func Function) : double[] in class edu.stanford.nlp.optimization.QNMinimizer | From | To | |
Rename Parameter | 2 | ||
Rename Parameter dFunction : DiffFunction to dfunction : DiffFunction in method public minimize(dfunction DiffFunction, functionTolerance double, initial double[], maxFunctionEvaluations int) : double[] in class edu.stanford.nlp.optimization.QNMinimizer | From | To | |
Rename Parameter dFunction : DiffFunction to dfunction : DiffFunction in method public minimize(dfunction DiffFunction, functionTolerance double, initial double[], maxFunctionEvaluations int, qn QNInfo) : double[] in class edu.stanford.nlp.optimization.QNMinimizer | From | To |