All Downloads are FREE. Search and download functionalities are using the official Maven repository.

angry1980.audio.CalculateSimilaritiesHistWeights Maven / Gradle / Ivy

There is a newer version: 0.0.10
Show newest version
package angry1980.audio;

import angry1980.audio.service.TrackSimilarityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@Import(Neo4jDAOConfig.class)
public class CalculateSimilaritiesHistWeights implements CalculateSimilaritiesWeights {

    @Autowired
    private TrackSimilarityService trackSimilarityService;

    public static void main(String[] args){
        CalculateSimilaritiesWeights.init(args, CalculateSimilaritiesHistWeights.class);
    }

    @Override
    public void calculate(){
        new HistHandler(trackSimilarityService).handle(
                (onlyTruthPositive, type) -> trackSimilarityService.findSimilarities(type, onlyTruthPositive)
        );
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy