【Machine leaning】笔记:梯度下降法 Tips
如果不同 feature 取值范围比较接近,那么梯度下降法就能让误差函数尽快收敛。老师建议:大概不超过 $(-3, 3)$,且大概不小于 $(-1/3, 1/3)$,是比较能接受的。
TELE9753 Project
Project for TELE9753This is an individual project. The weight of the assessment is 20% of the final mark.Each student should finish the project independently.Each student should hand in one report with program code attached at the end.At the beginning of each program, a brief description of the p...
2022-04-06
vscode + autopep8 无法格式化 python 代码问题解决
{代码...} 上面的代码,死活无法用快捷键格式化,所以手动输入 autopep8 看看 {代码...} 懒得去管是哪个模块引起的问题了先无脑升级第三方试试 {代码...} 升级之后,问题就解决了具体是哪个包引起的问题,我懒得去找了,反正全部升级就对了
2023-09-14
使用Python的NumPy库进行数值计算
在科学计算和数据分析中,数值计算是必不可少的。Python的NumPy库提供了强大的数值计算功能。本文将介绍如何使用NumPy进行基本数值计算。
2023-05-15
《CPython Internals》阅读笔记:p20-p42
VSCode 或者 CLion。VSCode 配置讲得挺清晰,但是 CLion 的配置讲得很混乱,本人看完后感觉很懵,也没配置好,先跳过吧,回头再看。
2025-01-07
功能强大的python包(一):Numpy
Numpy最基本最常用的数据类型是ndarray(n维数组),其中的很多方法也是针对ndarray对象而开发的;其与python自带数据类型list(列表)基本无差别;因此对于list对象的操作都可以运用到ndarray对象上。
2021-07-28
MCG5138 Final
Particle Image Velocimetry (PIV) Data ProcessingEach student is expected to submit a report on the final project. A complete submissionshould include the following elements:
2022-08-06
COMP2003J Graphs
Assignment 2: GraphsCOMP2003J: Data Structures and Algorithms 2Document Version: 1.0IntroductionThe goal of this assignment is to program some graph implementations.Download the file Assignment-2-Source.zip from Brightspace. Thecontents of this file include the following important classes and int...
2024-05-17
Learning TensorFlow Note-102
Quick Start with Docker We are going to use this Docker Images tensorflow/tensorflow After installation of Docker has completed. Start CPU only container {代码...} Going to your browser on [链接]:8888/. This Docker Image will launch a jupyter. Of course,You can without Docker and start your first...
2017-11-26
1. R语言运行效率分析_小结(6)
从上图可以看出,对于All,Month或Season来说,这8个函数中,随着数据量的增加,ddply,join,str_replace和which处理单个数据所需时间急速下降,随着数据量的继续增加,ddply 在n=10000时有一个明显的拐点。对于for_if,for_if_else,for_ifelse和for_switch来说,随数据量的增加,处理每个数据所需时间变化相对较小,并且没...
2020-02-24
COMP 2006J Scheduling
Operating SystemsAssignment 01: SchedulingCOMP 2006JAutumn, 20211 Scheduling SimulatorPlease download the scheduling simulator skeleton code from the moodle. The scheduling simulator illustratesthe behaviour of scheduling algorithms against a simulated mix of process loads. The user can specify t...
2022-07-07
《Operating System Concepts》阅读笔记:p87-p94
The Android operating system was designed by the Open Handset Alliance (led primarily by Google) and was developed for Android smartphones and tablet computers.
2025-02-23
Pandas之旅(七) 谁说pandas慢
其实我想说的是,慢不是pandas的错,大家要知道pandas本身是在Numpy上建立起来的包,在很多情况下是支持向量化运算的,而且还有C的底层设计,所以我今天主要想从几个方面和大家分享一下pandas加速的小技巧,与往常一样,文章分成四部分,本文结构如下:
机器学习实战 | 自动化特征工程工具Featuretools应用
在ShowMeAI的文章 机器学习特征工程最全解读 里,我们给大家详细介绍了特征工程的操作,但我们实际上有很多工具可以辅助我们更快捷地完成特征工程,在本篇内容中,ShowMeAI给大家介绍Featuretools这个Python自动化特征工程的工具库。我们会借助于BigMart Sales数据集来演示自动化特征工程的相关应用。
2022-03-22
K近邻算法用作回归的使用介绍(使用Python代码)
甚至它可以做的更好?它可以用于分类和回归问题!然而,它其实更擅长用于分类问题。我很少看到KNN在任何回归任务上实现。我在这里的目的是说明并强调,当目标变量本质上是连续的时,KNN是如何有效的运作的。
2019-05-13
【Pytorch教程】迅速入门Pytorch深度学习框架
@TOC前言本文只是对于pytorch深度学习框架的使用方法的介绍,如果涉及算法中复杂的数学原理,本文将不予阐述,敬请读者自行阅读相关论文或者文献。1.tensor基础操作1.1 tensor的dtype类型代码含义float3232位floatfloatfloafloat6464位floatdoubledoublefloat1616位floatbfloat16比float范围大但精度低int88位intint1616...
2024-08-26
COMP5328大赏
COMP5328 - Advanced Machine LearningAssignment 2Due: 11 November 2021, 23:59PMThis assignment is to be completed in groups of 2 to 3 students. It is worth25% of your total mark.IntroductionThe objective of this assignment is to build a transition matrix estimator and twoclassification algorithms ...
2022-07-30