Hello everyone, I am mac Jiang. See everyone's support for my blog, very touched. Today I am sharing my handwritten notes while learning the cornerstone of machine learning. When I was studying, I wrote down something that I thought was important, one for the sake of deepening the impression, and the other for the later review.Online machine learning Cornerstone Notes
function, except kernel= ' sigmoid ' effect is poor, the other effect is not very different.Then there is the training and testing session, where it divides all the data into two parts. Half to do the training set, half to do the test set.Let's talk about the parameters of the test here. The first is Precision,recall,F1-score, support these four parameters.F1-score is through Precision,recall the two are counted. formulas such as:Support is the supporting degree, which indicates the number of
Learning notes TF020: Sequence Annotation, handwritten lowercase letter OCR dataset, bidirectional RNN, tf020rnn
Sequence labeling, which predicts a category for each frame of the input sequence. OCR (Optical Character Recognition ).
MIT oral Systems Research Group Rob Kassel collection, Stanford University Artificial Intelligence Laboratory Ben Taskar pre-processing OCR dataset (http://ai.stanford.edu /~ B
#let command is a tool for calculations in BASH that executes one or more expressions and does not need to be added to a variable in the calculation of variables. Self-add operation: let no++ self-subtraction operation: let no--#方式三DoneCase Case inch 12) Command1 command2 ... commandn;; Esac8. Use of functionsAll functions must be defined before they are used. This means that the function must be placed at the beginning of the script until the shell interpreter discovers it for the first time
,:] = Img2vector (' trainingdigits/%s '% filenamestr) testfilelist = Listdir (' testdigits ') #iterate through T He test set errorcount = 0.0 mtest = Len (testfilelist) for I in Range (mtest): Filenamestr = Testfilelist[i ] Filestr = Filenamestr.split ('. ') [0] #take off. txt classnumstr = int (Filestr.split ('_') [0]) Vectorundertest = Img2vector (' testdigits/%s ' % filenamestr) Classifierresult = Classify0 (Vectorundertest, Trainingmat, Hwlabels, 3) print "The Classifie R came back with:%d,
"); - EchoGet_time_diff (); - EchoGet_time_diff (Mktime(0,0,0,1,2,1970)); - EchoGet_time_diff (Mktime(0,0,0,12,8,2017),Mktime(0,0,0,12,5,2017)); - - Echo"; in - functionCalendar$time=0){ to $time=$time>0?$time: Time(); + - $days=Date("T",$time);//total days of the month the * $first _day=Date("W",Mktime(0,0,0,Date("N",$time), 1,Date("Y",$time)));//Day 1th of the month is the day of the week $ Panax Notoginseng $rows=Ceil(($days+$first _day)/7);//number of rows in the dynamic
For details, refer to the Development notes of an Android tablet project-scheduled task backup
Create a class to inherit from asynctask
Public class backuptask extends asynctask // Obtain the path of the database in use. My path is/dlion/db_dlion.db under the sdcard directory.// The default path is/data/(package name)/databases /*. DB file dbfile = mcontext. getdatabasepath (environment. getexternalstoraged
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.