Skip to Content
初めてのTensorFlow.js ―JavaScriptで学ぶ機械学習
book

初めてのTensorFlow.js ―JavaScriptで学ぶ機械学習

by Gant Laborde, あんどうやすし
June 2022
Intermediate to advanced
368 pages
5h 36m
Japanese
O'Reilly Japan, Inc.
Content preview from 初めてのTensorFlow.js ―JavaScriptで学ぶ機械学習

8章モデルの訓練

より軽い荷物を求めるのではなく、より強い背中を求めなさい。

—— ユダヤ人の格言

自由に利用できるすばらしいモデルやデータの数は増え続けて溢れんばかりですが、それでも既存のTensorFlow.jsモデルをただ利用するだけでなく、それ以上のことをしたいと考えてしまうのは当然でしょう。これまでに誰も見たことがないアイデアを思いついた場合には、そのままですぐに利用できるような選択肢はその時点では存在しないはずです。独自にモデルを訓練するのはそんなときです。

そうです、これは世界最高の知性たちが競っている任務です。ライブラリには訓練しているモデルが使用している数式や戦略、方法論の説明があるかもしれませんが、もっとも重要なのは核心を理解することです。フレームワークを活用するにはTensorFlow.jsでのモデルの訓練について、基本的なコンセプトと特性をよく理解しておかなければいけません。

本章の内容は以下のとおりです。

  • JavaScriptのコードでモデルを初めて訓練します
  • モデルアーキテクチャの理解を深めます
  • 訓練中の状態を追跡し続ける方法を復習します
  • 訓練の基礎的なコンセプトのいくつかを説明します

本章を終えると、機械学習ソリューションを作成するためにモデルを訓練する方法のいくつかと、データを利用するプロセスについて、さらに理解が深まっていることでしょう。

8.1 訓練

ついにこれまで隠されていた神秘のベールを剥ぎ取り、JavaScriptでモデルを訓練する時が来ました。Teachable Machineはすばらしいツールですが、その力には限界があります。機械学習の真の力を解放するには、対象の問題を認識してその解決のためのパターンを見つけられるようにマシンを教育する必要があります。それには、まずデータを通して問題領域を見ていく必要があります。 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

入門 モダンLinux ―オンプレミスからクラウドまで、幅広い知識を会得する

入門 モダンLinux ―オンプレミスからクラウドまで、幅広い知識を会得する

Michael Hausenblas, 武内 覚, 大岩 尚宏
行動を変えるデザイン ―心理学と行動経済学をプロダクトデザインに活用する

行動を変えるデザイン ―心理学と行動経済学をプロダクトデザインに活用する

Stephen Wendel, 武山 政直, 相島 雅樹, 反中 望, 松村 草也

Publisher Resources

ISBN: 9784873119939Other