qdtsne
A quick and dirty t-SNE C++ library
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
utils.hpp File Reference

Utilities for running t-SNE. More...

#include <random>
#include <cmath>
#include <vector>
#include "aarand/aarand.hpp"
#include "knncolle/knncolle.hpp"
#include "subpar/subpar.hpp"
Include dependency graph for utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  qdtsne
 Quick and dirty t-SNE.
 

Typedefs

template<typename Index_ , typename Float_ >
using qdtsne::NeighborList = knncolle::NeighborList< Index_, Float_ >
 Lists of neighbors for each observation.
 

Functions

int qdtsne::perplexity_to_k (double perplexity)
 
template<int num_dim_, typename Float_ = double>
void qdtsne::initialize_random (Float_ *Y, size_t num_points, int seed=42)
 
template<int num_dim_, typename Float_ = double>
std::vector< Float_qdtsne::initialize_random (size_t num_points, int seed=42)
 
template<typename Task_ , class Run_ >
void qdtsne::parallelize (int num_workers, Task_ num_tasks, Run_ run_task_range)
 

Detailed Description

Utilities for running t-SNE.