Skip to content

Instantly share code, notes, and snippets.

View n8chz's full-sized avatar

Lorraine Lee n8chz

View GitHub Profile
@bellbind
bellbind / data.csv
Last active June 17, 2019 02:46
[ruby] PCA(Principal Component Analysis) with ruby builtins (>= 1.9)
ブランド名 プロっぽい カッコいい 好き かわいい 一般的 ミーハー 初心者 ダサイ 嫌い わからない 欲しい
ロシニョール 33 15 38 11 71 94 7 4 8 5 37
ヤマハ 10 6 24 18 75 46 29 5 5 12 10
オガサカ 67 5 18 1 32 4 12 25 24 11 14
カザマ 25 5 12 2 33 4 18 40 23 31 8
アトミック 52 32 24 5 32 32 3 11 5 17 35
ニシザワ 23 7 12 1 8 1 3 32 15 28 11
クナイスル 32 13 12 0 37 2 6 23 16 33 9
K2 48 26 24 3 20 32 2 10 21 20 23
フィッシャー 27 14 18 2 20 7 3 9 12 37 11
@max-mapper
max-mapper / datagovmetadata.json
Created February 14, 2017 21:54
EOP-GOV Metadata
{"help": "https://catalog.data.gov/api/3/action/help_show?name=package_search", "success": true, "result": {"count": 48, "sort": "views_recent desc", "facets": {}, "results": [{"license_title": "License not specified", "maintainer": "New Media", "relationships_as_object": [], "private": false, "maintainer_email": "newmedia@whitehouse.gov", "num_tags": 5, "id": "59694770-b6b6-4ae0-a4b9-4ae69c0be2f6", "metadata_created": "2016-07-02T10:06:26.199575", "metadata_modified": "2016-07-02T10:06:26.199575", "author": null, "author_email": null, "state": "active", "version": null, "creator_user_id": "47303a9e-1187-4290-85a3-1fc02dc49e4a", "type": "dataset", "resources": [{"cache_last_updated": null, "package_id": "59694770-b6b6-4ae0-a4b9-4ae69c0be2f6", "webstore_last_updated": null, "id": "3a8a0ad1-19e7-4153-bb2f-d70cf88aaaf8", "size": null, "state": "active", "hash": "", "description": "", "format": "CSV", "tracking_summary": {"total": 32, "recent": 1}, "last_modified": null, "url_type": null, "no_real_name": "True",