Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@keckelt/tsne
Advanced tools
Updated implementation of tSNEJS in TypeScript.
Published it on NPM: npm install @keckelt/tsne
.
import {TSNE} from '@keckelt/tsne-js';
const data = [...];
// TODO one hot encoding, normalization, ...
const opt = {
epsilon: 10, // epsilon is learning rate (10 = default)
perplexity: data.length ** 0.5, // roughly how many neighbors each point influences (30 = default)
dim: 2 // dimensionality of the embedding (2 = default)
};
const tsne = new TSNE(opt);
tsne.initDataRaw(data);
const iterations = 500;
for(let i = 0; i < iterations; i++) {
tsne.step(); // every time you call this, solution gets better
}
var Y = tsne.getSolution(); // Y is an array of 2-D points that you can plot
You can use Comlink, for example, to wrap the TSNE class and have the code executed in a worker thread:
import * as Comlink from 'comlink';
import { TSNE } from '@keckelt/tsne-js';
Comlink.expose(TSNE);
FAQs
Updated t-SNE implementation in TypeScript.
The npm package @keckelt/tsne receives a total of 0 weekly downloads. As such, @keckelt/tsne popularity was classified as not popular.
We found that @keckelt/tsne demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.