0901cf3bc73d30d3f0cc60aa87bddc6ab3b02249
Files Diff
- Added: 9
- Removed: 27
- Renamed: 0
- Modified: 42
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public mnist(imagesPath String, labelsPath String, rnd Random, cnt int) : Stream<DenseLocalOnHeapVector> renamed to public mnistAsStream(imagesPath String, labelsPath String, rnd Random, cnt int) : Stream<DenseLocalOnHeapVector> in class org.apache.ignite.ml.util.MnistUtils | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method public getCols() : int moved from class org.apache.ignite.ml.dataset.primitive.data.SimpleLabeledDatasetData to class org.apache.ignite.ml.math.isolve.lsqr.LSQROnHeap & inlined to protected iter(bnorm double, target double[]) : double[] | From | To | |
Change Parameter Type | 7 | ||
Change Parameter Type lbExtractor : IgniteBiFunction<K,V,Double> to lbExtractor : IgniteBiFunction<K,V,double[]> in method public createSimpleLabeledDataset(ignite Ignite, upstreamCache IgniteCache<K,V>, partCtxBuilder PartitionContextBuilder<K,V,C>, featureExtractor IgniteBiFunction<K,V,double[]>, lbExtractor IgniteBiFunction<K,V,double[]>) : SimpleLabeledDataset<C> in class org.apache.ignite.ml.dataset.DatasetFactory | From | To | |
Change Parameter Type lbExtractor : IgniteBiFunction<K,V,Double> to lbExtractor : IgniteBiFunction<K,V,double[]> in method public createSimpleLabeledDataset(upstreamMap Map<K,V>, partitions int, featureExtractor IgniteBiFunction<K,V,double[]>, lbExtractor IgniteBiFunction<K,V,double[]>) : SimpleLabeledDataset<EmptyContext> in class org.apache.ignite.ml.dataset.DatasetFactory | From | To | |
Change Parameter Type lbExtractor : IgniteBiFunction<K,V,Double> to lbExtractor : IgniteBiFunction<K,V,double[]> in method public createSimpleLabeledDataset(datasetBuilder DatasetBuilder<K,V>, featureExtractor IgniteBiFunction<K,V,double[]>, lbExtractor IgniteBiFunction<K,V,double[]>) : SimpleLabeledDataset<EmptyContext> in class org.apache.ignite.ml.dataset.DatasetFactory | From | To | |
Change Parameter Type lbExtractor : IgniteBiFunction<K,V,Double> to lbExtractor : IgniteBiFunction<K,V,double[]> in method public SimpleLabeledDatasetDataBuilder(featureExtractor IgniteBiFunction<K,V,double[]>, lbExtractor IgniteBiFunction<K,V,double[]>) in class org.apache.ignite.ml.dataset.primitive.builder.data.SimpleLabeledDatasetDataBuilder | From | To | |
Change Parameter Type lbExtractor : IgniteBiFunction<K,V,Double> to lbExtractor : IgniteBiFunction<K,V,double[]> in method public createSimpleLabeledDataset(upstreamMap Map<K,V>, partitions int, partCtxBuilder PartitionContextBuilder<K,V,C>, featureExtractor IgniteBiFunction<K,V,double[]>, lbExtractor IgniteBiFunction<K,V,double[]>) : SimpleLabeledDataset<C> in class org.apache.ignite.ml.dataset.DatasetFactory | From | To | |
Change Parameter Type lbExtractor : IgniteBiFunction<K,V,Double> to lbExtractor : IgniteBiFunction<K,V,double[]> in method public createSimpleLabeledDataset(datasetBuilder DatasetBuilder<K,V>, partCtxBuilder PartitionContextBuilder<K,V,C>, featureExtractor IgniteBiFunction<K,V,double[]>, lbExtractor IgniteBiFunction<K,V,double[]>) : SimpleLabeledDataset<C> in class org.apache.ignite.ml.dataset.DatasetFactory | From | To | |
Change Parameter Type lbExtractor : IgniteBiFunction<K,V,Double> to lbExtractor : IgniteBiFunction<K,V,double[]> in method public createSimpleLabeledDataset(ignite Ignite, upstreamCache IgniteCache<K,V>, featureExtractor IgniteBiFunction<K,V,double[]>, lbExtractor IgniteBiFunction<K,V,double[]>) : SimpleLabeledDataset<EmptyContext> in class org.apache.ignite.ml.dataset.DatasetFactory | From | To | |
Rename Variable | 1 | ||
Rename Variable row : double[] to featureRow : double[] in method public build(upstreamData Iterator<UpstreamEntry<K,V>>, upstreamDataSize long, ctx C) : SimpleLabeledDatasetData in class org.apache.ignite.ml.dataset.primitive.builder.data.SimpleLabeledDatasetDataBuilder | From | To | |
Change Return Type | 3 | ||
Change Return Type SVMLinearMultiClassClassificationTrainer<K,V> to SVMLinearMultiClassClassificationTrainer in method public withLambda(lambda double) : SVMLinearMultiClassClassificationTrainer in class org.apache.ignite.ml.svm.SVMLinearMultiClassClassificationTrainer | From | To | |
Change Return Type SVMLinearMultiClassClassificationTrainer<K,V> to SVMLinearMultiClassClassificationTrainer in method public withAmountOfIterations(amountOfIterations int) : SVMLinearMultiClassClassificationTrainer in class org.apache.ignite.ml.svm.SVMLinearMultiClassClassificationTrainer | From | To | |
Change Return Type SVMLinearMultiClassClassificationTrainer<K,V> to SVMLinearMultiClassClassificationTrainer in method public withAmountOfLocIterations(amountOfLocIterations int) : SVMLinearMultiClassClassificationTrainer in class org.apache.ignite.ml.svm.SVMLinearMultiClassClassificationTrainer | From | To | |
Rename Class | 3 | ||
Rename Class org.apache.ignite.examples.ml.nn.MLPLocalTrainerExample renamed to org.apache.ignite.examples.ml.nn.MLPTrainerExample | From | To | |
Rename Class org.apache.ignite.ml.nn.performance.MnistDistributed renamed to org.apache.ignite.ml.nn.performance.MLPTrainerMnistIntegrationTest | From | To | |
Rename Class org.apache.ignite.ml.nn.MLPGroupTrainerTest renamed to org.apache.ignite.ml.nn.MLPTrainerIntegrationTest | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.apache.ignite.ml.nn.MLPLocalTrainerTest moved and renamed to org.apache.ignite.ml.nn.MLPTrainerTest.ComponentParamTests | From | To | |
Change Variable Type | 1 | ||
Change Variable Type trainer : SVMLinearMultiClassClassificationTrainer<Integer,double[]> to trainer : SVMLinearMultiClassClassificationTrainer in method public testTrainWithTheLinearlySeparableCase() : void in class org.apache.ignite.ml.svm.SVMMultiClassTrainerTest | From | To | |
Extract Variable | 1 | ||
Extract Variable x : double[] in method public fit(datasetBuilder DatasetBuilder<K,V>, featureExtractor IgniteBiFunction<K,V,double[]>, lbExtractor IgniteBiFunction<K,V,Double>) : LinearRegressionModel from class org.apache.ignite.ml.regressions.linear.LinearRegressionLSQRTrainer | From | To | |
Extract Interface | 1 | ||
Extract Interface org.apache.ignite.ml.trainers.SingleLabelDatasetTrainer from classes [org.apache.ignite.ml.regressions.linear.LinearRegressionLSQRTrainer, org.apache.ignite.ml.svm.SVMLinearBinaryClassificationTrainer, org.apache.ignite.ml.svm.SVMLinearMultiClassClassificationTrainer] | From | To | |
Inline Variable | 1 | ||
Inline Variable curParams : Vector in method public calculateNewUpdate(mdl M, updaterParameters NesterovParameterUpdate, iteration int, inputs Matrix, groundTruth Matrix) : NesterovParameterUpdate from class org.apache.ignite.ml.optimization.updatecalculators.NesterovUpdateCalculator | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type lbExtractor : IgniteBiFunction<K,V,Double> to lbExtractor : IgniteBiFunction<K,V,double[]> in class org.apache.ignite.ml.dataset.primitive.builder.data.SimpleLabeledDatasetDataBuilder | From | To |