自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (4)
  • 收藏
  • 关注

原创 nrm报错解决(ERR_INVALID_ARG_TYPE)方法

好些年不碰开发,变化很大,安装nrm的时候报错,如下:internal/validators.js:120throw new ERR_INVALID_ARG_TYPE(name, ‘string’, value);^[TypeError [ERR_INVALID_ARG_TYPE]: The “path” argument must be of type string. Received undefinedat validateString (internal/validators.js:120:

2021-02-04 22:30:18 12627 15

原创 tensorflow常用保存

1、tf.concat([tensor1, tensor2, tensor3,...], axis)t1 = [[1, 2, 3], [4, 5, 6]] t2 = [[7, 8, 9], [10, 11, 12]] tf.concat([t1, t2], 0) # [[1, 2, 3], [4, 5, 6], [7, 8, 9], [10, 11, 12]] tf.concat...

2019-06-24 10:41:17 334

原创 word2vec 模型理解分析的博客保存

http://www.hankcs.com/nlp/word2vec.htmlhttps://www.jianshu.com/p/1c73e01f9e5c做Graph相关paper,提到Skip-gram和Nagitive采样,有些记忆混淆,特地查阅读相关博客1) CBOW 和Skip-Gram的区别为多对一和一对多的关系2)传统的语言Embedding模型是纯粹基于神经网络的,输...

2019-06-17 15:13:00 609

原创 显著性测试,p-value/p值

p-value的意义就是当前模型要显著的好于别的模型,先计算chi-square值,然后根据值去查卡方图,得到p-value值,大于0.05(经验值),则说明拒绝假设H0的概率小,H0成立。比如硬币真假,如果7次反面,3次正面,计算chi-square的值为1.7,根据卡方图,p值介于0.25~0.1之间,大于0.05,则为真币。算法模型中,可以比较logloss,auc,如果p-value远...

2019-05-30 15:34:31 9115 1

转载 【转】自动特征工程-隐式和显式特征交互的区别

https://blog.youkuaiyun.com/wydbyxr/article/det自动特征工程  自动工程的三个方向,隐式特征组合(如NN,FM),半显式特征组合(如GBDT)与显式特征组合(显式特征叉乘)。隐式特征组合  主要特点是对连续值特征非常友好,最成功的应用场景是语音和图像但是深度神经网络并不是万能的,在深度学习中,高维离散特征的变量处理非常复杂,同时缺乏可解释性,过于黑盒化...

2019-05-19 15:28:30 3046

原创 seaborn的heatmap,attention必备

个人参考,大家随意,paper要用到,发现晚上废话一堆,啰里巴嗦,自己看文档做个留存import matplotlib.pyplot as pltimport seaborn as snsimport numpy as npsns.heatmap(x, annot=True, fmt='.2f', cmap='RdPu')//annot:显示value,fmt:格式化小数点位数,cm...

2019-05-19 14:19:34 1556 3

Flash 整合Unity3D 教程

Flash 整合Unity3D 教程 例子 public class MyLoader extends Sprite implements IUnityContentHost { private var unityContentLoader:UnityContentLoader; public function MyLoader() { var params:UnityLoaderParams = new UnityLoaderParams(false,720,400,false); unityContentLoader = new UnityContentLoader("UnityContent.swf", this, params, false); unityContentLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onUnityContentLoaderProgress); unityContentLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onUnityContentLoaderComplete); unityContentLoader.loadUnity(); } private function onUnityContentLoaderProgress(eventrogressEvent):void { //Respond to load progress } private function onUnityContentLoaderComplete(event:Event):void { addChild(unityContentLoader); unityContentLoader.unityContent.setContentHost(this); } //unityInitStart has to be implemented by whatever implements IUnityContenthost //This is called when the content is loaded and the initialization of the unity engine is started. public function unityInitStart():void { //Unity engine started } //unityInitComplete has to be implemented by whatever implements IUnityContenthost //This is called when the unity engine is done initializing and the first level is loaded. public function unityInitComplete():void { unityContentLoader.unityContent.sendMessage("Main Camera","SetResponder",{responder:this}); } ... },

2012-12-02

Andriod启动Service定时向服务发送请求(自己写),并震动

该工程是花了大半天时间查阅相关资料之后,在找到一个老外的demo基础上修改的,个人觉得对小白还是比较有用的. 包中并没有写访问服务端部分,这个有点累赘,和我们普通的http请求没有区别. 至于震动,铃声类的,看了下文档,都很简单,象征性的做了一下.

2014-08-20

Flash 和untiy3D集成[附网上找的Demo]

就是Unity3D和Flash的集成罗,源码奉上

2012-12-02

flash11.2新功能,Flex屏蔽右击菜单

屏蔽右击菜单,或者设计您的菜单,不需要那些js啦,废话少说。 就为了赚点资源分,没办法,不能做伸手dang。

2012-04-26

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除