自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

专注机器学习之路

机器学习的理论与Python实践笔记

  • 博客(405)
  • 资源 (22)
  • 收藏
  • 关注

原创 200821-阿里云服务器ECS学生使用经验小节(非CS折腾了大半天)

标题进入阿里云高校特惠专场,免费注册并登陆https://promotion.aliyun.com/ntms/act/campus2018.html学习动手应用场景及在线学习课程,了解是否能够基本满足自己的需要https://edu.aliyun.com/roadmap/cloud?spm=5176.227096.J_6924649430.1.780d2604JPSddVhttps://edu.aliyun.com/developer?spm=5176.227096.1211930.6.2fb

2020-08-22 11:50:35 505

原创 200722-Seaborn绘制热力混淆矩阵自定义刻度

from sklearn.metrics import confusion_matriximport matplotlib.pyplot as pltimport seaborn as snsimport numpy as npsns.set()y_test = np.random.randint(1,8,100)y_pred = np.random.randint(1,8,100)fig = plt.figure()ax = fig.add_subplot(111)conf_ma

2020-07-23 05:47:48 3533

原创 200720-MacOS软件无法安装提示卸载

方法1: 命令行解锁先解锁sudo spctl --master-disable 后安装再锁定sudo spctl --master-enable方法2: MacOS命令行打开软件xattr -cr /Applications/Termius.app

2020-07-21 05:45:57 1796

原创 200629-Python实现Matlab中的mahal函数

Matlab中的mahal函数马氏距离的相关介绍Python自定义函数def mathal(Y,X): mean = X.mean(axis=0) # Calculate mean of X cova = np.linalg.inv(np.cov(X.T)) # Calculate covariance of X delta=Y-mean # Calculate distance between Y and .

2020-06-30 06:31:37 713 2

原创 200624 VSCode配置reStructedText

按照个官网步骤操作: https://docs.restructuredtext.net/articles/index.html有四个注意点:使用Python 3.x 版本选择语言:reStructedText(否则快捷键无效)点击conf.py后按照提示配置json文件如果source是一个独立的文件夹则需要如图配置,指定python的绝对路径.vscode/settings.json{ "restructuredtext.builtDocumentationPath": "${wor

2020-06-25 02:26:16 1220 1

原创 200518-如何提取Matlab中figure中的line数据

Ref: How do I extract data points from a plot?% Create data and plotx = linspace(-3,3,100)y1 = sin(x)y2 = cos(x)figure(1)subplot(2,1,1)plot(x, y1)subplot(2,1,2)plot(x, y2)% Get lines in subplotsh1 = findobj(subplot(2,1,1),'Type','line')xx

2020-05-19 07:10:12 1634

原创 200510-MacOS安装miniconda默认terminal中python版本的切换

==> For changes to take effect, close and re-open your current shell. <==If you'd prefer that conda's base environment not be activated on startup, set the auto_activate_base parameter to false: conda config --set auto_activate_base falseTh

2020-05-11 04:40:01 1102

原创 200429-SnippetMaker快速制作SublimeText3代码片段snippet

Step1: 安装SnippetMaker工具包Mac: Shift + Command + P : Install Package : SnippetMaker : 点击安装Win: Shift + Control + P : Install Package : SnippetMaker : 点击安装Step2: 选中代码片创建snnipet选中代码片段打开控制面板Mac: Sh...

2020-04-29 23:50:13 543

原创 200404-Word创建公式自动标注QuickPart及书签Bookmark交叉引用CrossReference

Using Quick Parts (PC) or AutoText (Mac) in Microsoft WordYoutube | How to Insert Equations Numbers in Word 2016更新数字代号的方式:Ctrl+all - Update all fields

2020-04-05 04:47:44 481

原创 200327-人体姿态估计OpenPose相关资料

论文资料Single-Network Whole-Body Pose EstimationOpenPose: Realtime Multi-Person 2D Pose Estimation using Part Affinity FieldsRealtime Multi-Person 2D Pose Estimation using Part Affinity FieldsB站视频...

2020-03-27 13:53:04 519

原创 200306-Pytorch旧版本及非系统显卡驱动安装

Reference:在LInux/ubuntu上安装特定版本的 Pytorch ,例如 0.3.1版本Pytorch historical version使用conda/pip安装pytorch 0.3.1教程(mac/windos/linux)Anaconda | PytorchStep1: 从跳板机gpu01切换到开发机gpu02或mu01(服务器无需跳转操作的可忽略)ssh...

2020-03-07 04:13:27 422

原创 191202-Outlook2019配置163邮箱的

选择手动配置imap选项 imap.163.com+ smtp.163.com第一次输入的是自己的邮箱密码,然后系统会自动配置检测,第二次输入账号授权码这是关键,不是密码!...

2019-12-03 07:35:19 7410 2

原创 191201 解决MagicMouse2速度延迟缓慢

打开terminal, 输入:defaults write -g com.apple.mouse.scaling -float 15.015 可以调节,数值越高,速度越快,推荐的15比较合适!

2019-12-02 11:32:14 5298

原创 191102-矩阵各元素除以每行元素之和

https://stackoverflow.com/questions/5527945/how-to-divide-matrix-elements-by-sum-of-row

2019-11-03 09:10:11 3840 1

原创 191012-MacOS升级后如何利用Safari配置IE代理

Step1Develop(开发模式)--> User Agent(用户代理)--> Other(其他)Step2Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0)

2019-10-13 03:44:10 19964 2

原创 190916-如何将MacOS中的F11-F12设置为正常的按键

How do I get F11 and F12 to behave like normal function keys?MacOS 系统默认F11为显示桌面 (Show Desktop),F12位显示仪表盘 (Show Dashboard),在偏好设置-任务控制(Mission Control)中将其设置为-即可。...

2019-09-16 21:17:33 4109

原创 190910-MacOS下如何查看程序输出的图像

Plot on Remote ServerXquartz下载地址:https://www.xquartz.org

2019-09-10 13:23:46 283

原创 190910-MacOS远程服务器Vim配置

MacOS下需要修改的配置修改编码方式set encoding=utf-8 修复delete删除操作set backspace=indent,eol,start修改Anaconda中envs里的python解释器的路径let g:ycm_python_binary_path = '/opt/software/anaconda3/envs/dlteam/bin/python3.6'...

2019-09-10 13:19:41 295

原创 190909-CentOS7.4用户规避管理员权限自升级Vim8.1

CentOS7 上Vim8升级安装指南wget https://github.com/vim/vim/archive/v8.1.0513.tar.gztar -xvzf v8.1.0513.tar.gzcd vim-8.1.0513/./configure --prefix=$HOME/.local && make && make install...

2019-09-09 21:48:02 369

原创 190814-CUDA Toolkit and Compatible Driver Versions

tensorflow的CUDA driver version is insufficient for CUDA runtime version 问题解决方案Table 1. CUDA Toolkit and Compatible Driver VersionsStatus: CUDA driver version is insufficient for CUDA runtime versio...

2019-08-14 10:34:04 642

原创 190728-matplotlib中imshow与matshow的插值显示方式

import matplotlib.pyplot as pltimport numpy as npmethods = [None, 'none', 'nearest', 'bilinear', 'bicubic', 'spline16', 'spline36', 'hanning', 'hamming', 'hermite', 'kaiser', 'quadric',...

2019-07-28 10:57:22 1581

原创 190618-Python重命名文件

import osos.rename('a.txt', 'b.kml')

2019-06-18 14:12:51 170

原创 190618-Python复制粘贴文件夹及其子文件

定义函数import shutildef copyDirectory(src, dest): if os.path.exists(PF): shutil.rmtree(PF) try: shutil.copytree(src, dest) # Directories are the same except shutil.Er...

2019-06-18 14:10:45 1088

原创 190618-Python内置函数文档__doc__

定义一个函数def fft_fea(test): ''' INPUTS: - test: loaded numpy data OUTPUTS: - f: scaled frequency along x-axis matrxi - A_adj: adjusted amplitude matrix ...

2019-06-18 11:03:57 681

原创 190614-MacOs上删除有道云笔记的缓存

$ rm -rf ~/Library/Containers/com.youdao.note.YoudaoNoteMac

2019-06-14 15:12:34 2145

原创 190527-Python调用Matlab引擎

Marlab Support | 安装用于 Python 的 MATLAB 引擎 APICSDN | 两步解决python调用Matlab的脚本和函数文件⚠️: matlabroot即电脑上安装matlab的路径Windowscd "matlabroot/extern/engines/python"python setup.py installMacOs 或 Linuxcd...

2019-05-27 08:51:56 590

原创 190523-Linux下如何免除询问强制复制覆盖文件

How to force cp to overwrite without confirmationyes | cp -rf xxx yyy

2019-05-23 19:01:30 766

原创 190509-如何停用GPU使用CPU进行深度学习模型的运行

方法一import osos.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID" # see issue #152os.environ["CUDA_VISIBLE_DEVICES"] = ""方法二$ CUDA_VISIBLE_DEVICES="" ./your_keras_code.pyCan Keras with Tensorfl...

2019-05-09 15:58:10 2262

原创 190424-PyCharm通过跳板机连接远程服务器

Remote Debugging with PyCharmPycharm使用跳板机远程调试PyCharm实现高效远程调试代码Pycharm如何在有跳板机(动态密码登录)的情况下如何配置远程解释器?PyCharm: Configuring multi-hop remote Interpreters via SSHopenssh config and authentication agen...

2019-04-24 21:32:41 12932 5

原创 190416-Ubuntu系统备份与还原

win10下安装Ubuntu16.04双系统Ubuntu系统备份Ubuntu系统备份和还原,从此避免系统重装备份思路一个Ubuntu系统由若干分区组成:/、/home、swap、/usr等。Ubuntu秉承的理念即万物皆文件。故此备份系统=备份分区=备份文件Ubuntu备份/系统/分区/文件的方法即:(从/根目录)压缩复制文件(到指定路径)。Ubuntu还原/系统/分区/文件的...

2019-04-16 09:59:53 2383

原创 190412-Matlab在写公式的时候如何对齐多行等式

https://ww2.mathworks.cn/matlabcentral/answers/371153-live-editor-how-to-align-equal-signs-in-latex-equations\begin{array}{rcl}X &=& (x_1, x_2, \dots, x_n) \ (n \ge 3) \\E &=& \{e_...

2019-04-12 19:43:58 2000

原创 190412-CSDN写博客时多行公式对齐

https://ask.csdn.net/questions/701470$$\begin{aligned}u \cdot n& =u n^T \\& = u(A A^{-1})n^T \\& =(uA)(A^{-1}n^T) \\& =(uA)((A^{-1}n^T)^T)^T \\& =(uA)(n(A^{-1})^T)^T \\&am...

2019-04-12 19:21:14 835 1

原创 190412-矩阵每行元素除以同一个数

matlab矩阵中每一行数除以一个数思路:将向量转变成矩阵,然后利用矩阵作除法代码p1 = reshape(linspace(1,9,9),3,3)p2 = p1r1 = p1 .*p2r2 = repmat(sum(r1,2),[1 3])r3 = r1./r2结果p1 = 1 4 7 2 5 8 ...

2019-04-12 15:07:35 11550

原创 190410-更改Matlab编辑器颜色为护眼色

预设-颜色-背景

2019-04-10 14:31:34 3780

原创 190410-4步利用EndNote批量下载参考文献及施引文献

参考文献如何利用EndNote批量下载文章Step1: 登陆Web of Science官网https://apps.webofknowledge.comStep2: 搜索需要检索的文章并点击进入Step3: 批量下载参考文献下滑到最后,查看参考文献,点击在 "引用的参考文献" 页面中查看全部结果,然后按照本文顶部参考文献方式, 选中需要的参考文献,另存为EndNot...

2019-04-10 12:03:06 17571 3

原创 190402-通过例子理解LSTM中的数据格式

在回归问题中的Keras-LSTM 在监督学习中的样本需要是以下3D格式:reshape input to be 3D [samples, timesteps, features]准备数据对于下面数据,样本个数m=10,每个样本的维度n=2,变量名称为var1 、var2。data = a = np.linspace(1,20,num=20).reshape((10,2))...

2019-04-02 14:50:13 5085 1

原创 190401-利用Pandas从大数据Excel文件中解析分列表Sheet的表单

Load Excel Spreadsheet As pandas DataframePandas: Looking up the list of sheets in an excel fileimport pandas as pd# 载入数据dframe = pd.ExcelFile('your_data.xls')# 读取Sheet名称sn = dframe.sheet_name...

2019-04-01 14:35:58 674

原创 190327-Matlab清除指定变量之外的所有变量

方法clearvars -except var1, var2, var3例子clear;clc;path = '../DATA/test';data = load(path);Ys1 = data.Ys1;Ys2 = data.Ys2;Ys3 = data.Ys3;Ys4 = data.Ys4;Yt = data.Yt;clearvars -except Ys...

2019-03-27 14:56:35 14014

原创 190326-Matlab求曲线二阶最大最小曲率及其位置

Determine the location of max curvature for a set of data绘制图形%%![在这里插入图片描述](https://img-blog.csdnimg.cn/20190326142215514.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_...

2019-03-26 14:27:35 1869

原创 190320-Matlab矩阵逐行进行函数运算

how to apply a function to all rows in a matrix? [duplicate]tmp.mA = reshape(1:9,3,3)arrayfun(@(n) myfun(A(n,:)), 1:size(A,1))function [b] = myfun(data)b = data(1)+2*data(2)+3*data(3);end&...

2019-03-20 13:25:56 1504

Tomaemon在RAG界面中用到的HuggingFace主题

Tomaemon在RAG界面中用到的HuggingFace主题

2024-08-31

matlab图形空白裁剪及子图调整

190313-1行命令裁剪Matlab图像空白及调整子图间距;

2019-03-13

SurfEasy-Chrome代理插件

SurfEasy-Chrome代理插件;SurfEasy-Chrome代理插件;SurfEasy-Chrome代理插件;

2018-04-22

recurrent neural network without a phd

recurrent neural network without a phd.pdf 出处:https://github.com/martin-gorner/tensorflow-rnn-shakespeare

2018-04-16

吴恩达-深度学习-第五课-第二周课件-截图版pdf版

吴恩达-深度学习-第五课-第二周课件-视频截图版pdf版(没找到对应的ppt版本),介意者请勿下载,欢迎分享ppt原版。

2018-04-14

windows10设置豆沙绿-双击执行即可

windows10设置豆沙绿-双击执行即可;windows10设置豆沙绿-双击执行即可

2018-03-29

A jupyter note result html file for Surface defect detection

A jupyter note result html file for Surface defect detection

2018-03-04

MNIST_data

MNIST_data手写体数字识别(友情提示-与py文件放在同一目录内): import tensorflow.examples.tutorials.mnist.input_data as input_data mnist_data = input_data.read_data_sets('MNIST_data', one_hot=True)

2018-02-05

Chrome and SurfEasy Extension for Linux

Chrome and SurfEasy Extension for Linux。Chrome and SurfEasy Extension for Linux.

2017-12-02

斯坦福大学凸优化课程Convex Optimization字幕及Youtube字幕下载代码

http://blog.csdn.net/qq_33039859/article/details/78476993

2017-11-08

windows10桌面美化

window10桌面美化 参见 http://blog.csdn.net/qq_33039859/article/details/78387485

2017-10-29

scipy-0.19.1-cp36-cp36m-win_amd64.whl

scipy-0.19.1-cp36-cp36m-win_amd64.whl

2017-07-16

a mov file with dog bark

a mov file with dog bark

2017-06-28

tensorflow model save and restore example

tensorflow model save and restore example

2017-06-15

tensorflow_gpu-1.2.0rc2-cp36-cp36m-win_amd64.whl

tensorflow_gpu-1.2.0rc2-cp36-cp36m-win_amd64.whl

2017-06-14

tensorflow-1.2.0rc2-cp36-cp36m-win_amd64.whl

tensorflow-1.2.0rc2-cp36-cp36m-win_amd64.whl

2017-06-14

deeplearning without a PHD (code print)

deeplearning without a PHD (code print)

2017-06-12

pdf code pass

pdf code pass

2017-06-12

deeplearning without a PHD

2017谷歌云大会,深度学习代码示例

2017-06-12

python ds evidence theory code

ds 证据理论 python 代码

2017-06-12

matlab ds evidence theory

ds 证据理论 matlab 代码

2017-06-12

《程序员的数学2-3》Ruby程序+Gnuplot+代码+勘误+win7补丁

《程序员的数学2-3》Ruby程序+Gnuplot+代码+勘误+win7补丁

2017-01-19

2017大数据发展趋势Top10白皮书

2016 was a landmark year for big data with more organizations storing, processing, and extracting value from data of all forms and sizes. In 2017, systems that support large volumes of both structured and unstructured data will continue to rise. The market will demand platforms that help data custod

2017-01-12

空空如也

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

TA关注的人

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