國立空中大學 110 學年度上學期期末考試題【 正參】083
科目:數據分析建模的理論與實務
一律橫式作答 1 頁問答題,每題 25 分
1.對於迴歸演算法而言,通常可以使用哪三個評估性能的指標並請簡要說明?什麼是 KNN 演算法?什麼是 K-means 演算法? (15 分、5 分、5 分) (ch7,P.232-233、P.240、
P.257-258)
2.何謂深度學習?常見的深度學習網路結構有哪四種類型並請簡要說明。 (5 分、20 分) (ch9,P.335、P.367)
3.什麼是 TensorFlow?什麼是 TensorBoard 工具?假定 sess 是 tf.Session()的物件,請撰寫 程式片段,可以將 TensorFlow 的資料儲存起來,然後啟動 TensorBoard 來視覺化這些資 料。 (5 分、10 分、10 分) (ch10,P373、P.379、P.379-380)
程式片段:
import tensorflow as tf
…
…
…
tf.summary.merge_all()
!rm -rf ./log/
tf.summary.FileWriter('log/results'), sess.graph)
%load_ext tensorboard import tensorboard
%tensorboard --logdir log
4.什麼是 Keras?在數字影像辨識的輸出層中使用 softmax 函式的原因為何? (10 分、
15 分) (ch11,P.403、P.407)