相关推荐
智能客服系统知识库数据清洗
数据清洗(Data Cleaning)是确保智能客服知识库高效运行的重要环节,主要涉及。| 分类 & 标签优化 | 重新组织 FAQ,创建关键字索引 || 定期更新 | 结合用户反馈,每 1-3 个月优化 |才能提供更优质、正确的回答,提升客户满意度!、Zendesk、Intercom 等)中,: FAQ 或客服回答中可能存在。,会影响 AI 匹配的准确性。是一个持续优化的过程,
Yii2中多表关联查询
准备条件: 1、首先准备两张表: customer(用户表)(id, name) order(订单表)(id, customer_id, price) customer 表和 order 表之间是一对多的关系,通过 customer_id 字段关联。 2、建立相应的模型文件 customer.php 和 order.php 文件。 <?php namespace app\m...
[arcgis插件]在批量出图时,如何把图层属性表以动态表格的形式插入到布局页面
在批量出图时,如何把图层属性表以动态表格的形式插入到布局页面。
php asarray,yii2的asArray()使用
Detect languageAfrikaansAlbanianArabicArmenianAzerbaijaniBasqueBelarusianBengaliBosnianBulgarianCatalanCebuanoChichewaChinese (Simplified)Chinese (Traditional)CroatianCzechDanishDutchEnglishEsperantoE...
cellchat安装
cellchat
傻白入门芯片设计,wafer/die/chip/cell(一)
芯片设计的一些基本概念
yii2 join 连表查询得不到关联表数据
join查询:$info = Customer::find()->select(['customer.*','user.*'])->innerjoin('user', 'user.id=customer.uid')->where(['customer.cid'=>10006])->one;如上代码,正确没问题,看文档也只介绍了怎么用,没有例子,然后一看查询结果,你炸了,只有主表数据,没有关联表use
物联网低功耗广域网NB-IoT开发(一):初识NB-IoT
(二)NB-IoT的关键特性: (三)NB-IoT的应用场景: 二、NB-IOT介绍
PHP Yii2联表查询数据,数据缺少解决办法
YII2 使用关联查询方法查询数据库内容,统计的条数没有错,但是出来的内容是缺少的: //封装一个查询语句 protected function orderWhere(){ $query = DataSummary::find()->alias('o'); $query->leftJoin(['os'=>Order::tableName()],'os.order_no = o.order_no') -
10、高阶ΣΔ调制器设计与优化
本文深入探讨了高阶ΣΔ调制器的设计与优化技术,重点介绍了NTF零点优化方法,通过分散单位圆上的零点分布提升信噪失真比(SQNR)。文章分析了量化噪声耦合技术如何有效提高噪声整形阶数,并对比了CIFB、CIFF、CRFB和CRFF等不同架构的性能特点。同时,详细阐述了基于稳定性与性能权衡的设计流程,结合Schreier的Delta-Sigma Toolbox实现NTF综合与仿真验证。内容涵盖从理论推导到实际设计步骤,为高阶ΣΔ调制器的稳定性提升与性能优化提供了系统性指导。
Android功耗系列专题理论之十三:MTK平台待机功耗问题分析方法
摘要:本文详细分析了MTK平台待机功耗问题的调试方法,重点介绍了SPM电源管理机制、26M时钟控制逻辑以及系统深睡眠状态的判断标准。文章提供了完整的Debug流程,包括日志抓取、唤醒源分析、SCP睡眠状态检查以及时钟/LDO状态排查等实用技巧,并给出硬件漏电点和软件配置异常的排查方案。针对不同模块(Modem/Conn/SSPM等)提供了具体的电源管理绕过命令,适用于功耗问题调试和低功耗模式验证场景。
Qwen3-Embedding-0.6B-4bit-DWQ部署指南:用mlx-lm在Mac本地部署嵌入模型API
本文介绍如何使用 mlx-lm 在 Mac 上本地部署 **Qwen3-Embedding-0.6B-4bit-DWQ** 文本嵌入模型,并快速搭建一个本地 Embedding API 服务。它是 Qwen3-Embedding-0.6B 官方模型针对 Apple Silicon 芯片的 4bit-DWQ 量化版本,权重仅约 320MB,8GB 内存的 MacBook 即可流畅运行,适合搜索、RA
深度学习工具包 DeepLearningToolbox
深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[](https://bitdeli.com/free "Bitdeli Badge")
Yii 2 数据库迁移(Migration)完全指南:用 `yii migrate` 命令体系掌控数据库结构演进
数据库迁移是 Yii 2 框架内置的数据库结构版本管理方案:它把数据库结构的每一次变化(建表、改列、加索引、初始化数据等)封装为可版本化、可回滚、可共享的 PHP 类,并交由 `yii migrate` 系列控制台命令统一管理。本文以 `docs/guide-fr/db-migrations.md` 为骨架,结合 Yii 2 仓库中 [Migration 基类](https://link.gitc
Probability and Statistics - 4th edition
Probability and Statistics - 4th edition
C# WinForm 基于DirectShow.dll编写的程序,可边预览边保存视频,音频和图片
基于微软的DirectShow.dll的二次开发1.自动识别连接的摄像头跟麦克风且可以对其进行选择(默认选中第一个)2.可录制wmv和avi两种格式的视频并且都带有音频,avi可以录制的分辨率和帧数进行选择,wmv默认进行了淸晰度优化如不喜欢可去除代码中有相关提示3.可在预览点开之后进行拍照,也可边录制视频边拍照4.添加了视频和音频的压缩功能(酌情使用)这次二次开发发现C#对DirectShow的相关信息太少,这次做完也不敢藏私共享出来,还望大家指正
ClosedXML 数据类型体系深度解析:单元格标量值、公式与求值期类型
> 本文以 [docs/concepts/types.rst](https://link.gitcode.com/i/1c6bf5839f9afed1f8dce98355fd6cb1) 为核心脉络,结合 ClosedXML 仓库源码(`ClosedXML/Excel` 下的 `XLCellValue`、`CalcEngine` 各类型实现)与测试用例,系统讲解工作簿中的值类型体系:单元格可存储的五
ET2012新版免狗免安装绿色软件
ET2012新版免狗免安祖昂绿色软件。,新界面,新视觉,
Yii2 - 使用ActiveData 分页数据有重复的问题
使用ActiveData 分页数据有重复的问题在写一个分页数据时,已经使用了一个字段来做排序,结果出现部分数据丢失,部分数据重新显示在不同的页上。 最初判断为使用 ActiveData 不当造成的。对比之前正常的代码,并没有发现问题。经过排查,当去掉加上的排序规则后,发现数据又能够正常显示完整,初步认定为排序规则出错。 解决方案:给排序加上一个主键倒序。完美实现 原因: 通过分页查询的s
Weylus跨平台远程控制终极指南:3步零门槛把平板变成电脑手写板
Weylus 是一款跨平台远程控制开源工具,无需在平板上安装任何 App,用浏览器就能把 iPad 或安卓平板变成电脑的图形手写板与触摸屏,支持鼠标控制、屏幕镜像与手写笔压感,Windows、macOS、Linux 三大系统全兼容。 ## 你的平板为什么一直"吃灰"?Weylus 解决了什么 很多人家里都躺着一台性能不错的平板,买来刷了几天视频,之后就再也没打开过。真正的问题在于:**平板的"
Yii 2 框架设计决策指南:路径别名、消息翻译、异常处理等 8 项核心约定及其源码依据
> **导读**:本文基于 Yii 2 框架内部文档 [design-decisions.md(波兰语版)](https://link.gitcode.com/i/f068edbee90430af9d3b32ac7c076e56) 展开,系统梳理了 Yii 核心团队在长期讨论后沉淀下来的 8 项设计决策——从"何时支持路径别名"、"何时翻译消息"到"全局异常处理机制",并逐条结合 [framewo
Yii 2 Html 辅助类完整实战指南:动态生成安全 HTML 标签、表单与资源引用
本篇技术指南以 Yii 2 框架的 `Html` 辅助类(`yii\helpers\Html`)为核心,讲解如何用静态方法高效、安全地生成动态 HTML 标签、表单控件、超链接、图片与资源引用。读完本文,你将掌握标签选项(属性)的完整处理规则、CSS class 与 style 的增删合并技巧、表单与 CSRF/请求方法模拟的底层机制,以及如何通过 `Html::encode()` 等 API 规
从部署到调优:闲鱼AI客服机器人 XianyuAutoAgent 完整指南
晚上11点手机震了:"在吗,商品还在吗?"凌晨2点有人砍价:"便宜100我就下单。"你躺在床上盘算还能让多少——这是闲鱼卖家的日常。手动回复一天花掉2到3小时不说,更贵的是错过的机会:深夜没人回,买家早就去了下一家。XianyuAutoAgent 就是为这个痛点做的:部署在一台电脑或服务器上,它能 7×24 小时接管闲鱼会话,自动应答、阶梯议价、回答技术问题,需要时你还能一键接管。 ## 📌
php中mysql优化法则_PHP数据库编程之一MySQL优化策略概述
本文简单讲述了PHP数据库编程之MySQL优化策略。分享给大家供大家参考,具体如下:前些天看到一篇文章说到PHP的瓶颈很多情况下不在PHP自身,而在于数据库。我们都知道,PHP开发中,数据的增删改查是核心。为了提升PHP的运行效率,程序员不光需要写出逻辑清晰,效率很高的代码,还要能对query语句进行优化。虽然我们对数据库的读取写入速度上却是无能为力,但在一些数据库类扩展像memcache、mon...
【ClickHouse】万字长文详述 ClickHouse 的探索与实践
我们详细介绍了 MergeTree 系列中的 MergeTree、ReplacingMergeTree、CollapsingMergeTree、VersionedCollapsingMergeTree 四种表引擎,还有 SummingMergeTree、AggregatingMergeTree 没有介绍,SummingMergeTree 是为不关心明细数据,只关心汇总数据设计的表引擎。
知识点总结
redis持久化的方式
2101



被折叠的 条评论
为什么被折叠?



