Rasa2.X 安装-Quick Installation

Rasa2.X安装-Quick InstallationYou can install Rasa Open Source using pip (requires Python 3.6, 3.7 or 3.8).Terminalpip3 install -U pippip3 install rasaYou are now ready to go! So what’s next? You can create a new project by running:Terminalrasa init
分类: 其他 发布时间: 11-25 08:31 阅读次数: 0

HW04-Sentence Classification notes

HW04-Sentence Classification notes1. Path and Warnings Path_prefix = './'import warningswarnings. filterwarnings('ignore')2. importimport osimport torchimport numpy as npimport pandas as pdimport torch.optim as optimimport torch.nn.functional
分类: 其他 发布时间: 11-25 08:31 阅读次数: 0

Learn note03--error and Gradient Decent

Learn note03–error and Gradient Descent1. Bias and VarianceIf large Bias, underfitting, need desin more complex model, add feature;If large variance, overfitting, need more data, regularization.Two ways:Cross validationN-fold cross validation2. Grad
分类: 其他 发布时间: 11-25 08:30 阅读次数: 0

Learn note04--Deep Learning Introduce and Back-Propagating

Learn note04–Deep Learning Introduce and Back-Propagating1. Deep Learning IntroduceThe Steps of Deep LearningStep1:Neural networkDifferent connection leads to different network structuresFully connect Feedforward NetworkDeep = Many hidden layersSte
分类: 其他 发布时间: 11-25 08:30 阅读次数: 0

Learn Note05--Neural Network Training

1. When Gradient is small1.1 Optimization Fails because:Critical point is which one:Local minima? No way to goSaddle point? Escape1.2 Tayler Series ApproximationHessian:Local minima:H is positive definite = All eigen values are positiveLocal maxi
分类: 其他 发布时间: 11-25 08:30 阅读次数: 0

Learn note06--Convolutional Neural Network

Learn note06–Convolutional Neural Network1. Why CNN for ImageAneuron does not have to see the whole image to discover the pattern.The same patterns appear in different regions.‘upper-left break’ detector‘middle beak’ detectorSubsampling the pixels w
分类: 其他 发布时间: 11-25 08:30 阅读次数: 0

Learn note07 -- ML/DL Summary

Learn note07 – ML/DL SummaryDL Study SumaryGradient Descent, study from video, and also after class, draft on paper how to gradient descent.Regession by draft on paper, to understand how to compute and perdict the result.Analysis error and bias, and h
分类: 其他 发布时间: 11-25 08:29 阅读次数: 0

Mac终端访问Linux Ubuntu

Mac终端访问Linux Ubuntu1 linux firewall check1.1 check firewall status1.2 Add firewall rules:port and ip2. Install openssh-server3. Mac Terminus Configure3.1 Terminal ssh check3.2 Create New Host3.3 Connect host4. Result1 linux firewall check1.1 check firewa
分类: 其他 发布时间: 11-25 08:29 阅读次数: 0

Crontab Schedule on Mac/Linux for Scrapy

Crontab Tasks on Mac/Linux for Scrapy1. Linux Crontab Conmand2. Parameter description :3. Crontab Schedule on Mac/Linux3.1 Linux3.2 Mac4. Tricks1. Linux Crontab ConmandLinux crontab is a command used to execute programs on a regular basis.When the opera
分类: 其他 发布时间: 11-25 08:29 阅读次数: 0

‘chromedriver‘ executable needs to be in PATH when crontab run scrapy selenium on Mac Terminal

'chromedriver' executable needs to be in PATH when run scrapy selenium on Terminal1. Download chromedriver2. Set path on python3. Crontab on Mac1. Download chromedriver1.1 Check chrome versionchrome://version1.2 Download chomedriver with same verion
分类: 其他 发布时间: 11-25 08:29 阅读次数: 0

Create Content Profile Data to MongoDB

Create Content Profile Data to MongoDB1. Prerequire2. Connect MongoDB2.1 Initial MongoDB Class2.2 Create Connect2.3 Splicing connetion3. Test&Result3.1 Content Profile3.2 Test3.3 Result1. PrerequirePycharm: conda install pymongoMongoDB: Download a
分类: 其他 发布时间: 11-25 08:28 阅读次数: 0

Algorithm -- LC Matrix_Spiral Matrix

1. 054 Spiral MatrixGiven an m x n matrix, return all elements of the matrix in spiral order.1.1. Example 1:Input: matrix = [[1,2,3],[4,5,6],[7,8,9]]Output: [1,2,3,6,9,8,7,4,5]1.2. Example 2:Input: matrix = [[1,2,3,4],[5,6,7,8],[9,10,11,12]]Output:
分类: 其他 发布时间: 11-25 08:28 阅读次数: 0

Algorithm-Sort LC

1 Merge Sort# python .pop .appenddef mergeSort(arr): arr_len = len(arr) if arr_len < 2: return arr mid = arr_len // 2 arr_left, arr_right = arr[0: mid], arr[mid:] return MGS(mergeSort(arr_left), mergeSort(arr_right))def M
分类: 其他 发布时间: 11-25 08:28 阅读次数: 0

Algorithm -Binary for ShipwithDays LC

Algorithm -Binary for ShipwithDays LC1 AnalysisBinary的典型应用,将重量作为左右边界, 用middle value来计算天数, 用天数来作为二分法的分节点,对综合知识以及实际问题处理想法的考察。2 Codingclass Solution: def shipWithinDays1(self, weights, D): left, right = max(weights), sum(weights) # 船一次运送的最小和最大
分类: 其他 发布时间: 11-25 08:28 阅读次数: 0

【学习记录而已】sublimetext中文乱码问题

【记录】sublimetext中文乱码问题
分类: 其他 发布时间: 11-25 08:27 阅读次数: 0

【学习记录而已】读取python安装目录

【学习记录而已】读取python安装目录
分类: 其他 发布时间: 11-25 08:27 阅读次数: 0

Windows不重启使环境变量立即生效

Windows不重启使环境变量立即生效
分类: 其他 发布时间: 11-25 08:27 阅读次数: 0

sublime text4 代码自动补全插件sublimecodeintel配置-Python39

sublime text4 补全插件sublimecodeintel配置-Python39
分类: 其他 发布时间: 11-25 08:27 阅读次数: 0

C Primer Plus 第六版 第六章 编程练习答案

1.编写一个程序,创建一个具有26个元素的数组,并在其中存储26个小写字母。并让该程序显示该数组的内容。 #include<stdio.h>#define SIZE 26int main(){ char zimu[SIZE]; int i; for(i = 0; i < SIZE; i++) zimu[i] = 'a' + ...
分类: 其他 发布时间: 11-25 08:26 阅读次数: 0

C Primer Plus (第六版)中文版 第十章 编程练习答案

C Primer Plus (第六版)中文版 第十章 编程练习答案
分类: 其他 发布时间: 11-25 08:26 阅读次数: 0