{"id":24353856,"url":"https://github.com/pickledchair/deep-learning-from-scratch-in-ruby","last_synced_at":"2026-04-20T08:04:00.199Z","repository":{"id":152404842,"uuid":"340279805","full_name":"PickledChair/deep-learning-from-scratch-in-ruby","owner":"PickledChair","description":"『ゼロから作る Deep Learning』(O'Reilly Japan, 2016) の Ruby による再実装","archived":false,"fork":false,"pushed_at":"2021-09-15T06:28:50.000Z","size":840,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-19T17:26:34.403Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PickledChair.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-19T06:34:31.000Z","updated_at":"2021-09-15T06:28:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"3f4077ec-4e3d-46c2-9857-fa599af85535","html_url":"https://github.com/PickledChair/deep-learning-from-scratch-in-ruby","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PickledChair/deep-learning-from-scratch-in-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PickledChair%2Fdeep-learning-from-scratch-in-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PickledChair%2Fdeep-learning-from-scratch-in-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PickledChair%2Fdeep-learning-from-scratch-in-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PickledChair%2Fdeep-learning-from-scratch-in-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PickledChair","download_url":"https://codeload.github.com/PickledChair/deep-learning-from-scratch-in-ruby/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PickledChair%2Fdeep-learning-from-scratch-in-ruby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32038456,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-18T16:22:05.743Z","updated_at":"2026-04-20T08:04:00.181Z","avatar_url":"https://github.com/PickledChair.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 「ゼロから作る Deep Learning」を Ruby で実装する\n\n「[ゼロから作る Deep Learning](https://github.com/oreilly-japan/deep-learning-from-scratch)」の Python コードを、Ruby の勉強がてらに、Ruby で再実装したリポジトリです。\n\n\n\n## ディレクトリ構成\n\n- [x] chapter2\n- [x] chapter3\n- [x] chapter4\n- [x] chapter5\n- [ ] chapter6\n- [ ] chapter7\n- [ ] chapter8\n- [ ] common: 複数の章で共通に使用するソースコード\n- [x] dataset: データセット用のソースコード\n\n\n\n## テスト環境\n\nMacBook Air (early 2020) (Intel Mac), macOS Big Sur\n\n\n\n## Ruby のバージョン・依存ライブラリ\n\nRuby: 3.0.0（rbenv でインストール）で動作確認しています。\n\n### 依存ライブラリ\n\n- [Numo::NArray](https://github.com/ruby-numo/numo-narray)：数値計算ライブラリ（NumPy に相当）\n- [Charty](https://github.com/red-data-tools/charty)：グラフ描画（バックエンドに matplotlib を使用）\n- [Numo::Gnuplot](https://github.com/ruby-numo/numo-gnuplot)：グラフ描画。charty では画像を描画できなかったのでこちらも併用（バックエンドに gnuplot を使用）\n- [Npy](https://github.com/ankane/npy)：Numo::NArray オブジェクトと NumPy の `.npy` ファイル及び `.npz` ファイルを相互変換できるライブラリ。\n- [Magro](https://github.com/yoshoku/magro)：画像ファイル =\u003e Numo::NArray オブジェクト, Numo::NArray オブジェクト =\u003e 画像ファイルを実現するライブラリ\n  - ニューラルネットワークの実装では使っていないが、NArray と画像との相互変換が可能かどうか確認したかったので。\n- [RandomBell](https://github.com/s-osa/random_bell)：正規乱数の生成\n\n\n\n`magro` をリポジトリに記載の通り `gem install magro` でインストールしようとしたら、`png.h` が見つからないと言われて失敗してしまいました。しかし以下のコマンドでインストールできました：\n\n```\n$ export LIBRARY_PATH=\"/usr/local/lib\"\n$ export C_INCLUDE_PATH=\"/usr/local/include\"\n$ gem install magro\n```\n\n\n\n## ライセンス\n\n[MIT License](./LICENSE.txt) で配布します。\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpickledchair%2Fdeep-learning-from-scratch-in-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpickledchair%2Fdeep-learning-from-scratch-in-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpickledchair%2Fdeep-learning-from-scratch-in-ruby/lists"}