码迷,mamicode.com
首页 > 2018年01月25日 > 全部分享
树状数组学习
树状数组的功能和线段树一样。但是,这个东西是真的好写@。@ 学习的博客:树状数组 树状数组主要的话可以实现三个功能①单点修改,区间查询②区间修改,单点查询.3、区间修改,区间查询。树状数组和线段树思想有点像,就是通过某个点的值来代替区间值,实现区间的运算。 首先,一个很重要的操作是(x&-x)这个式 ...
分类:编程语言   时间:2018-01-25 23:11:53    阅读次数:355
图像跟踪
1功能 ...
分类:其他好文   时间:2018-01-25 23:11:45    阅读次数:275
EM算法(转)
下面主要介绍EM的整个推导过程。 回顾优化理论中的一些概念。设f是定义域为实数的函数,如果对于所有的实数x,,那么f是凸函数。当x是向量时,如果其hessian矩阵H是半正定的(),那么f是凸函数。如果或者,那么称f是严格凸函数。 Jensen不等式表述如下: 如果f是凸函数,X是随机变量,那么 特 ...
分类:编程语言   时间:2018-01-25 23:11:29    阅读次数:204
忘记MySQL root密码,如何不重启修改
说个前提:mysqld可以处理kill命令发送的信号,如SIGHUP、SIGTERM,SIGHUP信号产生的行为类似于flush命令。 不重启找回root密码首先需要有个较低权限的账号,比如可以修改test库,或者可以操作任意业务数据库的账号。这里借助test库进行修改。 1、将mysql.user ...
分类:数据库   时间:2018-01-25 23:11:20    阅读次数:223
[LeetCode] Combination Sum
Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinations in C where the candidate numbers sums ...
分类:其他好文   时间:2018-01-25 23:11:12    阅读次数:176
<C++ - 继承02> 2018-01-24
01、继承: 02、虚继承: 03、实例: ...
分类:编程语言   时间:2018-01-25 23:11:02    阅读次数:254
[LeetCode] Combinations
Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example,If n = 4 and k = 2, a solution is: [ [2,4], [3,4 ...
分类:其他好文   时间:2018-01-25 23:10:54    阅读次数:194
Kubernetes下的Java应用监控
Grafana配置 datasource配置 新建一个Dashboard 点击Panel Title,然后选择编辑Edit 选择相应的指标,形成报告。 ...
分类:编程语言   时间:2018-01-25 23:10:46    阅读次数:232
day6-Python学习笔记(十三)redis数据库
import redisr = redis.Redis(host='211.149.218.16',port=6379,password='123456',db=2)#连上redisprint(r.get('hahahsfdfsdf'))#r.set('nhy_session','201801211 ...
分类:数据库   时间:2018-01-25 23:10:39    阅读次数:243
matplot绘图无法显示中文的问题
手动添加: ...
分类:其他好文   时间:2018-01-25 23:10:31    阅读次数:187
Python3 的函数
1、编写power(x,y)函数返回x的y次幂值 2、求最大公约数 3、十进制到二进制转换 ...
分类:编程语言   时间:2018-01-25 23:10:24    阅读次数:206
docker 离线环境安装oracle
因测试需要,需在内网的测试环境搭建一套docker Oracle 11g环境进行测试,测试环境为redhat 6.6 安装docker 1.7,本机windows 7 环境,安装docker 17.12 1、在windows下联网获取Oracle镜像,并新建容器,wnameless/oracle-x ...
分类:数据库   时间:2018-01-25 23:10:18    阅读次数:1112
Python 编码(一)— Python3
Unicode 什么是 Unicode 标准 unicode 标准 Unicode 为每个字符提供了一个独特的数字,并且跨平台、设备、应用或者编程语言都是通用的。 来自 http://unicode.org/standard/WhatIsUnicode.html Unicode 什么是 Unicod ...
分类:编程语言   时间:2018-01-25 23:10:12    阅读次数:251
TF:利用TF的train.Saver载入曾经训练好的variables(W、b)以供预测新的数据
import tensorflow as tf import numpy as np W = tf.Variable(np.arange(6).reshape((2, 3)), dtype=tf.float32, name="weights") b = tf.Variable(np.arange(3... ...
分类:其他好文   时间:2018-01-25 23:10:04    阅读次数:452
[LeetCode] Combination Sum II
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each num ...
分类:其他好文   时间:2018-01-25 23:09:56    阅读次数:175
docker 如何查看已存在的容器所挂载的目录
$ docker inspect container_name | grep Mounts -A 20 ...
分类:其他好文   时间:2018-01-25 23:09:49    阅读次数:2515
使用WebMvcConfigurerAdapter 做登录,失效的一个小小原因
玩转spring boot——简单登录认证 ...
分类:Web程序   时间:2018-01-25 23:09:41    阅读次数:418
1148条   上一页 1 2 3 4 5 6 ... 68 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!