# -*- coding: utf-8 -*-
"""
Created on Thu Sep 10 20:47:49 2015

@author: sthomp

"""

#Port Out of Sample LPP Code from Matlab
#Mapping is hardcoded for now.

def getDR24Mapping():
    """Hard coding of the 141x20 mapping used in DR24 LPP metric
    """
    
    
    
    return (mean, M)

def outOfSampleLPP(mean,M,X):
    """Calculate the out of sample X reduced dimensions using mean and 
    the mapping M.
    """
    
    
    return x

# -*- coding: utf-8 -*-
"""
Created on Thu Sep 10 20:47:49 2015

@author: sthomp

"""

#Port Out of Sample LPP Code from Matlab
#Mapping is hardcoded for now.

def getDR24Mapping():
    """Hard coding of the 141x20 mapping used in DR24 LPP metric
    """
    
    
    
    return (mean, M)

def outOfSampleLPP(mean,M,X):
    """Calculate the out of sample X reduced dimensions using mean and 
    the mapping M.
    """
    
    
    return x

# -*- coding: utf-8 -*- Created on Thu Sep 10 20:47:49 2015  @author: sthomp #Port Out of Sample LPP Code from Matlab #Mapping is hardcoded for now. Hard coding of the 141x20 mapping used in DR24 LPP metric Calculate the out of sample X reduced dimensions using mean and      the mapping M.