利用R.Net進行數據統計分析
Using R in C#.net;
R is a free software environment for statistical computing and graphics. It compiles and runs on a wide variety of UNIX platforms, Windows and MacOS.
1.install R of windows platform(32bit or 64bit)
2.create a console demo program, and install package R.NET.Community via nuget
3.be careful of your console program build target platform should be the same with R (32bit or 64bit)
4.if you don't register the R tool's env variable, you should config in your initial code
REngine.SetEnvironmentVariables(@"C:\Program Files\R\R-3.4.2\bin\x64", @"C:\Program Files\R\R-3.4.2");
fitting-three-parameter-log-normal-distribution-in-R
LL3 <- function(X, m, s, t)(1/((X-t)*s*(2*pi)^0.5))*exp(((-(log(X-t)-m)^2)/(2*s^2)))
https://stackoverflow.com/questions/23631746/fitting-three-parameter-log-normal-distribution-in-r
https://link.springer.com/chapter/10.1007/978-94-017-1431-0_7?no-access=true
OpenCV 人脸识别 Demo
1. download Emgu installation package, install(extract)
2. new winform application, add reference
D:\Emgu\emgucv3.2.0.2682\bin\Emgu.CV.World.dll
D:\Emgu\emgucv3.2.0.2682\bin\Emgu.CV.UI.dll
3.add components to visual studio toolbox:
load Emgu.cv.ui.dll
toolbox-->chooseitems->browse to the dll, and load it
4.copy the required dll to your executable directories, or add those libraries to path.
add to %path%
D:\Emgu\emgucv3.2.0.2682\bin\x64
or copy those dlls to
D:\VS2005-Home\OpenCVTest\OpenCVTest\bin\Debug
5.you can start demo now.
放点干货分享,很简单,希望能帮到一些人, 顺便赚点分数可以下载其他资源
Javascript 实现的二维码产生/读取
Javascript 实现的二维码产生/读取, 纯javascript实现
NHibernate Demo
NHibernate 演示,Visual Studio2008, asp.net
基于Oracle自带范例HR数据库做一个一个简单的演示,实现数据库的增加,删除,修改,查询,我用的是Oracle9208,代码简单,就算不能运行,也可以参考,简单改一下可以连接你自己的数据库Table演示, 演示特性如下:
1.增加连接多DB功能,强化Session管理功能
2.增加httpmodule自动关闭功能, Application_EndRequest 处理过程中关闭所有打开连接
3.程式中使用只需要打开连接,不需要关闭
4.ISession session = NHibernateHelper.GetSession("HR"); 带参数的需要在Config中增加NHConfigSettings节,格式同AppSettings
.GetCurrentSession();不带参数的情况下Web.config中一定要有hibernate-configuration节
5.连接是单线程的,在整个httpRequest处理过程中是公用的,缓存在HttpContext context中 see ref NHibernateHelper.getSession...
6.增加log4net演示,这是一个强大的log记录组件.
這個免費OR Mapping的工具很強大, 好用.
Oracle 9i fundamental I [PPT]
Oracle fundamental presentation
Java与设计模式[PPT]
通俗,简洁,还配有简短的代码实现,真的很实惠哦,时常翻阅,功力渐增