
🔥人工智能
笔记和资料,涉及到深度学习、自动驾驶等领域。
🔥机器人
包括ROS机器人框架笔记。Beginer Friendly

✅Python教程
从0到1,在深入人工智能的全套Python笔记。

❤️经验经历
过往的感悟和思考。发病日记。

✨碎片技术
学习工作中遇到的很赞的技术碎片,整理好了。

✨学习积累
相对于碎片技术的,已经沉淀为自己的资本的内容。
Evaluating Classification Models With `Classification_report` in Scikit-Learn
Introduction
In the realm of machine learning, evaluating the performance of a classification model is crucial. scikit-learn, a powerful tool for machine learning in Python, provides several utilities for model evaluation. One of the most useful functions is classification_report, which gives a comprehensive overview of the key metrics for a classification model. In this post, we’ll explore how to use this function to assess model performance effectively.
What is classification_report?
The class ...
A Quick Guide to Linear Algebra With NumPy
Introduction
NumPy is a fundamental package for numerical computing in Python. It provides efficient operations for handling arrays and matrices, which are crucial for data analysis and scientific computing. In this guide, we’ll explore some basic linear algebra operations available in NumPy, showcasing how to perform these operations both with operator overloads and built-in functions.
Elementwise Operations
Elementwise operations are basic operations that are applied element by element on arra ...
Understanding Array Slicing in NumPy: A Practical Guide
Introduction
In the world of data manipulation with Python, NumPy stands as one of the most used libraries due to its efficiency and powerful array operations. One common operation is array slicing, which can be a bit tricky to understand, especially for those new to Python. In this blog post, we’ll delve into how slicing works in NumPy and why it’s important to understand its behavior to avoid potential bugs in your code.
Creating a Basic Array
To begin, let’s create a simple rank 2 NumPy array ...
How to Install and Manage Conda Environments Using .Yml Files
To install a Conda environment from a .yml file, follow these steps:
1. Prepare the .yml FileEnsure you have a .yml file that defines the Conda environment. This file typically includes dependencies and configuration settings for the environment. It might look something like this:
12345678910111213name: myenvchannels: - defaultsdependencies: - python=3.8 - numpy - pandas - scipy - pip - pip: - torch - torchvision - torchaudio
2. Install Conda (if not already installed)If you hav ...
Unlocking the Power of Statistical Analysis With Statsmodels in Python
IntroductionIn the ever-evolving world of data science, statsmodels stands out as a specialized Python library tailored for statistical analysis and econometric applications. Unlike broader machine learning libraries, statsmodels offers tools designed for in-depth statistical inference, providing insights into the underlying mechanics of data.
Why Use statsmodels?statsmodels is essential for anyone needing to perform rigorous statistical testing and modeling. It supports a range of statistical m ...
MBZUAI Quick Access Links
d6b2705594faac2605c03c803e14c000213e2f993b3c5b0d3802738d01423e625a95aea05f06b2fe76c209e14bf1c5b28fad21b853d8fefa0a867e0640f83b28283c9fbf207127de62dbcbc2c7031d34b1df0312224229cc772cb86089963b977e4ce90a618fca58ca41b1a48f6da3e9c62976261fd4f1cd5f49fb57e382d444f52e53438fbc71c9ce30d962d712d5d4e10b7de6376d87428b1d2f6ace8eb89cadc6734dd5774a1cdb3e7612b5490c393f02a806db0b5f7f287455f1c9683abbb6b872a6ca4767fd01b4122e933d5720823cd7fe375857e50945d733b928ec3b83dade5cdd79ea2c4f78d3789f2f777d1887b882a29c96b7c ...
Maximizing Efficiency With MBZUAI HPC: A Guide to SSH, Slurm, and Tmux
English Version中文版本Working on high-performance computing (HPC) systems requires a solid understanding of the tools and processes that enable efficient resource management. This guide covers essential steps to access the MBZUAI HPC environment using SSH, manage jobs with Slurm, and maintain persistent sessions with Tmux. Whether you’re a beginner or looking to refine your skills, this blog post will help you get the most out of your HPC experience.
1. Quick Access LinksBefore diving into the tech ...
【课题】Decifer音乐项目与LLM Repo Eval项目
注:AI 整理,仅作参考
1. Decifer音乐生成项目1.1. 项目概述Decifer项目致力于开发一个利用音频语言模型(Y)指导MIDI语言模型(X)的跨模态音乐生成模型。
1.2. 技术细节
数据收集:收集大量的MIDI和相应的音频数据。
模型蒸馏:音频模型作为导师模型,将知识传递给MIDI模型。
跨模态学习:实现音频输出到MIDI输入的映射,促进两个模型的互动学习。
2. LLM Repo Eval项目:GitHub仓库评估2.1. 项目目标利用大型语言模型评估GitHub仓库的效率、资源开销、部署或开发难易程度。
2.2. 实施步骤
确定评估标准:包括代码质量、工程质量、使用体验、部署和配置等。
设计评估工具和方法:选择合适的代码分析和性能分析工具。
收集数据:运行和测试GitHub仓库,收集性能数据和用户反馈。
数据分析:分析收集到的数据,评估GitHub仓库的综合表现。
3. 总结这两个项目通过使用先进的AI技术解决特定领域问题,展示了AI在音乐生成和软件工程质量评估中的应用潜力。
🍀后记🍀博客的关键词集中在编程、算法、机器人、人工智能、数学等等,持续高 ...
The Role of Vector Stores in Similarity Search and Indexing
what is the purpose to have vector store? for similarity check and indexing the relevant context material?A vector store is primarily used for efficiently managing and querying vector data, which is essential for tasks such as similarity checks and indexing relevant context material. Here are the key purposes of having a vector store:
Similarity Search:
Efficient Retrieval: When dealing with high-dimensional data such as word embeddings, image embeddings, or other feature vectors, vector store ...
ChuanhuChatbot: Multimodal Input Handling and Evaluation
1. ChuanhuChatbot.pyuser_input
chatgpt_predict_argsauto_name_chat_history_args
2. base_model.pyprepare_inputsreal_inputsfake_inputs/fake_input注:inputs是针对带有多模态输入的信息,input是只有文本
historystream_next_chatbot
get_answer_stream_iter (different model has different implementation of this function)
PROMPT_TEMPLATE (in file: presets.py)
3. TODO for MultiverseNote implementation
🍀后记🍀博客的关键词集中在编程、算法、机器人、人工智能、数学等等,持续高质量输出中。🌸唠嗑QQ群:兔叽の魔术工房 (942848525)⭐B站账号:白拾Official(活跃于知识区和动画区)✨GitHub主页:YangSier ...
Leveraging Embedding Indices in ChuanhuChatGPT: A Comprehensive Guide
ChuanhuChatGPT is an advanced GUI for interacting with the ChatGPT API and various large language models (LLMs). Among its numerous features, it includes robust functionalities for saving and managing chat history and embedding indices. This guide will provide an overview of how to set up and utilize these features effectively.
1. Setting Up the Setup WizardThe setup_wizard function initializes the setup process if the config.json file is not found. This function configures several key settings, ...
【社区】如何有效运营社区:知识建设、多元化发展与治理结构
在当今互联网时代,社区的意义已经远超过了传统的地理界限,它可以是基于兴趣、学术或特定目的的集体。然而,无论是线上社区还是线下团体,有效的运营策略都是其成功的关键。以下是我对如何高效运营一个社区的一些思考。
1. 知识与自媒体的重要性一个社区的核心在于其传递的理念和知识。因此,建立一套完善的知识结构非常关键。这不仅涉及到知识的创造和积累,更包括如何通过自媒体渠道有效传播这些理念。自媒体的运用可以帮助我们获得更广泛的话语权,并且能够吸引更多志同道合的人士加入我们的行列。
通过定期发布高质量的内容,我们可以在相关领域建立权威,同时,这也是一个持续的资金流入渠道,可以支持社区的持续发展和独立运作。例如,可以通过博客文章、视频教程、在线研讨会等形式,分享专业知识或行业动态。
2. 推行多元化和开放的社区文化社区不应仅仅局限于一个领域,比如科研,而应该是一个多元化和开放的平台。这意味着,我们应该鼓励和容纳多种形式的活动和观点,从文化活动到教育课程,甚至是休闲娱乐等。这种多元化可以增加社区的吸引力,同时也能够满足更广泛成员的需求和兴趣。
例如,可以设立主题日或者工作坊,邀请不同领域的专家来分享他们的 ...
ICLR2024 Emergent Communication With Conversational Repair
1. Miscommunication Drives Abstraction心理学层面的现象 (Psychology-level Phenomenon)
根据Healey等人的基于修复的解释,这种修复序列允许对话者识别与其对话伙伴在指称表达的语义上的潜在解释分歧,然后通过互动方式解决这些分歧。通过一系列迷宫任务实验(Healey, 2007; Healey and Mills, 2006; Mills, 2014; Healey, Mills, et al. 2018)的发现提供了修复驱动的收敛证据。在这一任务中,成对的参与者共同解决迷宫问题。这使得参与者需要反复指称空间位置(参见图1的示例迷宫配置)。一个一致的发现是,参与者最初使用视觉显著特征描述迷宫,例如“伸出的部分”(”the sticking out part”),或“在臂的末端”(”at the end of the arm”)。在实验过程中,参与者逐渐使用更抽象的描述,例如“最长的第5排”(”longest row 5th square”),而最协调的对描述更抽象的矩阵描述(如“A5”,“2,1”或“第3行第4列”(”ro ...
【网络模拟】Integrating Python in Ns-3 Simulations: A Study Note
In this blog we will explored the utilization of ns-3 as a comprehensive network simulation tool and the integration of Python within C++ applications, focusing particularly on the use of PyBind11. This study note summarizes the key points, aiming to provide insights into the efficient use of ns-3 for simulating network scenarios and the innovative application of Python in C++ environments.
ns-3: Nodes and Applicationsns-3 is a discrete-event network simulator, widely recognized for its versatil ...
PMR Introduction & Assumptions for Efficient Representation
1. Course StructureAssumptions with reasons and learning/reasoning.
Half half.
2. Basic Assumptions for Efficient Model Representation
Independence: limit the number of interaction.
Interaction: restrict the way things interact with each other.
2.1. Independence
2.2. Interaction
3. Additional Material3.1. Sensitivityu and Specificity
Sensitivity: True Positive
Specificity: True Negtive
Simply another way saying the same thing.
敏感性(Sensitivity)与特异性(Specificity)
3.2. Bayes’ rule$$P(A|B ...