- 2024-11-21Let'sGoFurther - Chapter 14: User Activation
zzh@ZZHPC:/zdata/Github/greenlight$migratecreate-seq-ext.sql-dir./migrationscreate_token_table/zdata/Github/greenlight/migrations/000005_create_token_table.up.sql/zdata/Github/greenlight/migrations/000005_create_token_table.down.sql C
- 2024-11-19Let'sGoFurther - Chapter 13: Sending Emails
File:internal/mailer/templates/user_welcome.html:{{define"subject"}}WelcometoGrrenlight!{{end}}{{define"plainBody"}}Hi,ThanksforsigningupforaGrrenlightaccount.We'reexcitedtohaveyouonboard!Forfuturere
- 2024-11-19Let'sGoFurther - Chapter 12: User Model Setup and Registration
zzh@ZZHPC:/zdata/Github/greenlight$migratecreate-seq-ext=.sql-dir=./migrationscreate_user_table/zdata/Github/greenlight/migrations/000004_create_user_table.up.sql/zdata/Github/greenlight/migrations/000004_create_user_table.down.sql CREATET
- 2024-11-18Let'sGoFurther - Chapter 11: Graceful Shutdown
zzh@ZZHPC:/zdata/Github/greenlight$gorun./cmd/apitime=2024-11-18T19:49:43.864+08:00level=INFOmsg="databaseconnectionpoolestablished"time=2024-11-18T19:49:43.864+08:00level=INFOmsg="startingserver"addr=:4000env=devel
- 2024-11-16Let'sGoFurther - Chapter 8: Advanced CRUD Operations
var(ErrRecordNotFound=errors.New("recordnotfound")ErrEditConflict=errors.New("editconflict")) func(mMovieModel)Update(movie*Movie)error{query:=`UPDATEmovieSET
- 2024-11-16Let'sGoFurther - Chapter 6: SQL Migrations
InstallingthemigratetoolTomanageSQLmigrationsinthisprojectwe’regoingtousethemigratecommand-line tool(whichitselfiswritteninGo).OnLinuxandWindows,theeasiestmethodistodownloadapre-builtbinaryandmove ittoalocat
- 2024-11-15GoFurther - Chapter 5: Database Setup and Configuration
zzh@ZZHPC:/zdata/Github/greenlight$dockerpullpostgreszzh@ZZHPC:/zdata/Github/greenlight$dockerrun--namepostgres17-p5432:5432-ePOSTGRES_USER=root-ePOSTGRES_PASSWORD=root-dpostgres:latest zzh@ZZHPC:~$dockerexec-itpostgres17psql
- 2024-11-15【Chapter 4】Machine Learning Regression Case_Second hand Car Price Prediction-XGBoost
文章目录一、XGBoostAlgorithm二、ComparisonofalgorithmimplementationbetweenPythoncodeandSentosa_DSMLcommunityedition(1)Datareadingandstatisticalanalysis(2)dataprocessing(三)Featureselectionandcorrelationanalysis(4)Samplepartit
- 2024-11-12《TCP/IP网络编程》学习笔记 | Chapter 11:进程间通信
《TCP/IP网络编程》学习笔记|Chapter11:进程间通信《TCP/IP网络编程》学习笔记|Chapter11:进程间通信进程间通信的基本概念通过管道实现进程间通信通过管道进行进程间双向通信运用进程间通信习题(1)什么是进程间通信?分别从概念和内存的角度进行说明。(2)进程间通信需要
- 2024-11-07【Chapter 1: Overview of Sentosa_DSML Community Edition】
文章目录Chapter1:OverviewofSentosa_DSMLCommunityEdition1.WhatisDSML?2.WhatisSentosa_DSML?3.PositioningoftheSentosa_DSMLCommunityEdition4.WhatisSentosa_DSMLCommunityEdition?![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/51e1c2
- 2024-11-03PyTorchStepByStep - Chapter 9: Sequence-to-Sequence
points,directions=generate_sequences(n=256,seed=13)Andthenlet’svisualizethefirstfivesquares:classEncoder(nn.Module):def__init__(self,n_features,hidden_dim):super().__init__()self.n_features=n_features
- 2024-10-26直观解释注意力机制,Transformer的核心 | Chapter 6 | Deep Learning | 3Blue1Brown
目录前言1.前情提要:词嵌入2.注意力是什么?Mole是什么?Tower又是什么?3.注意力模式:“一个毛茸茸的蓝色生物漫步于葱郁的森林”,名词与形容词,查询与键4.掩码:看前不看后5.上下文窗口大小6.值矩阵7.参数有多少8.交叉注意力9.多头注意力10.输出矩阵11.加深网络12.结语
- 2024-10-26直观解释大语言模型如何储存事实 | Chapter 7 | Deep Learning | 3Blue1Brown
目录前言1.大语言模型中的事实储存在哪里?2.快速回顾一下Transformer3.针对示例所做的假设4.多层感知器内部机理5.参数统计6.叠加7.下期预告相关资料结语前言3Blue1Brown视频笔记,仅供自己参考这几个章节主要解析GPT背后的Transformer,本章主要是剖析Tra
- 2024-10-20PyTorchStepByStep - Chapter 6: Rock, Paper, Scissors…
https://storage.googleapis.com/download.tensorflow.org/data/rps.ziphttps://storage.googleapis.com/download.tensorflow.org/data/rps-test-set.zip
- 2024-10-17PyTorchStepByStep - Chapter 5: Convolutions
single=np.array([[[[5,0,8,7,8,1],[1,9,5,0,7,7],[6,0,2,4,6,6],[9,7,6,6,8,4],[8,3,8,5,1,3],[7,2,7,0,1,0]]]])single.shape#(1,1,6,6)identity=np.array([[[[0,0,
- 2024-10-17PyTorchStepByStep - Bonus Chapter: Feature Space
- 2024-10-14PyTorchStepByStep - Chapter 3: A Simple Classification Problem
X,y=make_moons(n_samples=100,noise=.3,random_state=0)X_train,X_val,y_train,y_val=train_test_split(X,y,test_size=.2,random_state=13) sc=StandardScaler()sc.fit(X_train)X_train=sc.transform(X_train)X_val=sc.transform(X_val
- 2024-10-13PyTorchStepByStep - Chapter 2.1: Going Classy
classStepByStep():def__init__(self,model,loss_fn,optimizer):self.device='cuda'iftorch.cuda.is_available()else'cpu'self.model=model.to(self.device)self.loss_fn=loss_fnself.opti
- 2024-10-12PyTorchStepByStep - Chapter 2: Rethinking the Training Loop
defmake_train_step_fn(model,loss_fn,optimizer):defperform_train_step_fn(x,y):#SetmodeltoTRAINmodemodel.train()#Step1-Computemodel'spredictions-forwardpassyhat=model(x)
- 2024-10-01“Celebrating National Day: A Glorious Chapter“
Thewindofgoldenautumnbringsdelicatefragrance.Thechrysanthemumsinfrostofferbloomingbeautyforaseason.Kissingtheafterglowofthesettingsun,loveoverflowsfromgentleeyes.Lookingatthepeacefulfieldsallaround,passionfliesintov
- 2024-09-29Chapter 2 - 1. Understanding Congestion in Fibre Channel Fabrics
Thischaptercoversthefollowingtopics:本章包括以下主题: FibreChannelFlowControl.光纤通道流量控制 CongestionSpreadinginFibreChannelFabrics.光纤通道Fabric中的拥塞扩散 FrameFlowwithinaFibreChannelSwitch.光纤通道交换机内的帧流
- 2024-09-15Java开发环境 第二章(Java Developer environment on Windows 10 Chapter 2)
第二章IdeaMaven安装与设置1.Idea安装(下载请至idea官网)一路默认,下一步至完成2.IdeaMaven配置a.idea注册码获取,还请自行搜索"idea激活码"或"idea破解"b.创建测试项目新建项目选择JDK项目位置c.配置Maven(maven仓库请自行搜索下载)注意修改sett
- 2024-09-12数据结构与算法chapter-0
/**Aninterfaceformethodsthatreturntheperimeterandareaofanobject.@
[email protected]*/publicinterfaceMeasurable{/**Getstheperimeter.@returnTheperimeter.*/publicdoublegetPerimeter()
- 2024-09-12《数字图像处理(面向新工科的电工电子信息基础课程系列教材)》Chapter 1课件2024
每一轮备课都有新的感悟。禹晶、肖创柏、廖庆敏《数字图像处理(面向新工科的电工电子信息基础课程系列教材)》禹晶、肖创柏、廖庆敏《数字图像处理》资源二维码
- 2024-09-11反问题综述文章
阅读笔记Paper:“Mathematicalanalysisandnumericalmethodsforinversescatteringproblems,”p.22,2022,doi:10.4171/ICM2022/5.Chapter1:介绍问题背景Chapter2:介绍反介质问题总结了电磁、声学的递归线性法(RLM)。反问题理论结果目前是只给出了一维的稳定性(