自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

小龙在线

整理一下自己的学习心得体会,方便以后查询。

  • 博客(23)
  • 资源 (94)
  • 收藏
  • 关注

原创 Tensorflow用SVM(高斯核函数)分类非线性数据

如果想分割非线性数据集,该如何改变线性分类器映射到数据集?答案是,改变SVM损失函数中的核函数。# Illustration of Various Kernels#----------------------------------## This function wll illustrate how to# implement various kernels in TensorF...

2018-02-27 18:09:46 8340 4

原创 Tensorflow用支持向量机来拟合线性回归

支持向量机可以用来拟合线性回归。 相同的最大间隔(maximum margin)的概念应用到线性回归拟合。代替最大化分割两类目标是,最大化分割包含大部分的数据点(x,y)。我们将用相同的iris数据集,展示用刚才的概念来进行花萼长度与花瓣宽度之间的线性拟合。相关的损失函数类似于max(0,|yi-(Axi+b)|-ε)。ε这里,是间隔宽度的一半,这意味着如果一个数据点在该区域,则损失等于0。...

2018-02-27 17:21:51 3343

原创 Tensorflow线性支持向量机的使用

本文将从iris数据集创建一个线性分类器。如前所述,用花萼宽度和花萼长度的特征可以创建一个线性二值分类器来预测是否为山鸢尾花。# Linear Support Vector Machine: Soft Margin# ----------------------------------## This function shows how to use TensorFlow to# cr...

2018-02-26 18:26:44 1147

原创 常用数学符号的LaTeX表示方法

行内公式单行公式(inline or displayed formulas)行内公式用单个$对,例如:$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$效果:∑ni=0i2=(n2+n)(2n+1)6∑i=0ni2=(n2+n)(2n+1)6\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}单行公式用$$,例如...

2018-02-26 16:20:24 5848

原创 用TensorFlow实现逻辑回归算法

本文将实现逻辑回归算法,预测低出生体重的概率。# Logistic Regression# 逻辑回归#----------------------------------## This function shows how to use TensorFlow to# solve logistic regression.# y = sigmoid(Ax + b)## We w...

2018-02-24 18:49:08 1803

原创 用TensorFlow实现弹性网络回归算法

弹性网络回归算法(Elastic Net Regression)是综合lasso回归和岭回归的一种回归算法,通过在损失函数中增加L1和L2正则项。本文使用多线性回归的方法实现弹性网络回归算法,以iris数据集为训练数据,用花瓣长度、花瓣宽度和花萼宽度三个特征预测花萼长度。# Elastic Net Regression# 弹性网络回归#-------------------------...

2018-02-24 17:03:25 2050 3

原创 用TensorFlow实现lasso回归和岭回归算法

也有些正则方法可以限制回归算法输出结果中系数的影响,其中最常用的两种正则方法是lasso回归和岭回归。lasso回归和岭回归算法跟常规线性回归算法极其相似,有一点不同的是,在公式中增加正则项来限制斜率(或者净斜率)。这样做的主要原因是限制特征对因变量的影响,通过增加一个依赖斜率A的损失函数实现。对于lasso回归算法,在损失函数上增加一项:斜率A的某个给定倍数。我们使用TensorFlow...

2018-02-24 16:46:30 2289

原创 用TensorFlow实现戴明回归算法

如果最小二乘线性回归算法最小化到回归直线的竖直距离(即,平行于y轴方向),则戴明回归最小化到回归直线的总距离(即,垂直于回归直线)。其最小化x值和y值两个方向的误差,具体的对比图如下图。 线性回归算法和戴明回归算法的区别。左边的线性回归最小化到回归直线的竖直距离;右边的戴明回归最小化到回归直线的总距离。线性回归算法的损失函数最小化竖直距离;而这里需要最小化总距离。给定直线的斜率和截距,则...

2018-02-24 16:31:26 1444

原创 改变损失函数和学习率来观察收敛性

改变损失函数和学习率来观察收敛性的变化。# Linear Regression: L1 vs L2# 改变损失函数和学习率来观察收敛性的变化#----------------------------------## This function shows how to use TensorFlow to# solve linear regression via the matri...

2018-02-24 14:36:22 7732

原创 用TensorFlow实现iris数据集线性回归

本文将遍历批量数据点并让TensorFlow更新斜率和y截距。这次将使用Scikit Learn的内建iris数据集。特别地,我们将用数据点(x值代表花瓣宽度,y值代表花瓣长度)找到最优直线。选择这两种特征是因为它们具有线性关系,在后续结果中将会看到。本文将使用L2正则损失函数。# 用TensorFlow实现线性回归算法#---------------------------------...

2018-02-24 11:59:57 2529

原创 用TensorFlow内建的Cholesky矩阵分解法实现矩阵分解的线性回归

用户对分解一个矩阵为多个矩阵的方法感兴趣的原因是,结果矩阵的特性使得其在应用中更高效。# 线性回归:矩阵分解法# 通过分解矩阵的方法求解有时更高效并且数值稳定#----------------------------------## This function shows how to use TensorFlow to# solve linear regression via ...

2018-02-24 11:08:22 1080

原创 Windows 10 64位下安装python2模块MySQLdb(MySQL-python)遇到的坑

开始在这儿下载了MSI安装包. 安装的时候需要python安装目录,配置信息在注册表里。 因为本地系统安装了两个版本的Python(2和3),手动修改的Python27安装目录。HKEY_CURRENT_USER\Software\Python\Pythoncore\2.7\InstallPath如果安装了一个版本的Python,可以使用Python脚本:# # ...

2018-02-23 13:39:23 1619

原创 用TensorFlow求逆矩阵和线性回归

线性回归算法能表示为矩阵计算,Ax=b。这里要解决的是用矩阵x来求解系数。注意,如果观测矩阵不是方阵,那求解出的矩阵x为x=(AT∗A)−1∗AT∗bx=(AT∗A)−1∗AT∗bx=(A^T*A)^{-1}*A^T*b。为了更直观地展示这种情况,我们将生成二维数据,用TensorFlow来求解,然后绘制最终结果。# 线性回归: 逆矩阵方法#-------------------------...

2018-02-06 20:06:41 1885

原创 TensorFlow实现模型评估

我们需要评估模型预测值来评估训练的好坏。 模型评估是非常重要的,随后的每个模型都有模型评估方式。使用TensorFlow时,需要把模型评估加入到计算图中,然后在模型训练完后调用模型评估。在训练模型过程中,模型评估能洞察模型算法,给出提示信息来调试、提高或者改变整个模型。但是在模型训练中并不是总需要模型评估,我们将展示如何在回归算法和分类算法中使用它。训练模型之后,需要定量评估模型的性能如

2018-02-06 11:02:06 7927

原创 TensorFlow实现创建分类器

创建一个iris数据集的分类器。 加载样本数据集,实现一个简单的二值分类器来预测一朵花是否为山鸢尾。iris数据集有三类花,但这里仅预测是否是山鸢尾。导入iris数据集和工具库,相应地对原数据集进行转换。# Combining Everything Together#----------------------------------# This file will perform bi

2018-02-05 16:02:00 1258

原创 TensorFlow实现随机训练和批量训练

TensorFlow更新模型变量。它能一次操作一个数据点,也可以一次操作大量数据。一个训练例子上的操作可能导致比较“古怪”的学习过程,但使用大批量的训练会造成计算成本昂贵。到底选用哪种训练类型对机器学习算法的收敛非常关键。 为了TensorFlow计算变量梯度来让反向传播工作,我们必须度量一个或者多个样本的损失。 随机训练会一次随机抽样训练数据和目标数据对完成训练。另外一个可选项是,一次大批量

2018-02-05 15:25:49 8122 3

原创 TensorFlow实现反向传播

使用TensorFlow的一个优势是,它可以维护操作状态和基于反向传播自动地更新模型变量。 TensorFlow通过计算图来更新变量和最小化损失函数来反向传播误差的。这步将通过声明优化函数(optimization function)来实现。一旦声明好优化函数,TensorFlow将通过它在所有的计算图中解决反向传播的项。当我们传入数据,最小化损失函数,TensorFlow会在计算图中根据状态相

2018-02-05 11:47:28 5019

原创 TensorFlow损失函数

损失函数(loss function)用来度量模型输出值与目标值(target)间的差值。# Loss Functions#----------------------------------## This python script illustrates the different# loss functions for regression and classificatio

2018-02-02 16:55:04 3485

原创 TensorFlow嵌入Layer-多个操作

import tensorflow as tfimport numpy as npsess = tf.Session()# 创建数据和占位符my_array = np.array([[1., 3., 5., 7., 9.], [-2., 0., 2., 4., 6.], [-6., -3., 0., 3.,

2018-02-02 16:51:58 599

原创 TensorFlow自定义Layer

import numpy as npimport tensorflow as tfimport osfrom tensorflow.python.framework import opsops.reset_default_graph()sess = tf.Session()x_shape = [1, 4, 4, 1]x_val = np.random.uniform(size=x

2018-02-02 16:49:52 3537

原创 Tensorflow图

import numpy as npimport tensorflow as tfimport osfrom tensorflow.python.framework import opsops.reset_default_graph()# 创建计算图sess = tf.Session()# 创建数据x_vals = np.array([1., 3., 5., 7., 9.])

2018-02-02 16:49:11 331

转载 MySql避免重复插入记录

方案一:使用ignore关键字如果是用主键primary或者唯一索引unique区分了记录的唯一性,避免重复插入记录可以使用:insert ignore into table_name(email,phone,user_id) values('test9@163.com','99999','9999'),这样当有重复记录就会忽略,执行后返回数字0,还有个应用就是复制表,避免重复记录

2018-02-02 14:14:07 2005

原创 Tensorflow安装(Ubuntu Python3.5)

安装环境Ubuntu 16.04.2 LTSPython 3.5.2选择版本仅支持CPU版本TensorflowGPU版本TensorFlow如果只是用来学习测试,建议安装第一个(CPU版本),此处用的这个版本。 产品线上就选第二个,毕竟性能更高一些,但是安装要稍微复杂一点。安装Python环境1.安装pip Virtualenv$ sud

2018-02-01 15:17:15 3143 1

安卓 RE文件浏览器,Root Explorer PRO Apk 4.10.3

Root Explorer app is the ultimate most powerful, most functional, and useful file manager for root users. Root explorer apk allows you to Access the whole of android’s file system including the secured ones. You can download 100% Original apk file of Root Explorer from our site without any survey or any other annoying process as well as provide you a detailed guide on using Root Explorer. There are many sites providing a modified version of root explorer that can cause damage to your device or

2022-11-22

x64dbg-snapshot-2022-10-18-22-09

An open-source binary debugger for Windows, aimed at malware analysis and reverse engineering of executables you do not have the source code for.

2022-10-28

C#用FiddlerCore抓包HTTP和HTTPS源码

C#用FiddlerCore抓包HTTP和HTTPS源码

2022-10-25

Kettle pdi-ce-9.3.0.0-428.zip

pdi-ce-9.3.0.0-428.zip Kettle

2022-09-26

ChromeDriver-92.0.4515.107.zip

ChromeDriver 包含Windows、Mac、Linux各个版本。 ---------ChromeDriver 92.0.4515.107 (2021-07-29)--------- Supports Chrome version 92 Resolved issue 3389: Host validation for ChromeDriver requests [Pri-2]

2021-08-12

xpdf-win64.zip

xpdf-tools-win-4.03 and XpdfReader-win64-4.03.

2021-02-14

ChromeDriver-87.0.4280.88.rar

---------ChromeDriver 87.0.4280.88 (2020-12-02)--------- Supports Chrome version 87 Resolved issue 2421: Delete old port-forwarding channels on android adb-server [Pri-3] Resolved issue 3474: Emulated mobile device list needs updating [Pri-3] Resolved issue 3507: Implement "get computed role" [Pri-]

2020-12-14

honglvdeng.rar

steg、Stegsolve.jar隐写。

2020-09-17

带exp的pwn测试文件

带exp的pwn测试文件、ret2text、ret2syscall、ret2shellcode、ret2libc、ret2csu、stack_pivoting、stack_smash

2020-09-12

单步跟踪法脱壳.zip

单步跟踪法脱壳、单步跟踪法脱壳、单步跟踪法脱壳、单步跟踪法脱壳、单步跟踪法脱壳用到的软件、单步跟踪法脱壳用到的软件、单步跟踪法脱壳用到的软件

2020-09-12

TraceMe.exe year.exe.rar

TraceMe.exe year.exe 反编译调试 TraceMe.exe year.exe 反编译调试 TraceMe.exe year.exe 反编译调试 TraceMe.exe year.exe 反编译调试

2020-09-12

flag.rar图片逆向排序

图片逆向排序图片逆向排序图片逆向排序图片逆向排序图片逆向排序图片逆向排序图片逆向排序图片逆向排序图片逆向排序图片逆向排序图片逆向排序图片逆向排序图片逆向排序图片逆向排序图片逆向排序

2020-09-09

coconut_tree.zip

图片隐写椰子树coconut tree,包含原图、生成图、python代码。方法是在图片里按规律设置特殊色值的点,缩写拼接起来就可以看到flag。

2020-08-30

sqlite-dll-win64-x64-3320300.zip

sqlite-dll-win64-x64-3320300 sqlite3.def和sqlite3.dll

2020-07-08

chromedriver_2.46.zip

----------ChromeDriver v2.46 (2019-02-01)---------- Supports Chrome v71-73 Resolved issue 2728: Is Element Displayed command does not work correctly with v0 shadow DOM inserts [[Pri-1]] Resolved issue 755: /session/:sessionId/doubleclick only generates one set of mousedown/mouseup/click events [[Pri-2]] Resolved issue 2744: Execute Script returns wrong error code when JavaScript returns a cyclic data structure [[Pri-2]] Resolved issue 1529: OnResponse behavior can lead to port exhaustion [[Pri-2]] Resolved issue 2736: Close Window command should handle user prompts based on session capabilities [[Pri-2]] Resolved issue 1963: Sending keys to disabled element should throw Element Not interactable error [[Pri-2]] Resolved issue 2679: Timeout value handling is not spec compliant [[Pri-2]] Resolved issue 2002: Add Cookie is not spec compliant [[Pri-2]] Resolved issue 2749: Update Switch To Frame error checks to match latest W3C spec [[Pri-3]] Resolved issue 2716: Clearing Text Boxes [[Pri-3]] Resolved issue 2714: ConnectException: Failed to connect to localhost/0:0:0:0:0:0:0:1:15756. Could not start driver. [[Pri-3]] Resolved issue 2722: Execute Script does not correctly convert document.all into JSON format [[Pri-3]] Resolved issue 2681: ChromeDriver doesn't differentiate "no such element" and "stale element reference" [[Pri-3]]

2020-06-29

chromedriver_84.0.4147.30.zip

包含chromedriver_linux64.zip、chromedriver_mac64.zip、chromedriver_win32.zip、notes.txt。 Supports Chrome version 84 Resolved issue 3420: after switching to the print window, the chromedriver stops responding Resolved issue 3421: Driver returns Cyrillic text without styles Resolved issue 3422: GetElementText breaks with prototype 1.6.0.3 Resolved issue 3434: Cannot get 'assert' messages from the 'browser' logs

2020-06-29

Magisk-v20.4+MagiskManager-v7.5.0+Magisk-uninstaller-20200323.zip

Magisk-v20.4 MagiskManager-v7.5.0 Magisk-uninstaller-20200323

2020-06-18

VirtualXposed_0.18.2.apk

VirtualXposed不需要解锁、不需要root、不需要解锁bootloader,就可以使用Xposed功能的APP

2020-06-10

阿里巴巴新版Java开发手册.rar

《Java 开发手册》是阿里巴巴集团技术团队的集体智慧结晶和经验总结,经历了多次大规模一 线实战的检验及不断完善,公开到业界后,众多社区开发者踊跃参与,共同打磨完善,系统化地整理 成册,当前的版本是泰山版。

2020-04-29

poppler-0.68.0_x86.7z

I have been using the Poppler library for some time, over a series of various projects. It’s an open source set of libraries and command line tools, very useful for dealing with PDF files. Poppler is targeted primarily for the Linux environment, but the developers have included Windows support as well in the source code. Getting the executables (exe) and/or dlls for the latest version however is very difficult on Windows. So after years of pain, I jumped on oDesk and contracted Ilya Kitaev, to both compile with Microsoft Visual Studio, and also prepare automated tools for easy compiling in the future. Update: MSVC isn’t very well supported, these days the download is based off MinGW. So now, you can run the following utilities from Windows! PDFToText – Extract all the text from PDF document. I suggest you use the -Layout option for getting the content in the right order. PDFToHTML – Which I use with the -xml option to get an XML file listing all of the text segments’ text, position and size, very handy for processing in C# PDFToCairo – For exporting to images types, including SVG! Many more smaller utilities

2019-10-25

quamotion-webdriver.0.123.3.win7-x64.zip

quamotion webdriver windows 64位,可以在windows x64下测试安卓,ios。

2019-08-15

selenium-server-standalone-3.141.59

selenium-server-standalone-3.141.59.jar selenium-server-standalone-3.141.59.jar

2019-01-08

mozilla firfox geckodriver v0.23.0 火狐 webdriver

This release contains a number of fixes for regressions introduced in 0.22.0, where we shipped a significant refactoring to the way geckodriver internally dealt with JSON serialisation. Removed The POST /session/{session id}/element/{element id}/tap endpoint was removed, thanks to Kerem Kat. Changed webdriver crate upgraded to 0.38.0. Fixed desiredCapabilities and requiredCapabilities are again recognised on session creation A regression in 0.22.0 caused geckodriver to recognise desired and required instead of the correct desiredCapabilities and requiredCapabilities. This will have caused significant problems for users who relied on this legacy Selenium-style session creation pattern. Do however note that support for Selenium-styled new session requests is temporary and that this will be removed sometime before the 1.0 release. duration field made optional on pause actions A regression in 0.22.0 caused the pause action primitive to require a duration field. This has now been fixed so that pauses in action chains can be achieved with the default duration. Log level formatted to expected Marionette input A regression in 0.22.0 caused the log level to be improperly formatted when using Firefox pre-releases. This is now fixed so that the requested log level is correctly interpreted by Marionette. temporary field on addon installation made optional A regression in 0.22.0 caused the temporary field for POST /session/{session id}/moz/addon/install to be mandatory. This has now been fixed so that an addon is installed permanently by default. SHA1s in version information uses limited number of characters The SHA1 used in --version when building geckodriver from a git repository is now limited to 12 characters, as it is when building from an hg checkout. This ensures reproducible builds.

2018-11-20

ChromeDriver v2.44

----------ChromeDriver v2.44 (2018-11-19)---------- Supports Chrome v69-71 Resolved issue 2522: Test ChromeDriverTest.testWindowMaximize is failing on Mac build bot on Waterfall [[Pri-2]] Resolved issue 2615: Incorrect 'alert open error' for window handle call [[Pri-2]] Resolved issue 2649: Element Send Keys should get "text" property in W3C mode [[Pri-2]] Resolved issue 1995: XML special case of Is Element Enabled is not handled as per spec [[Pri-2]] Resolved issue 1994: XML special case of Get Element CSS Value is not handled as per spec [[Pri-2]] Resolved issue 2655: Set Window Rect needs to check for invalid input [[Pri-3]] Resolved issue 2597: Support new unhandledPromptBehavior modes [[Pri-3]]

2018-11-20

APK反编译工具apktool-dex2jar-luyten-jd-gui

apk反编译工具: apktool 查看apk资源文件 dex2jar 把dex转换成jar luyten 查看jar源码,支持jdk新版 jd-gui 查看jar源码,需要jdk 1.7.0

2018-10-17

ChromeDriver 2.39 win32

ChromeDriver - WebDriver for Chrome windows10 ChromeDriver - WebDriver for Chrome windows10

2018-05-31

强化学习在阿里的技术演进与业务创新

强化学习在阿里的技术演进与业务创新 当前的机器学习算法⼤致可以分为有监督的学习、⽆监督的学习和强化学 习(Reinforcement Learning)等。强化学习和其他学习⽅法不同之处在于强化学 习是智能系统从环境到⾏为映射的学习,以使奖励信号函数值最⼤。

2018-02-06

TensorFlow机器学习实战指南中英双语版-epub和pdf格式

TensorFlow机器学习实战指南中英双语版-epub和pdf格式 中文版只有epub格式,英文版两种格式都有。

2018-01-31

SVG精髓(第2版) (图灵程序设计丛书) 英文版

《SVG精髓(第2版)》通过实例透彻讲解了SVG(可缩放矢量图形)这种标记语言的规范及应用。作者从简单的SVG应用开始,带领读者逐步探索了SVG的复杂功能,包括滤镜、变换、渐变和模式。从应用层面看,本书涵盖了动画、交互图形和动态SVG编程等技术,不仅能为有经验的开发人员提供重要参考,同时通过讲解基本的XML和CSS技术,为没有Web开发经验的读者提供了入门捷径。

2017-10-26

Linear Algebra and Its Applications 5th Edition (David C. Lay)全书9-10章及所有答案

Linear Algebra and Its Applications 5th Edition (David C. Lay)全书9-10章及所有答案

2017-10-25

网络安全思维导图

网络安全思维导图,网络安全思维导图 网络安全思维导图 网络安全思维导图 网络安全思维导图来源:http://lanxiaomi.blog.51cto.com/4554767/1964958

2017-09-19

《Windows程序设计》第五版 源码

《Windows程序设计》第五版 珍藏版 源码 一共二十三章 本书介绍了在Microsoft Windows 98、Microsoft Windows NT 4.0和Windows NT 5.0 下程序写作的方法。这些程序用C语言编写并使用原始的Windows Application Programming Interface(API)。

2017-09-11

moco-runner-0.11.1-standalone

测试服务框架moco-runner-0.11.1-standalone

2017-06-21

hanlp-portable-1.3.2.jar

HanLP是由一系列模型与算法组成的Java工具包,目标是普及自然语言处理在生产环境中的应用。不仅仅是分词,而是提供词法分析、句法分析、语义理解等完备的功能。HanLP具备功能完善、性能高效、架构清晰、语料时新、可自定义的特点。

2017-04-18

emmet PythonScript 打包压缩文件

官网下载太慢,留下来,以作备份。 压缩包里包含以下文件: emmet-npp.zip PythonScript_1.0.8.0.msi

2017-03-20

simplehtmldom

php解析html类库 解析器不仅仅只是帮助我们验证html文档;更能解析不符合W3C标准的html文档。它使用了类似jQuery的元素选择器,通过元素的id,class,tag等等来查找定位;同时还提供添加、删除、修改文档树的功能。当然,这样一款强大的html Dom解析器也不是尽善尽美;在使用的过程中需要十分小心内存消耗的情况。不过,不要担心; https://github.com/samacs/simple_html_dom

2014-05-12

Joomla k2组件 K2_v2.6.8

Joomla k2组件 K2_v2.6.8 Joomla内容扩展组件,功能非常强大,类似Drupal的CCK。

2014-05-12

netbeans-8.0-php-windows

netbeans 8.0 php windows

2014-04-16

openx 2.8.7 最全汉化包

openx 2.8.7 最全汉化包 安装位置:\lib\max\language 备份原来的zh_CN文件夹

2014-03-08

phpcms phpcms_v9.5.0_UTF8

phpcms_v9.5.0_UTF8 中文UTF8版本 phpcms v9

2014-03-08

空空如也

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

TA关注的人

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