当前位置: 首页 > news >正文

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:

  1. 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.
  2. 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…...

可视化监控OpenClaw:Qwen3-14B任务执行看板搭建

可视化监控OpenClaw:Qwen3-14B任务执行看板搭建 1. 为什么需要监控OpenClaw? 去年冬天的一个深夜,我被连续不断的微信消息惊醒——团队部署的OpenClaw自动化流程突然陷入死循环。由于缺乏实时监控,这个消耗了上千Token的异常任务…...

达梦数据库图形化安装界面常见报错及解决方案

1. 达梦数据库图形化安装界面常见报错解析 达梦数据库作为国产数据库的代表之一,在企业级应用中越来越普及。但在实际安装过程中,尤其是图形化安装界面环节,不少用户会遇到各种报错问题。我自己在第一次安装达梦数据库时也踩过不少坑&#xf…...

AUTOSAR兼容性验证失败?车载C#中控系统代码合规性自查清单,含ISO 26262 ASIL-B级代码审计模板

第一章:AUTOSAR兼容性验证失败的根因诊断与应对策略AUTOSAR兼容性验证失败往往并非单一模块缺陷所致,而是由配置不一致、接口语义偏差、RTE生成逻辑冲突及基础软件(BSW)版本错配等多维度因素交织引发。快速定位根本原因需构建分层…...

山西太原传媒艺考评价榜第 1 名

在山西太原,艺天影视培训学校凭借其卓越的教学质量和丰富的行业资源,连续多年稳居传媒艺考评价榜榜首。本文将从师资力量、教学体系、硬件设施以及升学成果四个方面,详细解读艺天影视培训学校的成功之道,并为有志于传媒艺术的学子…...

【GUI-Agent】阶跃星辰 GUI-MCP 解读---()---命令解析和工具映射蓉

先回顾:三次握手(建立连接)核心流程(实际版) 为了让挥手流程衔接更顺畅,咱们先快速回顾三次握手的实际核心,避免上下文脱节: 第一步(客户端→服务器)&#xf…...

从理论到实践:信道利用率在停止-等待与回退N帧协议中的量化分析与优化

1. 信道利用率的核心概念与实战意义 第一次接触信道利用率这个概念时,我也被各种公式绕得头晕。直到在卫星通信项目中踩过几次坑才真正明白:信道利用率就是衡量你把通信线路"压榨"到什么程度的标尺。想象你租了条高速公路送货,总不…...

Arduino TFT库:寄存器级驱动与双芯片兼容设计

1. 项目概述TFT 库是一个专为 Arduino 平台设计的轻量级图形驱动库,核心目标是支持 Seeed Studio 推出的 2.8 英寸 TFT 触摸屏扩展板(v1.0 版本)。该硬件模块采用双芯片方案:显示控制器可选用 SPFD5408A 或 ST7781R 其中之一&…...

WS2812嵌入式驱动:高精度时序与柔性硬件协同设计

1. WS2812驱动库深度解析:面向智能LED夹克的嵌入式底层实现1.1 技术定位与工程需求溯源WS2812并非一个抽象的“库”,而是一类集成控制电路与RGB LED于一体的智能发光单元。其核心价值在于将传统LED驱动中复杂的时序控制、电平转换、电流调节等模拟电路功…...

Ecqlipse32:车规级嵌入式LCD显示驱动框架

1. 项目概述Ecqlipse32 是一款专为大众汽车集团 CARIAD 车载信息娱乐系统(IVI)平台定制开发的嵌入式 TFT-LCD 显示驱动框架,面向基于 ARM Cortex-M 系列微控制器(特别是 STM32H7 和 NXP i.MX RT117x 等高性能 MCU)的车…...

【车辆控制】基于matlab电动车静态PID与动态自适应巡航控制策略分析【含Matlab源码 15302期】

💥💥💥💥💥💥💞💞💞💞💞💞💞💞欢迎来到海神之光博客之家💞💞💞&#x1f49…...