INT301 Bio Computation 题型整理
perceptron 设计和计算
1.

XOR: 当两个输入值中只有一个为真时,输出为真

2.


3.


5.


6.


7.


2^3
2^n


9.

a) 直接test
b) 把v≥2 改成 v≥1
10.

no, because it can't be separate through only one decision boundary,it's not linearlly separable.
Backpropagation
1.


2. 
3.

4.


这个是tutorial里面的,考试估计不会考这个复杂


5.


6.


Hopfield Network
Hopfield 网络的目标是存储一组模式,并且在给定部分模式或损坏模式的情况下,通过网络的动态演化过程恢复出原始模式。
step
1) calculate the weight matrix

总之就是pattern乘以自己的转置,累加,最后减去pattern个数的单位矩阵
2)calculate input
将特定node的权重乘乘以输入,但是顺序不同可能导致结果不同,更新X哪一个index就乘以对应的weight index

3)update weight
得到的结果计算一下

1.




这里用第二行的weight



2.

![]()
3.



随便找两个pattern 然后 测试就行
5.
这题我怀疑老师写的有点问题先搁一下


![]()

至于为什么例题中只选了node2和4,我猜是因为node1,3 和node2一样所以就只说2了
![]()

![]()



6.


7.





8.

9.

10.



The neural network model used is an auto-encoder, which is trained to compress and reconstruct data. It learns to identify the key features of the input data (e.g., vehicles) by encoding them into a lower-dimensional representation and then decoding them back.
Explanation:
-
Model Description:
- The encoder compresses the vehicle images into a smaller set of features.
- The decoder reconstructs the images from these features.
- The visualized weights show the important patterns (e.g., shapes of vehicles) learned by the encoder.
-
Possible Uses:
- Feature Extraction: These learned features can help identify vehicle types or shapes.
- Data Compression: The model reduces the data size for storage or processing.
- Anomaly Detection: By comparing reconstructed images to the original, unusual vehicles can be detected.
- Surveillance: It helps in organizing and understanding vehicle data efficiently.
Application
1.

I'll use a self-organizing map for clusting since the number of topics are not known. In the preprocessing step I may use
-
Preprocess the Text: Clean and tokenize the documents. You may also lemmatize words and remove stopwords.
-
Feature Representation: Convert the documents into numerical vectors. You can use:
- TF-IDF for a sparse representation based on word frequency.
- Embeddings (e.g., BERT, Word2Vec) for a dense, semantic representation.
-
Apply Clustering:
- Use K-means if you have a rough idea of the number of topics.(事实上好像确实可以自己定)
- som(GPT不推荐)
-
Evaluate Clusters: Use metrics like Silhouette Score to assess how well documents are grouped.
-
Interpret the Results: Examine the top terms or document samples in each cluster to understand the topics.
2.supervised/unsuervised 挑选以及实现


CNN
- Best for: Spatial feature extraction from EEG signals, useful when analyzing data from multiple channels.
- Advantage: CNNs can automatically capture important spatial patterns in EEG signals, making them effective for tasks like epilepsy detection or sleep stage classification.

I'll think of clustering method such as kmeans would be helpful
3.supervised/unsuervised 挑选以及实现


Since the task is non-linear, Radial-Basis Function Network,
Self-Organizing Map
4.


5.

self-organizing map Network
1.



2.

A Self-Organizing Map (SOM) is particularly well-suited for tasks where the goal is to perform unsupervised clustering or data visualization in a lower-dimensional space, while preserving the topological relationships of the input data.
Gaussian RBF network
1.










Matlab code
view(net) -- Visualize the architecture of the trained neural network
1. self-organizing map


2.



3.




conception
1.fully-connected neural network vs convolutional neural network

- Inefficient Parameter Use: FCNs have a large number of parameters, which can lead to overfitting, higher memory usage, and slower training.
- Loss of Spatial Structure: FCNs do not preserve spatial hierarchies in data like images, making them less suited for image-related tasks.
- Scaling Issues with Large Inputs: FCNs struggle with large input sizes (e.g., high-resolution images) because they require flattening, which destroys spatial information.
- Computationally Expensive: FCNs become computationally expensive with large datasets and deep architectures.
- No Translation Invariance: FCNs do not inherently recognize translation invariance in data, making them less effective for tasks like image recognition.
2. rectified linear units vs sigmoid activation function

The benefits of faster convergence, avoiding the vanishing gradient problem, and computational efficiency make ReLU a more effective and scalable choice for modern deep learning models.
3. transfer function in mlp?

Omitting activation functions reduces the MLP to a simple linear model, which lacks the ability to handle nonlinear problems. Although it simplifies computation, it’s rarely used because it greatly limits the network's performance.
c overfitting 解释

Overfitting happens when a model fits too closely to the training data, losing the ability to generalize. It is most likely to occur with small datasets, complex models, and noisy data. To mitigate overfitting, use regularization, increase data, or employ simpler models. Monitoring validation performance is key to identifying it.
d backpropagation 解释

- Poor weight initialization.
- Vanishing or exploding gradients.
- Improper learning rate.
- Insufficient training time.
e Oja rule in Hebb rule

c. 解释 RBF-Units

RBF networks adjust centroids, widths, and output weights during learning. Their localized response, faster training, and better handling of non-linearities make them advantageous over sigmoidal units for tasks like function approximation, classification.
d. 解释 Elman Network

The Elman Network is a recurrent neural network with an additional context layer that stores the previous hidden state, enabling it to capture temporal dependencies. It processes sequential data through its input, hidden, and output layers, with training performed via Backpropagation Through Time (BPTT).
In time-series prediction, the network uses past observations to predict future values by learning patterns over time. Once trained, it predicts iteratively by feeding its output back as input, making it effective for tasks like forecasting or trend analysis.
a. SOM, 高维网络降维(?)

CNN
1.
2.







相关文章:
INT301 Bio Computation 题型整理
perceptron 设计和计算 1. XOR: 当两个输入值中只有一个为真时,输出为真 2. 3. 5. 6. 7. 2^3 2^n 9. a) 直接test b) 把v≥2 改成 v≥1 10. no, because it cant be separate through only one decision boundary,its not linearlly separable. Backpropagatio…...
机器学习免费使用的数据集及网站链接
机器学习领域存在许多可以免费使用的数据集,这些数据集来自于学习、研究、比赛等目的。 一、综合性数据集平台 1.Kaggle 网址:Kaggle 数据集https://www.kaggle.com/datasets Kaggle是一个数据科学竞赛和社区平台,提供了大量的数据集供用…...
低空经济——飞行汽车运营建模求解问题思路
1. 掌握问题背景和领域知识 目标: 理解飞行汽车及其运营问题的核心要素和应用背景。学习内容: 飞行汽车基础: 了解飞行汽车的技术特点(垂直起降、电动推进等)。阅读行业报告,如 Uber Elevate 白皮书。共享…...
英伟达Project Digits赋能医疗大模型:创新应用与未来展望
英伟达Project Digits赋能医疗大模型:创新应用与未来展望 一、引言 1.1 研究背景与意义 在当今数字化时代,医疗行业作为关乎国计民生的关键领域,正面临着前所未有的挑战与机遇。一方面,传统医疗模式在应对海量医疗数据的处理、复…...
【Python3】异步操作 redis
aioredis 在高版本已经不支持了, 不要用 代码示例 redis 连接池异步操作redis以及接口 import asyncio from sanic import Sanic from sanic.response import json import redis.asyncio as redis from redis.asyncio import ConnectionPool# 创建 Sanic 应用 app…...
【W800】UART 的使用与问题
1.开发环境 OS: Windows 11开发板:海凌科 HLK-W800-KIT-PROSDK: W80X_SDK_v1.00.10IDE: CSKY Development Kit 2.UART 使用 在 SDK 中创建文件 uart_test.h 和 uart_test.c,然后在 CDK 项目中添加这两个文件,CDK 会自动 include 头文件。 …...
UART串口数据分析
串口基础知识详细介绍: 该链接详细介绍了串并行、单双工、同异步、连接方式 https://blog.csdn.net/weixin_43386810/article/details/127156063 该文章将介绍串口数据的电平变化、波特率计算、脉宽计算以及数据传输量的计算。 捕获工具:逻辑分析仪&…...
NFS 组件容器化部署实战指南
文章目录 前言部署NFS服务器K8S部署NFS问题记录 前言 使用nfs-client-provisioner这个应用,利用nfs server给kubernets提供作为持久化后端,并且动态提供pv。所有节点需要安装nfs-utils组件,并且nfs服务器与kubernets worker节点都能网络连通…...
嵌入式软件C语言面试常见问题及答案解析(三)
嵌入式软件C语言面试常见问题及答案解析(三) 上一篇已经足够长了,再长也就有点不礼貌了,所以在这儿继续来总结分享那个面试中遇到的题目,文中的问题和提供的答案或者代码均代表个人的理解,如有不合理或者错误的地方,欢迎大家批评指正。 本文中题目列表 1. 编码实现子串定…...
nvm安装教程
Node Version Manager (NVM) 是一个用来管理多个 Node.js 版本的命令行工具。使用 NVM,你可以在同一台机器上轻松安装和切换不同的 Node.js 版本。以下是针对 Unix 类系统(如 Linux 和 macOS)的 NVM 安装教程: 安装 NVM 更新系统…...
单片机-定时器中断
1、相关知识 振荡周期1/12us; //振荡周期又称 S周期或时钟周期(晶振周期或外加振荡周期)。 状态周期1/6us; 机器周期1us; 指令周期1~4us; ①51单片机有两组定时器/计数器,因为既可以定时,又可以计数,故称之为定时器…...
Hadoop 实战笔记(一) -- Windows 安装 Hadoop 3.x
环境准备 安装 JAVA 1.8 Java环境搭建之JDK下载及安装下载 Hadoop 3.3.5 安装包 Hadoop 下载:https://archive.apache.org/dist/hadoop/common/ 一、JAVA JDK 环境检查 二、Hadoop(HDFS)环境搭建 1. 解压安装文件 hadoop-3.3.5.tar 2. 配置环境变量 HADOOP_HO…...
AI中的神经元与权重矩阵之间的关系;神经元连接角度看行和列的意义
AI中的神经元与权重矩阵之间的关系 目录 AI中的神经元与权重矩阵之间的关系神经元连接角度看行和列的意义AI中的神经元概念 在人工智能领域,特别是神经网络中,神经元是基本的计算单元,它是对生物神经元的一种抽象模拟。就像生物神经元接收来自其他神经元的电信号,经过处理后…...
mysql、postgresql、druid链接池踩坑记录
The last packet successfully received from the server wIs 10,010 milliseconds ago. The last packet sent successfully to the server was 10,010 milliseconds ago.### The error may exist in URL mysql 链接字符串没有 &connectTimeout600000&socketTimeout6…...
NRF24L01模块STM32通信-通信初始化
目录 前言 一、IO口初始化 二、模拟SPI的基础代码 1.一些代码的宏定义 2.起始信号 3.CS,SCK,MOSI操作 4.MISO,IRQ操作 三.中间层代码 1.字节的输入和读取 2.写操作 3.读操作 四.应用层代码 1.24L01的检测 2.在main函数进行简单验证 3.24L01宏定义的代码 总结 前…...
高比例压缩:Linux 中的压缩命令与技巧
文章目录 高比例压缩:Linux 中的压缩命令与技巧1. 压缩格式的选择2. gzip 命令示例:压缩文件示例:解压文件 3. bzip2 命令示例:压缩文件示例:解压文件 4. xz 命令示例:压缩文件示例:解压文件 5.…...
LabVIEW软件Bug的定义与修改
在LabVIEW软件开发过程中,bug(程序错误或缺陷)指的是程序中导致不符合预期行为的任何问题。Bug可能是由于编码错误、逻辑漏洞、硬件兼容性问题、系统资源限制等因素引起的。它可能会导致程序崩溃、功能无法正常执行或输出结果不符合预期。理解…...
基于Springboot + vue实现的办公用品管理系统
🥂(❁◡❁)您的点赞👍➕评论📝➕收藏⭐是作者创作的最大动力🤞 💖📕🎉🔥 支持我:点赞👍收藏⭐️留言📝欢迎留言讨论 🔥🔥&…...
B+树的原理及实现
文章目录 B树的原理及实现一、引言二、B树的特性1、结构特点2、节点类型3、阶数 三、B树的Java实现1、节点实现2、B树操作2.1、搜索2.2、插入2.3、删除2.4、遍历 3、B树的Java实现示例 四、总结 B树的原理及实现 一、引言 B树是一种基于B树的树形数据结构,它在数据…...
(四)结合代码初步理解帧缓存(Frame Buffer)概念
帧缓存(Framebuffer)是图形渲染管线中的一个非常重要的概念,它用于存储渲染过程中产生的像素数据,并最终输出到显示器上。简单来说,帧缓存就是计算机图形中的“临时画布”,它储存渲染操作生成的图像数据&am…...
19c补丁后oracle属主变化,导致不能识别磁盘组
补丁后服务器重启,数据库再次无法启动 ORA01017: invalid username/password; logon denied Oracle 19c 在打上 19.23 或以上补丁版本后,存在与用户组权限相关的问题。具体表现为,Oracle 实例的运行用户(oracle)和集…...
【网络】每天掌握一个Linux命令 - iftop
在Linux系统中,iftop是网络管理的得力助手,能实时监控网络流量、连接情况等,帮助排查网络异常。接下来从多方面详细介绍它。 目录 【网络】每天掌握一个Linux命令 - iftop工具概述安装方式核心功能基础用法进阶操作实战案例面试题场景生产场景…...
【人工智能】神经网络的优化器optimizer(二):Adagrad自适应学习率优化器
一.自适应梯度算法Adagrad概述 Adagrad(Adaptive Gradient Algorithm)是一种自适应学习率的优化算法,由Duchi等人在2011年提出。其核心思想是针对不同参数自动调整学习率,适合处理稀疏数据和不同参数梯度差异较大的场景。Adagrad通…...
Spring Boot 实现流式响应(兼容 2.7.x)
在实际开发中,我们可能会遇到一些流式数据处理的场景,比如接收来自上游接口的 Server-Sent Events(SSE) 或 流式 JSON 内容,并将其原样中转给前端页面或客户端。这种情况下,传统的 RestTemplate 缓存机制会…...
【项目实战】通过多模态+LangGraph实现PPT生成助手
PPT自动生成系统 基于LangGraph的PPT自动生成系统,可以将Markdown文档自动转换为PPT演示文稿。 功能特点 Markdown解析:自动解析Markdown文档结构PPT模板分析:分析PPT模板的布局和风格智能布局决策:匹配内容与合适的PPT布局自动…...
Spring Boot面试题精选汇总
🤟致敬读者 🟩感谢阅读🟦笑口常开🟪生日快乐⬛早点睡觉 📘博主相关 🟧博主信息🟨博客首页🟫专栏推荐🟥活动信息 文章目录 Spring Boot面试题精选汇总⚙️ **一、核心概…...
基于IDIG-GAN的小样本电机轴承故障诊断
目录 🔍 核心问题 一、IDIG-GAN模型原理 1. 整体架构 2. 核心创新点 (1) 梯度归一化(Gradient Normalization) (2) 判别器梯度间隙正则化(Discriminator Gradient Gap Regularization) (3) 自注意力机制(Self-Attention) 3. 完整损失函数 二…...
在鸿蒙HarmonyOS 5中使用DevEco Studio实现企业微信功能
1. 开发环境准备 安装DevEco Studio 3.1: 从华为开发者官网下载最新版DevEco Studio安装HarmonyOS 5.0 SDK 项目配置: // module.json5 {"module": {"requestPermissions": [{"name": "ohos.permis…...
go 里面的指针
指针 在 Go 中,指针(pointer)是一个变量的内存地址,就像 C 语言那样: a : 10 p : &a // p 是一个指向 a 的指针 fmt.Println(*p) // 输出 10,通过指针解引用• &a 表示获取变量 a 的地址 p 表示…...
9-Oracle 23 ai Vector Search 特性 知识准备
很多小伙伴是不是参加了 免费认证课程(限时至2025/5/15) Oracle AI Vector Search 1Z0-184-25考试,都顺利拿到certified了没。 各行各业的AI 大模型的到来,传统的数据库中的SQL还能不能打,结构化和非结构的话数据如何和…...


