基于神经网络的分类_基于神经网络的城市声音分类

基于神经网络的分类Every day we hear different sounds and it is part of our life. Humans can differentiate between sounds easily but how cool it will be if computer can also classify the sounds into categories....
摘要由CSDN通过智能技术生成

基于神经网络的分类

Every day we hear different sounds and it is part of our life. Humans can differentiate between sounds easily but how cool it will be if computer can also classify the sounds into categories.

每天我们听到不同的声音,这是我们生活的一部分。 人类可以轻松地区分声音,但是如果计算机也可以将声音分类,声音将多么酷。

In this blog post, we’ll learn techniques for classifying urban sounds into categories using machine learning with neural networks. The dataset is taken from a competition in analytics vidya called Urban Sound. This dataset contains 8732 labelled sound excerpts of urban sounds from 10 classes: air_conditioner, car_horn, children_playing, dog_bark, drilling, enginge_idling, gun_shot, jackhammer, siren, and street_music.

在此博客文章中,我们将学习使用神经网络机器学习将城市声音分类的技术。 该数据集取材自名为Urban Sound的分析vidya竞赛。 该数据集包含来自10个类别的城市声音的8732个标记的声音摘录:空调,汽车喇叭,儿童游戏,狗吠,钻探,enginge_idling,gun_shot,手提钻,警笛和street_music。

I will use the python librosa library to extract numerical features from audio clips and use those features to train a neural network model.

我将使用python librosa库从音频片段中提取数字特征,并使用这些特征来训练神经网络模型。

First, let us get all the required libraries,

首先,让我们获取所有必需的库,

import IPython.display as ipdimport osimport numpy as npimport pandas as pdimport matplotlib.pyplot as pltimport librosafrom tqdm import tqdmfrom sklearn.preprocessing import StandardScalerfrom keras.models import Sequential
  • 2
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值