A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/zhmz90/BHTsne.jl below:

zhmz90/BHTsne.jl: Julia interface to Van der Maaten's Barnes-Hut implementation of t-Distributed Stochastic Neighbor Embedding

This package is a Julia interface to Van der Maaten's Barnes-Hut C++ implementation of t-Distributed Stochastic Neighbor Embedding. There are also other wrappers available in Python, Matlab, R and Torch.

Pkg.clone("https://github.com/zhmz90/BHTsne.jl.git")
	using BHTsne
	using RDatasets	
	using Gadfly
	
	iris = dataset("datasets", "iris") 	
	samples = convert(Array, iris[:,1:4])
	labels  = convert(Array, iris[:,5])
	
	results = bh_tsne(samples, perplexity=30, verbose=true)
	
	p = plot(x=results[:,1], y=results[:,2], color=labels)
	draw(PNG("tsne_of_iris.png", 8inch, 6inch), p)

	function bh_tsne(samples; no_dims=2, initial_dims=50, perplexity=50, theta=0.5, randseed=-1, verbose=false)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4