- 博客(2)
- 资源 (23)
- 收藏
- 关注
BCGControlBarPro 28 vs2010 x64 x86 mfc 界面
mfc 界面插件,包含office各类界面源码,亲测vs2010 x64 x86可用。vs2017 不稳定。
2019-06-17
pdf 免费水印 libharu vs2010 64 DLL 源码
工作需要在vs2010 64为开发环境下使用水印,在网上找到了libharu。优势:免费又可以做水印。 文档说明: libharu\libhpdf为64位编译dll的项目,libharu\libhpdf\x64路径下的debug和release为对应的64为下编译的dll文件。 已经使用验证,很好使用。
2019-06-03
二维码生成和识别.rar
要做二维码的读写,在网上找了很多资源,都不能直接测试使用,整合了问题和处理,整理一下发布。二维码使用zbar库,解决其中乱码问题。使用vs2010作为编译环境,把zbar编译dll真个项目打包,把测试二维码生成和识别例程打包。以x64为例。
2019-06-03
python实现歌声伴奏分离实验与开发
ReadMe
Release Version
beta_1.0
index.py
imageMatlab.py
This is more or less a wrapper for Matplotlib imaging functions such that their behavior is equivalent, in terms of colormap, aspect and so forth, to the expected behavior of Matlab's functions.
sepVocal.py
This script can be used to execute the desired separation. See below for an example of use of this file.
SIMM.py
This script implements the actual algorithm for parameter estimation. It is mainly used by sepVocal.py.
tracking.py
The Viterbi decoding algorithm is implemented in this script.
Requirements:
These scripts have been tested with Python 2.7,
The packages that are required to run the scripts are pydub,ffmepg, Numpy, Spicy, Matplotlib. One can respectively find the latest versions at the following addresses:
http://pydub.com/
https://ffmpeg.org
http://numpy.org/
http://scipy.org/
http://matplotlib.sourceforge.net/
Notes:
Prefer recent versions of the above packages, in order to avoid compatibility issues, notably for Matplotlib. Note that this latter package is not necessary for the program to run, although you might want to watch a bit what is happening!
Spicy should be version 0.8+, since we use its io.wavefile module to read the wave files. We once used the audio lab module, but it would seem that it is a bit more complicated to install (with the benefit that many more file formats are allowed).
Usage:
The easy way to use these scripts is to run the exec package of our release version: http://www.github.com/beata_1.0
for more develop: you can run the index.py on pycharm directly.
note: the output files will create under you source wav file.
ContactMe
Email:xlzhang14@fudan.edu.cn
2017-01-11
python实现说话人识别实验与开发
Auto Speaker Recognition
main.py
the main file for test
audio_record.py
record audio from micro phone
count_days.py
count days between two date. 20110805 20160903
mfcc_feature.py
extract mfcc feature from wav files
SGD.model*
the trained model on train set , and the accurate is 70%
util.py
contains the most useful functions
train
train data is 75% of all the data
test
test data is 25% of all the data and has no overlap with train set
classification_SGD.py
is the main classification function py file , and it used the sklearn's SGD
niter was set 10000 could get 70% of accurate.
classification_BNB.py
this is the sklern naive_bayes BernoulliNB , and it reach to just 56%
classification_DT.py
this is the sklern tree.DecisionTreeClassifier , and it reach to just 63%
classification_GB.py
this is the sklern GradientBoostingClassifier, and it reach to the best now of 76% when n_estimators=1000, but it produce too many model components to store.
classification_GNB.py
this is the sklern naive_bayes GaussianNB, and it reach to just 63%
vote_result.py
add a vote decsion , every method have the acurrcy number ticiks to vote the final answer. after the vote , we achived 96% at test set.
beta1.0
2017-01-11
IEEEtran 最新LaTeX模板
August 26, 2015
IEEEtran is a LaTeX class for authors of the Institute of Electrical and
Electronics Engineers (IEEE) transactions journals and conferences.
2016-04-18
RBM代码实现MATLAB
This is a small library that can train Restricted Boltzmann Machines, and also Deep Belief Networks of stacked RBM's.
Train RBM's:
%train an RBM with binary visible units and 500 binary hidden
model= rbmBB(data, 500);
%visualize the learned weights
visualize(model.W);
Do classification:
model= rbmFit(data, 500, labels);
prediction= rbmPredict(model, testdata);
Train a Deep Belief Network with 500,500,2000 architecture for classification:
models= dbnFit(data, [500 500 2000], labels);
prediction= dbnPredict(models, testdata);
see included example code for more
I can be contacted on andrej.karpathy@ gmail.
NOTE: This was a class project that I worked on for 1 month and then abandoned development for almost 4 years ago. Please do not send me specific questions about issues with the code or questions on how to do something. I only put this code online in hope that it can be useful to others but cannot fully support it.
If you would like pointers to more actively maintained implementations, have a look here (https://github.com/rasmusbergpalm/DeepLearnToolbox) or maybe here (https://github.com/lisa-lab/DeepLearningTutorials)
Sorry and best of luck!
原文:http://code.google.com/p/matrbm/
2015-03-30
基于深度自编码(DBN)的手写体识别代码实现
Code provided by Ruslan Salakhutdinov and Geoff Hinton
Permission is granted for anyone to copy, use, modify, or distribute this program and accompanying programs and documents for any purpose, provided this copyright notice is retained and prominently displayed, along with a note saying that the original programs are available from our web page. The programs and documents are distributed without any warranty, express or implied. As the programs were written for research purposes only, they have not been tested to the degree that would be advisable in any important application. All use of these programs is entirely at the user's own risk.
How to make it work:
1. Create a separate directory and download all these files into the same directory
2. Download from http://yann.lecun.com/exdb/mnist the following 4 files:
o train-images-idx3-ubyte.gz
o train-labels-idx1-ubyte.gz
o t10k-images-idx3-ubyte.gz
o t10k-labels-idx1-ubyte.gz
3. Unzip these 4 files by executing:
o gunzip train-images-idx3-ubyte.gz
o gunzip train-labels-idx1-ubyte.gz
o gunzip t10k-images-idx3-ubyte.gz
o gunzip t10k-labels-idx1-ubyte.gz
If unzipping with WinZip, make sure the file names have not been changed by Winzip.
4. Download Conjugate Gradient code minimize.m
5. Download Autoencoder_Code.tar which contains 13 files OR
download each of the following 13 files separately for training an autoencoder and a classification model:
o mnistdeepauto.m Main file for training deep autoencoder
o mnistclassify.m Main file for training classification model
o converter.m Converts raw MNIST digits into matlab format
o rbm.m Training RBM with binary hidden and binary visible units
o rbmhidlinear.m Training RBM with Gaussian hidden and binary visible units
o backprop.m Backpropagation for fine-tuning an autoencoder
o backpropclassify.m Backpropagation for classification using "encoder" network
o CG_MNIST.m Conjugate Gradient optimization for fine-tuning an autoencoder
o CG_CLASSIFY_INIT.m Co
2015-03-30
6Kv变电所及低压配电系统设计
摘 要
供配电CAD技术是计算机技术在电气工程设计领域的另一应用。但是我国供配电CAD技术仍停留在绘图和计算相分离的阶段,还未形成一体化的CAD系统,而供配电系统的设计是一项复杂的工程,它包括需求分析、各级负荷容量的确定、高低压配电系统设计、变电所设计等,需要分析计算和绘制大量的图纸,工作量庞大。
本文针对上述情况,分析研究了6kV及以下低压供配电系统的设计原则和设计内容,查找设计资料、设计规程规范、各种相关电气设计手册,了解设计需要的各种数据,并在研究了电气图形、供配电方案、数据间内在联系机理及其关系的基础上,对供配电系统进行拓扑描述和结构识别;建立了6kV及以下低压供配电一次部分的变压器、线路、断路器、电压电流互感器、熔断器、开关等主要设备元件对象的描述方法和关联知识规则;采用面向对象技术和图示化技术,设计了表达电气设备特征的基本图元库、支路图元库及模板图形库;创建了实现分析计算、绘图、数据处理一体化的供配电一次CAD系统的总体结构框架,完成了负荷计算与无功补偿、变压器选型、主结线确定、电气设备选型等各功能模块的设计;并能同时进行图形输出和各种文档的打印输出。
本系统基于windows操作平台,采用可视化编程语言Visual Basic和通用绘图软件AutoCAD作为开发工具,运用专家系统支持的智能化技术、ActiveX二次开发AutoCAD技术和数据库技术,实现了低压供配电设计、数据处理和绘图一体化。并在最后以一个机械厂变配电所的设计实例表明了系统设计的正确性和有效性。本文对6Kv及以下低压供配电CAD系统研究的目的是为了更好的提高工作效率,促进低压供配电CAD技术的发展,使配电设计技术能向更高层次的、集成化的、智能化的和标准化的方向发展,是电气设计工作人员工作的发展方向。
关 键 词:变电所;低压配电;自动化系统
2014-04-03
RVM相关向量机实现代码matlab源码
%Demonstrates the mcrvm algorithm on a toy example (Three class classification problem). Part of the code was
%derived from Tipping's matlab code.
% @file mcrvm_example.m
% Author Arasanathan Thayananthan ( at315@cam.ac.uk)
% (c) Copyright University of Cambridge
%
% This library is free software; you can redistribute it and/or
% modify it under the terms of the GNU Lesser General Public
% License as published by the Free Software Foundation; either
% version 2 of the License, or (at your option) any later version.
%
% This library is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
% Lesser General Public License for more details.
%
% You should have received a copy of the GNU Lesser General Public
% License along with this library; if not, write to the Free Software
% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2014-04-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人