UNPKG

clustering-tfjs

Version:

High-performance TypeScript clustering algorithms (K-Means, Spectral, Agglomerative) with TensorFlow.js acceleration and scikit-learn compatibility

127 lines (126 loc) 3.66 kB
{ "name": "clustering-tfjs", "version": "0.3.1", "description": "High-performance TypeScript clustering algorithms (K-Means, Spectral, Agglomerative) with TensorFlow.js acceleration and scikit-learn compatibility", "keywords": [ "clustering", "machine-learning", "kmeans", "spectral-clustering", "agglomerative-clustering", "tensorflow", "tensorflowjs", "data-science", "unsupervised-learning", "scikit-learn", "typescript", "browser", "nodejs" ], "homepage": "https://github.com/CRJFisher/clustering-tfjs#readme", "bugs": { "url": "https://github.com/CRJFisher/clustering-tfjs/issues" }, "repository": { "type": "git", "url": "git+https://github.com/CRJFisher/clustering-tfjs.git" }, "license": "MIT", "author": "Your Name <your.email@example.com>", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "browser": { "import": "./dist/index.esm.js", "require": "./dist/clustering.browser.js" }, "node": { "import": "./dist/index.esm.js", "require": "./dist/index.js" }, "default": { "import": "./dist/index.esm.js", "require": "./dist/index.js" } } }, "files": [ "dist", "README.md", "LICENSE", "CHANGELOG.md" ], "scripts": { "build": "node scripts/build.js", "build:browser": "node scripts/build-multi-platform.js browser", "build:node": "node scripts/build-multi-platform.js node", "build:multi": "node scripts/build-multi-platform.js", "build:clean": "rm -rf dist", "dev": "ts-node src/index.ts", "test": "jest", "test:coverage": "jest --coverage", "lint": "eslint src --ext .ts", "type-check": "tsc --noEmit", "benchmark": "ts-node scripts/benchmark.ts", "benchmark:node": "ts-node scripts/benchmark.ts", "benchmark:native": "npm install @tensorflow/tfjs-node && ts-node scripts/benchmark.ts", "benchmark:compare": "ts-node scripts/compare-benchmarks.ts", "prepublishOnly": "npm run lint && npm run type-check && npm run build && npm test", "prepare": "npm run build", "format": "prettier --write 'src/**/*.{ts,tsx}'", "release": "node scripts/release.js" }, "dependencies": { "@tensorflow/tfjs-core": "^4.20.0", "ml-matrix": "^6.12.1" }, "peerDependencies": { "@tensorflow/tfjs": "^4.20.0", "@tensorflow/tfjs-backend-wasm": "^4.20.0", "@tensorflow/tfjs-node": "^4.20.0", "@tensorflow/tfjs-node-gpu": "^4.20.0" }, "peerDependenciesMeta": { "@tensorflow/tfjs": { "optional": true }, "@tensorflow/tfjs-backend-wasm": { "optional": true }, "@tensorflow/tfjs-node": { "optional": true }, "@tensorflow/tfjs-node-gpu": { "optional": true } }, "devDependencies": { "@tensorflow/tfjs-node": "^4.20.0", "@types/jest": "^29.5.0", "@types/js-yaml": "^4.0.9", "@types/puppeteer": "^5.4.7", "@typescript-eslint/eslint-plugin": "^6.7.0", "@typescript-eslint/parser": "^6.7.0", "eslint": "^8.50.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-import": "^2.28.0", "jest": "^29.6.0", "js-yaml": "^4.1.0", "prettier": "^3.0.0", "puppeteer": "^24.15.0", "terser-webpack-plugin": "^5.3.14", "ts-jest": "^29.1.0", "ts-loader": "^9.5.2", "ts-node": "^10.9.2", "typescript": "^5.2.2", "webpack": "^5.101.0", "webpack-cli": "^6.0.1", "webpack-node-externals": "^3.0.0" }, "engines": { "node": ">=18.0.0" } }