在這裡下載程式: NCUAI_20260424.zip
https://drive.google.com/drive/folders/1zDCFwfkl0lgDG8x7L3q425MxMmUcqG0k?usp=sharing
https://www.youtube.com/watch?v=3_NQFxuJ4ow&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=1
https://www.youtube.com/watch?v=wdfYvwaEAI8&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=2
https://www.youtube.com/watch?v=cplezXd-W14&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=3
https://cloud.tencent.com/developer/article/2186579
彭彭的課程: Matplotlib 簡介、安裝、快速開始 - Python 資料視覺化教學課程
https://www.youtube.com/watch?v=MceOR4Kvv9I&list=PL-g0fdC5RMbqDdag2l_F3ejf4xQ_QjGbq
Python 基礎教學影片 (莫烦)
https://www.youtube.com/watch?v=1PC3etgLwVc&list=PLXO45tsB95cIRP5gCi8AlYwQ1uFO2aQBw
Python 書籍 :
一步到位!Python 程式設計-最強入門教科書 / 作者: 陳惠貞 / 出版社:旗標
https://www.youtube.com/watch?v=BuaX3wa4v28&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=4
https://www.youtube.com/watch?v=xNFbbNeIDVo&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=5
https://www.youtube.com/watch?v=Je-oCFw059A&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=6
https://www.youtube.com/watch?v=Dunh6Rs-VKI&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=7
當一個天才程式設計師說「我不幹了」:YOLO 背後那些你不知道的故事
Github:
https://www.youtube.com/watch?v=19NXLqns1pw&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=8
pip install -r requirements.txt
程式在: 人工智慧概論\3_Keras_experiment\Keras_1_Iris\code\Keras_01_Iris.ipynb
投影片在: 人工智慧概論\1_PDF_Lecture_Note\AI_06_Keras_Iris.pdf
投影片在: 人工智慧概論\1_PDF_Lecture_Note\AI_01_什麼是人工智慧.pdf
https://www.youtube.com/watch?v=vllpguGZwUY&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=9
https://www.youtube.com/watch?v=if-5pfb6tfo&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=10
https://www.youtube.com/watch?v=dtMkhsiVNFA&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=11
程式在: 人工智慧概論\3_Keras_experiment\Keras_1_Iris\code\iris_cross_validation.ipynb
投影片在: 人工智慧概論\1_PDF_Lecture_Note\AI_07_OverFitting_CrossValidation.pdf
https://www.youtube.com/watch?v=lexI-3wehyc&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=12
程式在: 人工智慧概論\3_Keras_experiment\Keras_1_Iris\code\Keras_02_iris_save_model_weights
投影片在: 人工智慧概論\1_PDF_Lecture_Note\AI_09_Save_Load_Model_Parameters.pdf
https://keras.io/getting_started/intro_to_keras_for_engineers/
程式在: 人工智慧概論\3_Keras_experiment\Keras_1_Iris\code\iris-randomforest
程式在: 人工智慧概論\3_Keras_experiment\Keras_1_Iris\code\iris-svm
程式在: 人工智慧概論\3_Keras_experiment\Keras_1_Iris\code\iris-knn
程式在: 人工智慧概論\3_Keras_experiment\Keras_1_Iris\code\iris-GradientBoostingClassfier
https://www.youtube.com/watch?v=DeFIGJu6tbY&list=PLy7MS-q4l3xDYoR8MACYA3YyidUbEiz6j&index=1
程式檔案在此:
程式在: NCUAI_20230903\NCUAI_20230903\Python_20210720\ml_toturial-master
https://github.com/pyinvest/ml_toturial
參考資料: ML-13: PyInvest and GitHub (18:01)
https://www.youtube.com/watch?v=n6eHypiVNmc&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=13
@ 47:33, How to save and load model using: (1) joblib; (2) pickle
程式在: NCUAI_20230903\NCUAI_20230903\Python_20210720\Sklearn_03_IrisKneighborSaveModel_001
from sklearn.metrics import classification_report, accuracy_score, precision_score, recall_score, f1_score, roc_auc_score
https://www.youtube.com/watch?v=eurwX_f9r08&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=15
程式在: 人工智慧概論\3_Keras_experiment\Keras_2_Cancer\code\Keras_02_Breast_Cancer.ipynb
投影片在: 人工智慧概論\1_PDF_Lecture_Note\AI_10_Keras_Cancer.pdf
https://www.youtube.com/watch?v=mrkksUOW-BQ&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=16
2026-GS-4519-C-course
https://www.kaggle.com/t/7f2deb756a694e7fa07c9f6aba168710
---------------------------------------
https://www.kaggle.com/competitions/gs-3073-ai-course/overview
https://www.kaggle.com/competitions/gs-3073-ai-course/code
https://www.kaggle.com/competitions/gs-3073-ai-course/leaderboard
在這裡下載說明檔及程式: (1) Copilot_explains_RAG_20260315, (2) LLM_20260321.7z
https://drive.google.com/drive/folders/1zDCFwfkl0lgDG8x7L3q425MxMmUcqG0k?usp=sharing
LLM_01_OpenAI.ipynb
LLM_02_OpenAI_ENV.ipynb
LLM_03_GoogleGemini.ipynb
LLM_04_Ollama.ipynb
Chat with OpenAI, Gemini, and Ollama
https://www.youtube.com/watch?v=hN5iZLpLDBI&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=17
pip install -r requirements.txt
https://www.youtube.com/watch?v=6T5Exvcl8Z4&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=18
requirements.txt for (17) ML-17: How to install LLM environment (Python = 3.10)
# Python: 3.10.20
langchain==1.2.15
langchain-openai==1.1.15
langchain-core==1.3.0
langchain-classic==1.0.4
langchain-community==0.4.1
langchain-experimental==0.4.1
langchain-huggingface==1.2.2
langchain-text-splitters== 1.1.2
langchain-google-genai==4.2.2
sentence-transformers==5.4.1
chardet==7.4.3
ipywidgets==8.1.8
faiss-cpu==1.13.2
python-dotenv==1.2.2
rich==14.2.0
TAME、Breeze、TAIDE 都屬於「開源(Open Source)」的台灣本土 LLM
1. TAME(台大語音實驗室)— ✔ 開源、免費、Apache-2.0 授權
2. Breeze(台灣 AI Labs Breeze LLM)— ✔ 開源、免費(多為 Apache-2.0)
3. TAIDE(國科會 TAIDE 計畫)— ✔ 開源、免費,但授權較特殊
-------------------------------
模型 LangChain 支援方式 最簡單的使用方式
TAME ✔ HF Pipeline → LangChain HuggingFacePipeline(...)
Breeze ✔ Ollama → LangChain Ollama(model="jcai/breeze-7b...")
TAIDE ✔ Ollama → LangChain Ollama(model="jcai/llama3-taide...")
https://www.youtube.com/watch?v=YbmEyJpx7xk&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=31
在這裡下載程式: LLM_20260407.7z
https://drive.google.com/drive/folders/1zDCFwfkl0lgDG8x7L3q425MxMmUcqG0k?usp=sharing
LLM_05_OpenAI_Stream.ipynb
LLM_06_Prompt_Template.ipynb
LLM_07_Chat_Prompt_Template.ipynb
LLM_08_InMemoryChatMessageHistory.ipynb
Prompt 共享平台:
(1) 英文 : LangChain Prompt Hub 是一個用於上傳、瀏覽、拉取和管理提示詞(prompts)的平台。它的目標是創建一個分享和發現提示的場所,使開發者更容易發現新用例和精煉提示。
LangChain Hub / Explore and contribute prompts to the community hub
https://smith.langchain.com/hub
(2) 中文 : ChatGPT指令大全:最全中文指令庫
提問(Prompt)撰寫的CLAR原則與LACES問題模型
在這裡下載程式: LLM_20260416.7z
https://drive.google.com/drive/folders/1zDCFwfkl0lgDG8x7L3q425MxMmUcqG0k?usp=sharing
LLM_09_HuggingFace_FAISS.ipynb
LLM_10_RAG.ipynb
LLM_11_Agent_Python.ipynb
LLM_12_Agent_Python.py
LLM_13_RAG_Python.py
prompt = PromptTemplate(
input_variables=["context", "question"],
template = """
You are a precise assistant. Use ONLY the context below.
Context:
{context}
Question:
{question}
Answer clearly and cite the context.
"""
)
虛擬環境 (venv)
Python 虛擬環境的創建(venv)
https://www.runoob.com/python3/python-venv.html
How to use venv to create virtual environments - python
https://www.youtube.com/watch?v=LzaBf2QjR8s
【Python環境安裝】Venv+VSCode - Windows版
在這裡下載程式: LLM_20260422.7z
https://drive.google.com/drive/folders/1zDCFwfkl0lgDG8x7L3q425MxMmUcqG0k?usp=sharing
LLM_14_OneFunction.ipynb
LLM_15_ThreeFunctions.ipynb
LLM_16_Streamlit_demo_app.py
LLM_17_Streamlit_Invoke.py
https://www.youtube.com/watch?v=6mZ01CX1DD4&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=34
在這裡下載程式: 人工智慧概論.7z
https://drive.google.com/drive/folders/1zDCFwfkl0lgDG8x7L3q425MxMmUcqG0k?usp=sharing
MNIST, Multi-Layer Perceptron (MLP) and Save the best model
Create an environment with python 3.13
then in anaconda, install keras, tensorflow, pandas, matplotlib, scikit learn¶
程式在: 人工智慧概論\3_Keras_experiment\Keras_4_MNIST\code\Keras_MNIST_MLP_Save_Best.ipynb
Convolutional Neural Networks from Scratch | In Depth
https://www.youtube.com/watch?v=jDe5BAsT2-Y
李宏毅老師的課程 ML Lecture 7: Backpropagation
https://www.youtube.com/watch?v=ibJpTrp5mcE&list=PLJV_el3uVTsPy9oCRY30oBPNLCo89yu49&index=12
程式在: 人工智慧概論\3_Keras_experiment\Keras_4_MNIST\code\Keras_MNIST_CNN_step_1.ipynb
程式在: 人工智慧概論\3_Keras_experiment\Keras_4_MNIST\code\Keras_MNIST_CNN_step_2.ipynb
程式在: NCUAI_20260424\Python_20210803\mnist-deep-neural-network-with-keras.ipynb
程式在: NCUAI_20260424\Python_20210803\mnist-deep-neural-network-with-keras-revision.ipynb
https://www.youtube.com/watch?v=ItFJFOO5l4w&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=19
程式在: NCUAI_20260424\Python_20210803\Load_MNIST_DataSet_001.py
程式在: NCUAI_20260424\Python_20210803\Keras_06_SimpleConvMNIST_001.py
https://www.youtube.com/watch?v=I3kLFT3FdXs&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=20
程式在: NCUAI_20260424\Python_20210803\cifar-10-image-classification-with-cnn-Revision.ipynb
https://www.youtube.com/watch?v=xbVI2xXhnmc&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=21
https://www.kaggle.com/bhuvanchennoju/cifar-10-image-classification-with-cnn
程式在: NCUAI_20230903\Python_20210810\TransferLearning_ShoulderImplants\code
https://www.youtube.com/watch?v=3x2YGfnaoXI&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=26
https://archive.ics.uci.edu/dataset/517/shoulder+implant+x+ray+manufacturer+classification
程式在: NCUAI_20230903\人工智慧概論\3_Keras_experiment\Keras_3_Stock\code\Keras_03_Stock.ipynb
投影片在: NCUAI_20230903\人工智慧概論\1_PDF_Lecture_Note\AI_11_Keras_Stock.pdf
https://www.youtube.com/watch?v=u4b5fyg4X2M&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=17
https://www.youtube.com/watch?v=LBD6jQydzKM&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=18
1D-CNN
https://www.youtube.com/watch?v=WJ5LM27LpDw&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=27
https://www.youtube.com/watch?v=OdYJ9gdXVWU&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=28
https://drive.google.com/drive/u/2/folders/1o7u9yEnRE4FmPDbUwwGV2bu0lX_lDHeI
https://www.youtube.com/watch?v=zhujHoUZfKA&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=29
https://www.youtube.com/watch?v=vmt5miwXqTI&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=30
https://towardsdatascience.com/manipulating-facial-features-with-opencv-and-dlib-14029f136a3d
程式在: NCUAI_20230903\Python_20210810\Keras_10_ResNet50_001.ipynb
https://www.youtube.com/watch?v=it4fjd_2hUU&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=23
https://keras.io/api/applications/#usage-examples-for-image-classification-models
https://www.youtube.com/watch?v=PL043XfWRac&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=24
https://keras.io/examples/vision/autoencoder/
https://www.youtube.com/watch?v=wor-nXI3OQE&list=PLYgGtiVoYLPdHNmslnjXuF9gjCIj3g-F3&index=25
https://keras.io/examples/vision/3D_image_classification/
https://drive.google.com/drive/folders/1zDCFwfkl0lgDG8x7L3q425MxMmUcqG0k?usp=sharing
PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localization
https://arxiv.org/abs/2011.08785
xiahaifeng1995/PaDiM-Anomaly-Detection-Localization-master
https://github.com/xiahaifeng1995/PaDiM-Anomaly-Detection-Localization-master
-------------------------------------------------------------
PaDiM 原理与代码解析
https://blog.csdn.net/ooooocj/article/details/127601035
PaDiM : A machine learning model for detecting defective products without retraining
modification in main_01.py:
replace: def parse_args():
add: debug_a = 'Y'
add: class_name = 'bottle', print(class.name)
comment out: the program in class_name loop
modification in mvtec.py:
replace: dataset_path='./dataset_mvtec'
replace: Image.LANCZOS
--------------------------
modification in main_02.py:
un-comment: the program in class_name loop
re-arrange: move the functions before the main program
--------------------------
modification in main_03.py:
add comments and print the values of layer.shape and B, C, H, W
英文教科書 : https://d2l.ai/d2l-en.pdf
中文教科書 : https://zh-v2.d2l.ai/d2l-zh.pdf
https://ithelp.ithome.com.tw/articles/10251599
book ==> https://www.amazon.com/Deep-Reinforcement-Learning-Hands-optimization/dp/1838826998
code ==> https://github.com/PacktPublishing/Deep-Reinforcement-Learning-Hands-On-Second-Edition
https://towardsdatascience.com/reinforcement-learning-implement-tictactoe-189582bea542
Lasso Regression with Python
https://www.kirenz.com/post/2019-08-12-python-lasso-regression-auto/
处理不均衡数据 (深度学习)! Dealing with imbalanced data (deep learning) (3:18)
https://www.youtube.com/watch?v=doXeC9_vMhg
Handling Imbalanced Datasets in Deep Learning ==> Class weight, over and under sampling
https://towardsdatascience.com/handling-imbalanced-datasets-in-deep-learning-f48407a0e758
Deep learning unbalanced training data? Solve it like this. ==> Image augmentation
How to Configure Image Data Augmentation in Keras ==> Image augmentation
Image data preprocessing
https://keras.io/api/preprocessing/image/
ImageDataGenerator的使用
https://www.kaggle.com/datasets
https://paperswithcode.com/datasets
https://physionet.org/about/database/
https://www.youtube.com/watch?v=ZUhRZ9UTkIM
2020年第一學期的期末報告 :
(1) 使用YOLO3, 進行硬幣種類辨識
(2) 使用YOLO3,分辨蘋果的品種
(3) 使用YOLO3, 進行手勢辨識達成指定命令
(4) 非監督式新聞主題名稱生成
(5) 使用YOLO3, 進行猜拳競賽
(6) 語音記帳機器人
(7) 使用YOLO3, 辨識手部動作
(8) 使用YOLO3, 辨識臉部表情
(9) Openpose辨識姿勢 - 提升用戶專注力
(10) COVID 19 ~ 利用CNN做肺炎檢測
(11) 運用 RNN 預測比特幣收盤價
(12) 使用音樂訊號, 判斷歌曲的演唱者
(13) 人工智慧辨識塗鴉
下載檔案: 01_20210113_人工智慧導論(B班)_期末報告.zip
https://drive.google.com/drive/folders/1mBJMGQ9sNjU3xp5vV_UYdAJNs-IaF1Vw?usp=sharing
2021年第一學期的期末報告 :
(1) 野生貓科動物辨識
(2) Keras 網頁介紹
(3) 音樂產生器
(4) 透過GMCNN進行圖像修復
(5) 變臉是替身攻擊
(6) 雨量分析與預測
(7) 分析網路評論
(8) 深度學習音樂產生器
(9) 預測學生課業表現
(10) Scikit-Learn 網頁介紹
(11) GitHub 網站介紹
(12) Blazepose架構概論
(13) 臉部辨識
(14) 即時語音模仿
(15) 車牌辨識
下載檔案: 02_20220112_機器學習概論(B班)_期末報告.zip
https://drive.google.com/drive/folders/1mBJMGQ9sNjU3xp5vV_UYdAJNs-IaF1Vw?usp=sharing
2022年第一學期的期末報告 :
(1) Forest Fire
(2) Skin Segmentation
(3) Bike Sharing Dataset
(4) 葡萄乾的分類
(5) 問答系統
(6) 使用YOLO辨識撲克牌
(7) 預測避孕法
(8) Bank Marketing
(9) 具有武器辨識
(10) 銷售額預測
(11) 機械學習K組種族分析
(12) 口音辨識
(13) 如何用大型自然語言模型
(14) 使用YOLO計算人數
(15) 判別蘑菇是否能夠食用
(16) 預測比特幣收盤價
下載檔案: 03_20221226_機器學習概論(B班)_期末報告.zip
https://drive.google.com/drive/folders/1mBJMGQ9sNjU3xp5vV_UYdAJNs-IaF1Vw?usp=sharing
2023年第一學期的期末報告 :
(1) 使用YOLOV8_進行車牌辨識
(2) 心臟病發分析與預測
(3) 電池壽命預測
(4) 利用CNN實現人種辨識
(5) 利用CNN做垃圾分類
(6) 辨識是否戴口罩
(7) Company Bankruptcy Prediction
(8) 宵夜要吃什麼
(9) 恆星種類的分辨
(10) RESNET垃圾自動分類系統
(11) 糖尿病的特徵預測
(12) 辨識狗是否跳上沙發及未來發展
(13) 黑白猜
(14) 使用YOLO8進行英文字母辨識
(15) 基於CNN之手勢辨識
(16) 使用YOLOv8進行工地檢測
下載檔案: 04_20231226_機器學習概論(B班)_期末報告.zip
https://drive.google.com/drive/folders/1mBJMGQ9sNjU3xp5vV_UYdAJNs-IaF1Vw?usp=sharing
2024年第一學期的期末報告 :
(1) 太陽能發電預測
(2) 自動垃圾分類
(3) 手勢人機互動系統
(4) 這天氣該穿甚麼好呢
(5) Cleaned vs Dirty
(6) 驗證碼辨識
(7) 使用CNN進行剪刀石頭布之手勢辨識
(8) 手機使用與使用者行為分類
(9) 結合D-Fire資料與深度學習技術 提升火災預測能力
(10) A Simple Hawk-eye system implementation
(11) 表情識別
(12) Fine-Tuning SAM for Breast Tumor Segmentation Using Ultrasound Images
下載檔案: 05_20241225_機器學習概論(B班)_期末報告.zip
https://drive.google.com/drive/folders/1mBJMGQ9sNjU3xp5vV_UYdAJNs-IaF1Vw?usp=sharing