自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 问答 (2)
  • 收藏
  • 关注

原创 Ubuntu 18.04系统进不去了,只有老内核的恢复模式还能进,请大家帮看一下

Ubuntu 18.04 新内核和恢复模式进不去,会报错。老内核也进不去,只有老内核的恢复模式能进,请大佬帮看一下~~virtualbox里安装的是Ubuntu 18.04.1 LTS ,打开idea程序没响应,强制关闭。然后系统就进不去了,报错end kernel panic - not syncing: VFS: unable to mount root fs on unknown-blo...

2019-11-29 20:14:02 7338 9

转载 svm

import numpy as npimport matplotlib.pyplot as pltfrom sklearn import svmfrom sklearn.datasets import make_blobsX, y = make_blobs(n_samples = 50, centers = 2, random_state = 6)clf = svm.SVC(kerne...

2019-05-19 20:30:28 232

转载 sklearn 决策树

import pandas as pdimport numpy as npimport pylab as pl#from sklearn.cross_validation import train_test_splitfrom sklearn.model_selection import train_test_splitfrom sklearn.model_selection impo...

2019-02-25 00:51:31 184

转载 机器学习实战之逻辑回归

logRegres.pyfrom numpy import *def loadDataSet(): dataMat = []; labelMat = [] fr = open('testSet.txt') for line in fr.readlines(): lineArr = line.strip().split() dataM...

2019-02-12 22:12:34 156

转载 机器学习实战笔记之朴素贝叶斯

bayes.pyfrom numpy import *def loadDataSet(): postingList = [['my', 'dog', 'has', 'flea', 'problems', 'help', 'please'], ['maybe', 'not', 'take', 'him', 'to', 'dog', 'park'...

2019-01-12 16:01:58 257

翻译 ExponentialMovingAverage

import tensorflow as tfv1 = tf.Variable(0, dtype=tf.float32)step = tf.Variable(0, trainable=False)ema = tf.train.ExponentialMovingAverage(0.99, step)maintain_averages_op = ema.apply([v1])with ...

2018-08-29 23:47:23 274

翻译 decayed_learning_rate

import tensorflow as tf# TRAINING_STEPS = 10# # LEARNING_RATE = 1# # x = tf.Variable(tf.constant(5, dtype=tf.float32), name="x")# # y = tf.square(x)# ## # train_op = tf.train.GradientDescentOpt...

2018-08-29 23:25:06 323

翻译 Neural network sample

import tensorflow as tffrom numpy.random import RandomStatebatch_size = 8w1 = tf.Variable(tf.random_normal([2,3], stddev = 1, seed = 1))w2 = tf.Variable(tf.random_normal([3,1], stddev = 1, seed...

2018-08-24 00:56:15 237

翻译 机器学习实战笔记之决策树

一、trees.pyfrom math import logimport operatorimport treePlotterdef calcShannonEnt(dataSet): numEntries = len(dataSet) labelCounts = {} for featVec in dataSet: currentLabel =...

2018-07-26 22:48:21 161

翻译 机器学习实战笔记之knn

from numpy import *import operatordef createDataSet():    group = array([[1.0,1.1],[1.0,1.0],[0,0],[0,0.1]])    labels = ['A','A','B','B']    return group,labelsdef classify0(inX, dataSet, labels, k):...

2018-06-13 23:38:04 208

转载 矩阵奇异值分解物理意义

https://www.zhihu.com/question/22237507知乎上找到一篇文档挺好的,mark下

2018-05-30 23:25:03 871

空空如也

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

TA关注的人

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