【转】OC-音乐播放器-锁屏处理

QQ音乐播放的过程中,锁屏状态下的效果如下:

【转】OC-音乐播放器-锁屏处理

也就是说,QQ音乐播放过程中,添加锁屏远程事件的监听。

本文只记录本人知道的小知识点,不提供完整的代码。

实现的原理:

(1)获取锁屏歌曲信息中心:MPNowPlayingInfoCenter

(2)设置锁屏下要显示的歌曲的信息

(3)启动远程事件的监听

1.MPNowPlayingInfoCenter简要说明

(1)官方文档对MPNowPlayingInfoCenter的解说如下:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

// -----------------------------------------------------------------------------

// MPNowPlayingInfoCenter provides an interface for setting the current now

// playing information for the application. This information will be displayed

// wherever now playing information typically appears, such as the lock screen

// and app switcher. The now playing info dictionary contains a group of

// metadata properties for a now playing item. The list of property constants

// is available in <mediaplayer mpmediaitem.h>. The properties which are</mediaplayer>

// currently supported include:

//

// MPMediaItemPropertyAlbumTitle

// MPMediaItemPropertyAlbumTrackCount

// MPMediaItemPropertyAlbumTrackNumber

// MPMediaItemPropertyArtist

// MPMediaItemPropertyArtwork

// MPMediaItemPropertyComposer

// MPMediaItemPropertyDiscCount

// MPMediaItemPropertyDiscNumber

// MPMediaItemPropertyGenre

// MPMediaItemPropertyPersistentID

// MPMediaItemPropertyPlaybackDuration

// MPMediaItemPropertyTitle

//

// In addition, metadata properties specific to the current playback session

// may also be specified -- see "Additional metadata properties" below.

上面那段话大体的意思如下:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

MPNowPlayingInfoCenter&#xFF08;&#x64AD;&#x653E;&#x4FE1;&#x606F;&#x4E2D;&#x5FC3;&#xFF09;&#x4E3A;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x63D0;&#x4F9B;&#x8BBE;&#x7F6E;&#x5F53;&#x524D;&#x6B63;&#x5728;&#x64AD;&#x653E;&#x7684;&#x4FE1;&#x606F;&#x7684;&#x63A5;&#x53E3;&#xFF1B;

&#x3000;&#x3000;&#x6B64;&#x4FE1;&#x606F;&#x5C06;&#x663E;&#x793A;&#x5728;&#x6B63;&#x5728;&#x64AD;&#x653E;&#x4FE1;&#x606F;&#x7C7B;&#x578B;&#x8C03;&#x7528;&#x7684;&#x4EFB;&#x4F55;&#x4F4D;&#x7F6E;&#xFF0C;&#x4F8B;&#x5982;&#x9501;&#x5C4F;&#x4E0B;&#x6216;&#x8005;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x5207;&#x6362;&#x4E2D;&#xFF1B;

&#x3000;&#x3000;&#x6B63;&#x5728;&#x64AD;&#x653E;&#x7684;&#x4FE1;&#x606F;&#x5B57;&#x5178;&#x5305;&#x542B;&#x4E00;&#x7EC4;&#x6B63;&#x5728;&#x64AD;&#x653E;&#x9879;&#x7684;&#x5143;&#x6570;&#x636E;&#x5C5E;&#x6027;&#xFF0C;&#x8FD9;&#x4E9B;&#x5C5E;&#x6027;&#x5E38;&#x91CF;&#x5217;&#x8868;&#x5728;<mediaplayer mpmediaitem.h>&#x6709;&#x63D0;&#x4F9B;&#xFF1B;</mediaplayer>

&#x3000;&#x3000;&#x8FD9;&#x4E9B;&#x5C5E;&#x6027;&#x76EE;&#x524D;&#x63D0;&#x4F9B;&#x7684;&#x5305;&#x62EC;&#xFF1A;

&#x3000;&#x3000; MPMediaItemPropertyAlbumTitle &#xFF08;&#x6807;&#x9898;&#xFF09;

&#x3000;&#x3000; MPMediaItemPropertyAlbumTrackCount&#xFF08;&#x4E13;&#x8F91;&#x6B4C;&#x66F2;&#x6570;&#xFF09;

&#x3000;&#x3000; MPMediaItemPropertyAlbumTrackNumber &#xFF08;&#x4E13;&#x8F91;&#x6B4C;&#x66F2;&#x7F16;&#x53F7;&#xFF09;

&#x3000;&#x3000; MPMediaItemPropertyArtist &#xFF08;&#x827A;&#x672F;&#x5BB6;/&#x6B4C;&#x624B;&#xFF09;

&#x3000;&#x3000; MPMediaItemPropertyArtwork (&#x5C01;&#x9762;&#x56FE;&#x7247;&#xA0; MPMediaItemArtwork &#x7C7B;&#x578B;)

&#x3000;&#x3000; MPMediaItemPropertyComposer (&#x4F5C;&#x66F2;)

&#x3000;&#x3000; MPMediaItemPropertyDiscCount &#xFF08;&#x4E13;&#x8F91;&#x6570;&#xFF09;

&#x3000;&#x3000; MPMediaItemPropertyDiscNumber &#xFF08;&#x4E13;&#x8F91;&#x7F16;&#x53F7;&#xFF09;

&#x3000;&#x3000; MPMediaItemPropertyGenre &#xFF08;&#x7C7B;&#x578B;\&#x6D41;&#x6D3E;&#xFF09;

&#x3000;&#x3000; MPMediaItemPropertyPersistentID (&#x552F;&#x4E00;&#x6807;&#x8BC6;&#x7B26;)

&#x3000;&#x3000;MPMediaItemPropertyPlaybackDuration &#xFF08;&#x6B4C;&#x66F2;&#x65F6;&#x957F;&#xFF09;

&#x3000;&#x3000; MPMediaItemPropertyTitle &#xFF08;&#x6B4C;&#x66F2;&#x540D;&#x79F0;&#xFF09;<br><br>&#x3000;&#x3000;&#x6B64;&#x5916;&#xFF0C;&#x97F3;&#x4E50;&#x64AD;&#x653E;&#x5FC5;&#x987B;&#x652F;&#x6301;&#x540E;&#x53F0;&#x64AD;&#x653E;&#x7684;&#x529F;&#x80FD;&#x3002;

另外,当前播放信息中心还提供了一个方法和一个属性如下:

/// Returns the default now playing info center.

/// The default center holds now playing info about the current application.

+ (MPNowPlayingInfoCenter *)defaultCenter;/// The current now playing info for the center.

/// Setting the info to nil will clear it.

@property (nonatomic, copy, nullable) NSDictionary *nowPlayingInfo;

也就是说,可以用defaultCenter来获取当前的MPNowPlayingInfoCenter,然后在 nowPlayingInfo 以字典的形式设置 锁屏中的歌曲信息。

其中,这个类,还提供了一些额外的元组属性,如下:

MP_EXTERN NSString *const MPNowPlayingInfoPropertyElapsedPlaybackTime  当前时间 NSNumber
     MP_EXTERN NSString *const MPNowPlayingInfoPropertyPlaybackRate
     MP_EXTERN NSString *const MPNowPlayingInfoPropertyDefaultPlaybackRate
     MP_EXTERN NSString *const MPNowPlayingInfoPropertyPlaybackQueueIndex
     MP_EXTERN NSString *const MPNowPlayingInfoPropertyPlaybackQueueCount
     MP_EXTERN NSString *const MPNowPlayingInfoPropertyChapterNumber
     MP_EXTERN NSString *const MPNowPlayingInfoPropertyChapterCount
     MP_EXTERN NSString *const MPNowPlayingInfoPropertyAvailableLanguageOptions   MPNowPlayingInfoLanguageOptionGroup
     MP_EXTERN NSString *const MPNowPlayingInfoPropertyCurrentLanguageOptions

找到了一个对这些属性解说不错的文档:

蹩脚英文翻译系列:(未标注版本的键均为iOS8及以下可用)

NameTypemeaning MPMediaItemPropertyAlbumTitle NSString 专辑歌曲数 MPMediaItemPropertyAlbumTrackCount NSNumber of NSUInteger 专辑歌曲数 MPMediaItemPropertyAlbumTrackNumber NSNumber of NSUInteger 艺术家/歌手 MPMediaItemPropertyArtist NSString 艺术家/歌手 MPMediaItemPropertyArtwork MPMediaItemArtwork 封面图片 MPMediaItemArtwork类型 MPMediaItemPropertyComposer NSString 作曲 MPMediaItemPropertyDiscCount NSNumber of NSUInteger 专辑数 MPMediaItemPropertyDiscNumber NSNumber of NSUInteger 专辑编号 MPMediaItemPropertyGenre NSString 类型/流派 MPMediaItemPropertyPersistentID NSNumber of uint64_t 唯一标识符 MPMediaItemPropertyPlaybackDuration NSNumber of NSTimeInterval 歌曲时长 NSNumber类型 MPMediaItemPropertyTitle NSString 歌曲名称 MPNowPlayingInfoPropertyElapsedPlaybackTime NSNumber (double) 在播资源的时间流逝,s为单位。流逝时间会从播放时间和播放速率中自动计算,不合适频繁得更新 MPNowPlayingInfoPropertyPlaybackRate NSNumber (double) 在播资源的速率(保持与APP内播放器的速率一致) MPNowPlayingInfoPropertyDefaultPlaybackRate NSNumber (double) 在播资源的”默认”播放速率,当你的APP需要播放资源的播放速率默认都是大于1的,那么就应该使用这属性 MPNowPlayingInfoPropertyPlaybackQueueIndex NSNumber (NSUInteger) 应用重放队列中,当前播放项的索引。注意索引值从0开始 MPNowPlayingInfoPropertyPlaybackQueueCount NSNumber (NSUInteger) 应用重放队列的总资源数目 MPNowPlayingInfoPropertyChapterNumber NSNumber (NSUInteger) 这在播放的部分,索引值从0开始 MPNowPlayingInfoPropertyChapterCount NSNumber (NSUInteger) 在播资源的总章节数目 MPNowPlayingInfoPropertyIsLiveStream(iOS 10.0) NSNumber (BOOL) 表示当前的资源是不是实时流 MPNowPlayingInfoPropertyAvailableLanguageOptions(iOS 9.0) NSArrayRef of MPNowPlayingInfoLanguageOptionGroup 在播资源的一组可用的语言类型。在给定组中一次只能播放一种语言类型的资源 MPNowPlayingInfoPropertyCurrentLanguageOptions(iOS 9.0) NSArray of MPNowPlayingInfoLanguageOption 当前播放项目的语言选项列表 MPNowPlayingInfoCollectionIdentifier(iOS 9.3) NSString 表示当前播放资源所归属的那个集合的标识符,可指作者、专辑、播放列表等。可用于请求重新播放这个集合。 MPNowPlayingInfoPropertyExternalContentIdentifier(iOS 10.0) NSString 一个不暴露的唯一标志符,标志当前正在播放的item,贯穿APP重启。可使用任何格式,仅用于引用这个item和返回到正在播放资源的APP中 MPNowPlayingInfoPropertyExternalUserProfileIdentifier(iOS 10.0) NSString 一个可选型的不暴露的标志,标志当前正在播放的资源的配置文件,贯穿APP重启。可使用任何格式,仅用于返回到这个配置文件对应的正在播放视频的APP MPNowPlayingInfoPropertyServiceIdentifier(iOS 11.0) NSString 服务商的唯一标志。如果当前播放的资源属于一个频道或者是定于的服务类型,这个ID可以用于区分和协调特定服务商的多种资源类型 MPNowPlayingInfoPropertyPlaybackProgress(iOS 10.0) NSNumber (float) 表示当前播放资源的播放进度,0.0表示未开始,1.0表示完全浏览完。区分于ElapsedPlaybackTime,无需更高的精度要求。如:当字幕开始滚动时,这个电影可能被用户期望开始播放(由字幕驱动播放进度) MPNowPlayingInfoPropertyMediaType NSNumber (MPNowPlayingInfoMediaType) 指定当前媒体类型,用于确定系统显示的用户界面类型 MPNowPlayingInfoPropertyAssetURL(iOS 10.3) NSURL 指向当前正播放的视频或音频资源的URL。可将视频缩略图或者音频的波普图使用于系统的UI上

(2)参考到链接:https://www.jianshu.com/p/21396afffe62

2.锁屏下要显示歌曲信息的设置

从上文中,已经可以知道,用

MPNowPlayingInfoCenter *center = [MPNowPlayingInfoCenter defaultCenter];

来获取锁屏信息控制中心,然后把锁屏情况下要显示的图片、歌曲名字、歌手、歌词、时间等信息以字典的形式赋值给center的nowPlayInfo属性。

示例代码如下:

MPNowPlayingInfoCenter *center = [MPNowPlayingInfoCenter defaultCenter];
    NSMutableDictionary *infoDic = [NSMutableDictionary dictionary];
    [infoDic setObject:@"泡沫" forKey:MPMediaItemPropertyAlbumTitle];
    [infoDic setObject:@"歌手" forKey:MPMediaItemPropertyArtist];
    [infoDic setObject:[[MPMediaItemArtwork alloc] initWithImage:[UIImage imageNamed:@"61149b0491243c749fc871e67550a7f6"]] forKey:MPMediaItemPropertyArtwork];
    [infoDic setObject:@"200" forKey:MPMediaItemPropertyPlaybackDuration];
    [infoDic setObject:@"歌词" forKey:MPMediaItemPropertyTitle];
    center.nowPlayingInfo = infoDic;

3.锁屏远程事件的监听的简要说明:

(1)ios71.版本

可以用的是[[UIApplication sharedApplication] beginReceivingRemoteControlEvents];

然后监听remoteControlReceivedWithEvent:这个方法,

event的类中有UIEventSubtype的subtype。

subtype的类型如下:

typedef NS_ENUM(NSInteger, UIEventSubtype) {
    // available in iPhone OS 3.0
    UIEventSubtypeNone                              = 0,

    // for UIEventTypeMotion, available in iPhone OS 3.0
    UIEventSubtypeMotionShake                       = 1,

    // for UIEventTypeRemoteControl, available in iOS 4.0
    UIEventSubtypeRemoteControlPlay                 = 100,   //播放
    UIEventSubtypeRemoteControlPause                = 101,   //暂停
    UIEventSubtypeRemoteControlStop                 = 102,   //停止
    UIEventSubtypeRemoteControlTogglePlayPause      = 103,   //耳机上的播放暂停命令
    UIEventSubtypeRemoteControlNextTrack            = 104,   //下一首
    UIEventSubtypeRemoteControlPreviousTrack        = 105,   //上一首
    UIEventSubtypeRemoteControlBeginSeekingBackward = 106,   //开始后退
    UIEventSubtypeRemoteControlEndSeekingBackward   = 107,   //后退结束
    UIEventSubtypeRemoteControlBeginSeekingForward  = 108,   //开始快进
    UIEventSubtypeRemoteControlEndSeekingForward    = 109,   //快进结束
};
  • (void)remoteControlReceivedWithEvent:(UIEvent *)event {

NSLog(@”—event.type = %ld”, (long)event.subtype);

//在这里面监听操作的类型

}

(2)iOS7.1以后

可以使用MPRemoteCommandCenter这个类的方法,这个类提供了一个类方法:sharedCommandCenter;

提供一个不错可参考的链接:https://www.jianshu.com/p/b9cc97db16b8

MPRemoteCommandCenter是获取到这个单例对象后,使用共享的这个MPRemoteCommand对象,用于响应各种远程控制事件配置自己的需求。
如:像网易云音乐一样,在锁屏以及多媒体系统UI界面配置滑动播放进度(seekTime),下一曲,上一曲,喜欢,不喜欢等配置;

MPRemoteCommandCenter提供的配置信息如下:

// Playback Commands
@property (nonatomic, readonly) MPRemoteCommand *pauseCommand;   //暂停
@property (nonatomic, readonly) MPRemoteCommand *playCommand;    //播放
@property (nonatomic, readonly) MPRemoteCommand *stopCommand;    //停止
@property (nonatomic, readonly) MPRemoteCommand *togglePlayPauseCommand;  //耳机线控制暂停和播放
@property (nonatomic, readonly) MPRemoteCommand *enableLanguageOptionCommand MP_API(ios(9.0), macos(10.12.2));  //不知
@property (nonatomic, readonly) MPRemoteCommand *disableLanguageOptionCommand MP_API(ios(9.0), macos(10.12.2)); //不知
@property (nonatomic, readonly) MPChangePlaybackRateCommand *changePlaybackRateCommand;     //不知
@property (nonatomic, readonly) MPChangeRepeatModeCommand *changeRepeatModeCommand;         //不知
@property (nonatomic, readonly) MPChangeShuffleModeCommand *changeShuffleModeCommand;       不知

// Previous/Next Track Commands
@property (nonatomic, readonly) MPRemoteCommand *nextTrackCommand;    //下一首
@property (nonatomic, readonly) MPRemoteCommand *previousTrackCommand;  //上一首

// Skip Interval Commands
@property (nonatomic, readonly) MPSkipIntervalCommand *skipForwardCommand;  //快进几秒(如果与下一首同时设置,优先显示快进)
@property (nonatomic, readonly) MPSkipIntervalCommand *skipBackwardCommand; //快退几秒(如果与上一首同时设置,优先显示快退)

// Seek Commands
@property (nonatomic, readonly) MPRemoteCommand *seekForwardCommand;   //不知
@property (nonatomic, readonly) MPRemoteCommand *seekBackwardCommand;  //不知
@property (nonatomic, readonly) MPChangePlaybackPositionCommand *changePlaybackPositionCommand MP_API(ios(9.1), macos(10.12.2));

// Rating Command
@property (nonatomic, readonly) MPRatingCommand *ratingCommand;   //设置倍速,不知道在哪里显示

// Feedback Commands
// These are generalized to three distinct actions. Your application can provide
// additional context about these actions with the localizedTitle property in
// MPFeedbackCommand.

@property (nonatomic, readonly) MPFeedbackCommand *likeCommand;  //设置喜欢
@property (nonatomic, readonly) MPFeedbackCommand *dislikeCommand;  //设置不喜欢
@property (nonatomic, readonly) MPFeedbackCommand *bookmarkCommand;  //添加标签

设置的方式如下:

MPRemoteCommandCenter *rcc = [MPRemoteCommandCenter sharedCommandCenter];
    //添加暂停监听
   [rcc.pauseCommand addTarget:self action:@selector(playOrPauseEvent:)];

整体的代码如下:

//
//  ViewController.m
//  音效播放
//
//  Created by 珠珠 on 2019/10/31.

//  Copyright © 2019 珠珠. All rights reserved.

//

#import "ViewController.h"

#import
#import

@interface ViewController ()

@property (nonatomic,strong) AVAudioPlayer *player ;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    //设置音乐的后台播放,注意background mode中需要勾选上
    AVAudioSession *session = [AVAudioSession sharedInstance];
    [session setCategory:AVAudioSessionCategoryPlayback error:nil];

    //获取信息中心
    MPNowPlayingInfoCenter *center = [MPNowPlayingInfoCenter defaultCenter];
    //设置要锁屏要显示的基本信息
    NSMutableDictionary *infoDic = [NSMutableDictionary dictionary];
    [infoDic setObject:@"泡沫" forKey:MPMediaItemPropertyAlbumTitle];
    [infoDic setObject:@"歌手" forKey:MPMediaItemPropertyArtist];
    [infoDic setObject:[[MPMediaItemArtwork alloc] initWithImage:[UIImage imageNamed:@"61149b0491243c749fc871e67550a7f6"]] forKey:MPMediaItemPropertyArtwork];
    [infoDic setObject:@"200" forKey:MPMediaItemPropertyPlaybackDuration];
    [infoDic setObject:@"歌词" forKey:MPMediaItemPropertyTitle];
    //给信息中心赋值
    center.nowPlayingInfo = infoDic;
    //添加远程事件监听
    NSString *version= [UIDevice currentDevice].systemVersion;
    if(version.doubleValue ;

另参考链接:http://www.cocoachina.com/articles/15767

from: https://www.cnblogs.com/lyz0925/p/11792667.html

Original: https://www.cnblogs.com/xuan52rock/p/15020394.html
Author: 神奇的旋风
Title: 【转】OC-音乐播放器-锁屏处理

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/554126/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

  • kaldi 在线识别

    测试环境:Ubuntu16.04 建议:仔细地按照此教程来,有些人中间出错是因为没仔细按照教程的步骤和细节 文档更新时间:20180713 使用thchs30训练最后的识别准确率约…

    技术杂谈 2023年5月30日
    096
  • 剑指offer计划29(动态规划困难)—java

    1.1、题目1 剑指 Offer 19. 正则表达式匹配 1.2、解法 动态规划后面再研究 1.3、代码 class Solution { public boolean isMat…

    技术杂谈 2023年7月25日
    070
  • python小脚本,linux下实时查看网卡流量与pps

    个人博客地址 http://www.darkghost.life 可自定义刷新频率,最低为1秒,运行结束后进行结果汇总 #! /usr/bin/env python #-*-cod…

    技术杂谈 2023年7月25日
    076
  • 每天一个 HTTP 状态码 200

    200 OK 表示请求成功,一切安好… 200 OK 话不多说,这个状态码应该是最最最常用的了,无人不知,无人不晓;就是表示请求成功的意思, 你若安好,便是晴天。 摘自…

    技术杂谈 2023年7月11日
    094
  • spring整合mybatis

    <dependencies> <dependency> <groupid>mysql</groupid> <artifacti…

    技术杂谈 2023年7月11日
    0109
  • 国运之争 功在当下

    国运之争 中华复兴 郭继承讲的好 国运之争 系于当代,下一代 树报国志 成栋梁材 十年累积 三年中考 三年高考 四年大学 道德在内修心思价值观念 仁爱在外制态度情绪言行 业果在平时…

    技术杂谈 2023年5月31日
    0102
  • Mysql生成测试数据函数

    1、查看设置是否允许创建函数系统参数 show variables like ‘log_bin_trust_function_creators’; 2、临时设置允许创建函数系统参数…

    技术杂谈 2023年6月21日
    091
  • 让你的python文件可以独立运行

    让你学会pyinstaller 我们都知道,python文件必须要安装python,那么有没有一种方法使其可以独立运行呢?下面让我们了解一下 准备 安装pyinstaller 不会…

    技术杂谈 2023年7月11日
    0108
  • Netty源码分析之ChannelPipeline(四)—出站事件的传播

    上篇文章中我们梳理了ChannelPipeline中入站事件的传播,这篇文章中我们看下出站事件的传播,也就是ChannelOutboundHandler接口的实现。 1、出站事件的…

    技术杂谈 2023年7月25日
    084
  • harbor安装

    Harbor 简介 Docker容器应用的开发和运行离不开可靠的镜像管理,虽然Docker官方也提供了公共的镜像仓库,但是从安全和效率等方面考虑,部署我们私有环境内的Registr…

    技术杂谈 2023年7月11日
    076
  • Spring Boot 通用对象列表比较和去重

    1、前言 在Excel批量导入数据时,常常需要与数据库中已存在数据的比较,并且需要考虑导入数据重复的可能性。 导入的行数据,一般有一个实体类(对象)与之对应,往往这个实体类在数据库…

    技术杂谈 2023年6月21日
    098
  • OO第一单元总结

    OO第一单元总结 2022.3.22 陈一文 OO第一单元总结 – 2022.3.22 陈一文 Hw1 设计思路 程序分析 bug分析 测试思路 综合评价 Hw2 设计…

    技术杂谈 2023年7月25日
    081
  • 保姆教程系列一、Linux搭建Nacos

    前言: 请各大网友尊重本人原创知识分享,谨记本人博客:南国以南i 简介: Nacos是阿里巴巴开源的一款支持服务注册与发现,配置管理以及微服务管理的组件。用来取代以前常用的注册中心…

    技术杂谈 2023年7月11日
    0184
  • Rust:axum学习笔记(7) websocket

    接上一篇继续,今天来学习下如何用axum实现websocket,代码如下: Cargo.toml添加依赖项 cpp;gutter:true; [package] name = &q…

    技术杂谈 2023年5月31日
    0155
  • 小i机器人

    php;gutter:true; //机器人回复 function xiaoirobot($openid, $content) { //定义app $app_key = &quot…

    技术杂谈 2023年5月31日
    088
  • 融360蒋宏:自动化特征工程和自动建模在风控场景的应用

    01 背景和问题 目前,模型开发的流程越来越规范化,通常可以分为业务分析、样本准备、特征工程、模型构建、模型评估及监控这几个步骤。其中,特征工程和模型构建在建模的整个流程中依然非常…

    技术杂谈 2023年7月25日
    089
亲爱的 Coder【最近整理,可免费获取】👉 最新必读书单  | 👏 面试题下载  | 🌎 免费的AI知识星球