Skip to Content
Python迁移学习
book

Python迁移学习

by Posts & Telecom Press, Dipanjan Sarkar, Raghav Bali, Tamoghna Ghosh
May 2024
Intermediate to advanced
373 pages
6h 6m
Chinese
Packt Publishing
Content preview from Python迁移学习

第8章 音频事件识别和分类

在前面章节的内容中,我们已经看到了一些将迁移学习应用于现实世界问题的非常有趣的案例研究。图像和文本数据是我们之前已经处理过的两种非结构化数据。我们已经证明了可以使用各种方法来应用迁移学习以获得更健壮的模型,以及处理训练数据很少之类的约束。在本章中,我们将处理音频事件的识别和分类这一现实世界问题。

为音频数据创建预训练深度学习模型是一个巨大的挑战,因为我们没有有效的预训练视觉模型[例如VGG或Inception(可用于图像数据)],或基于单词嵌入模型[例如Word2vec或GloVe(可用于文本数据)]的优势。而接下来的问题就是如何制定处理音频数据的策略。在本章中,我们将探索一些创新的方法,主要涉及以下几个方面:

  • 理解音频事件分类;
  • 阐述现实世界问题;
  • 音频事件的探索性分析;
  • 音频事件分类的特征工程和表示方法;
  • 使用迁移学习对音频事件进行分类;
  • 创建一个深度学习音频事件识别器。

在本章中,我们将看到一个对音频事件进行识别和分类的真实案例研究。音频特征工程、迁移学习、深度学习和面向对象编程等概念将被用于构建健壮的、自动的音频事件识别器来对音频进行分类。本章中的代码可以在异步社区网站获取。

到目前为止,你应该了解了分类或分组的基本任务。在这些任务中,我们拥有结构化或非结构化数据,这些数据通常用特定的组或类别进行标记或标注。自动分类的主要任务是建立一个模型,从而对于未来的数据点,我们可以根据多种数据属性或特性将每个数据点或记录分类到特定的类别中。

在前面的章节中,我们已经讨论了文本和图像分类,本章我们将讨论音频事件的分类。音频事件可以理解为一个事件或一个活动的发生,通常由音频信号捕获。通常来说,短音频片段用于表示音频事件,因为即使它们重复出现,声音通常也是相似的。然而有时可能会使用更长的音频片段来表示更复杂的音频事件。音频事件的例子可以是孩子们在操场上玩耍的声音、警报声、狗叫声等。事实上,谷歌公司已经建立了一个名为 ...

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

Python设计模式(第2版)

Python设计模式(第2版)

Posts & Telecom Press, Chetan Giridhar
深度学习实战手册(R语言版)

深度学习实战手册(R语言版)

Posts & Telecom Press, PKS Prakash, Achyutuni Sri Krishna Rao
R深度学习权威指南

R深度学习权威指南

Posts & Telecom Press, Joshua F. Wiley
Python面向对象编程指南

Python面向对象编程指南

Posts & Telecom Press, Steven F. Lott

Publisher Resources

ISBN: 9781836205418