# data-harness

> Library Code about Data Mining

Latest version **1.0.1** (published 2018-09-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install data-harness
pnpm add data-harness
yarn add data-harness
bun add data-harness
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-09-20 |
| First published | 2018-09-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 17.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Neit Ng |
| Maintainers | tiennguyen2009 |
| Keywords | TFIDF, IDF, Data Mining |

## Links

- npm: https://www.npmjs.com/package/data-harness
- Repository: https://github.com/tiennguyen2009/data-mining
- Homepage: https://github.com/tiennguyen2009/data-mining#readme
- Issues: https://github.com/tiennguyen2009/data-mining/issues
- npm.io page: https://npm.io/package/data-harness

## Dependencies (2)

- [underscore](https://npm.io/package/underscore.md) ^1.9.1
- [console.table](https://npm.io/package/console.table.md) ^0.10.0

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2018-09-20
- 1.0.0 — 2018-09-19

## README

# Data Mining
Alogrithms relate to Data Mining.

Algorthms: TF.IDF, K-Mean, HAC...

# Install
Run command line to install in NodeJS.
```PowerShell
npm install data-harness --save
```
# TF-IDF
Term freqency & Iverse Document Frequency.
```node
var TfIdf = require('data-harness').TfIdf;
var tfidf = new TfIdf();

// add documents
tfidf.addDoc("I am Java developer");
tfidf.addDoc("I need time for a developer a project about data-mining");

// show results
var rs_idf = tfidf.tf("developer");
var rs_tfidf = tfidf.tfidf("developer");

console.log(rs_idf);
console.log(rs_tfidf);
```

---
_Source: https://npm.io/package/data-harness · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
