Implement base tuple LDA