python tensorflow 機器學習

2021-08-10 12:50:33 字數 2395 閱讀 2913

易佰教程/python

廖雪峰/python

so:stack overflow

devdocs/tensorflow

devdocs/numpy

devdocs/python

谷歌開發者中文部落格

monte carlo integration

深度學習 中文版 書籍

卷積神經網路ppt

******x algorithm:單純型演算法,線性約束求最大最小值

機器學習工程師必知10大演算法

決策樹演算法

樸素貝葉斯分類器

能量模型(ebm)、限制波爾茲曼機(rbm)

restricted boltzmann machines (rbm)

深度學習讀書筆記之rbm

kd樹正則化

artificial intelligence

啟用函式,有啟用函式**彙總

tensorflow官網 啟用函式

一文看懂25個神經網路模型

矩陣降維

矩陣降維

the python standard library

tensorflow 中文社群

tensorboard 使用教程

tensorflow 書籍**

tensorflow 高階技巧

機器學習雜記

解鎖梯度下降演算法

tensorflow 4種不同的clip方式

optimizer優化演算法總結

4 parameters: learning rate;steps;epoch;batch。

gradientdescentoptimizer

adagradoptimizer

adagraddaoptimizer

momentumoptimizer

adamoptimizer

ftrloptimizer

rmspropoptimizer

note:

shape(?,) (?,1) not compatible

1.分析最優

2.無雜訊loss也存在波動

3.graph size問題:

3.1處理迴圈中的「+=」以及「*=」

3.2 處理if語句

3.3 處理複雜運算:解析內部運算順序,分布計算

4

tf.nn.softmax_cross_entropy_with_logits(labels=y_,logits=y)   

(usually no need to manually clip logits), instead of your

y_*tf.log(tf.clip_by_value(y_conv,1e-10,1.0))

tf.nn.log_softmax

5 tfdbg(tensorflow debuger)

在ubuntu下,在pycharm中執行報錯,在命令列下執行ok

6 clip對nan值無效

7 降低規模除錯

8 atanh(tanh(100))=inf, 注意atanh這種運算

python3 -m module_name
numpy

np.random.rand(d0,d1,……,dn)

np.random.randn(d0,d1,……,dn)

np.random.randint(low,high,size,dtype)

np.random.random_integers(low,high,size)

np.random.random_sample([size])

np.random.random([size])

np.random.ranf([size])

np.random.sample([size])

np.random.choice(a,size,replace,p)

np.random.bytes(length)

np.random.binomial(n,p,size=n) # 二項分布

np.random.hypergeometric(n,n,m,size) # 超幾何分布

beta, chisquare, exponentia, f, gamma, gumbel, laplace, lognormal, logistic, multivariate_normal

noncentral_f, norcentral_chisquare, normal

cudnn document

json教程

決策:if if……else switch

迴圈:repeat while for

break next

Python tensorflow 報錯集錦

標題首當其衝的是安裝tensorflow tensorflow安裝教程 執行後出現的報錯 module tensorflow has no attribute placeholder 當前tensorlow 版本是2.3.1。tensorflow 2.0版本後placeholder廢棄,所以要使用該...

python tensorflow 學習記錄

tensor原理,關於graph和session 關於tf.variable scope 簡單的理解 複雜的理解 關於slim.arg scope for迴圈 and enumerate slim.conv2d 跳轉問題 關於get shape as list python中的 args和 kwar...

Python TensorFlow安裝及使用說明

python tensorflow安裝及使用說明 1 安裝 python 直譯器 anaconda。不需額外安裝,安裝時切記勾選 add anaconda to my path environment variable 檢驗安裝是否成功 anaconda v 或 conda list 2 安裝 cu...