Пример #1
0
def main():
    k = 10
    datafile = "3Ddata.txt"
    outfile = "isomap.png"
    temp = read(datafile)
    data = temp[0]
    style_data = temp[1]
    
    isomap(k,data,style_data,outfile)
Пример #2
0
def main():
    k = 10
    dim = 2

    datafile = "3Ddata.txt"
    outfile = "lap.png"
    temp = read(datafile)
    data = temp[0]
    style_data = temp[1]
    
    lap(k,data,style_data,dim,outfile)
Пример #3
0
def main():
    k = 10
    dim = 2
    datafile = "3Ddata.txt"
    outfile = "lle.png"
    temp = read(datafile)
    data = temp[0]
    style_data = temp[1]
    src = data.T

    
    lle(k,data,style_data,src,outfile,dim)