{"items":["6020a5f29d41ed0018376cf4","5fe0699e54f20a0017209838","5fea41b009881a0017b16f74","5fcefb3ea7e95d0017296150"],"styles":{"galleryType":"Columns","groupSize":1,"showArrows":true,"cubeImages":true,"cubeType":"fill","cubeRatio":1,"isVertical":true,"gallerySize":30,"collageAmount":0,"collageDensity":0,"groupTypes":"1","oneRow":false,"imageMargin":7,"galleryMargin":0,"scatter":0,"rotatingScatter":"","chooseBestGroup":true,"smartCrop":false,"hasThumbnails":false,"enableScroll":true,"isGrid":true,"isSlider":false,"isColumns":false,"isSlideshow":false,"cropOnlyFill":false,"fixedColumns":0,"enableInfiniteScroll":true,"isRTL":false,"minItemSize":50,"rotatingGroupTypes":"","rotatingCropRatios":"","columnWidths":"","gallerySliderImageRatio":1.7777777777777777,"numberOfImagesPerRow":3,"numberOfImagesPerCol":1,"groupsPerStrip":0,"borderRadius":0,"boxShadow":0,"gridStyle":0,"mobilePanorama":false,"placeGroupsLtr":true,"viewMode":"preview","thumbnailSpacings":4,"galleryThumbnailsAlignment":"bottom","isMasonry":false,"isAutoSlideshow":false,"slideshowLoop":false,"autoSlideshowInterval":4,"bottomInfoHeight":0,"titlePlacement":["SHOW_ON_THE_LEFT","SHOW_BELOW"],"galleryTextAlign":"center","scrollSnap":false,"itemClick":"nothing","fullscreen":true,"videoPlay":"hover","scrollAnimation":"NO_EFFECT","slideAnimation":"SCROLL","scrollDirection":0,"scrollDuration":400,"overlayAnimation":"FADE_IN","arrowsPosition":0,"arrowsSize":23,"watermarkOpacity":40,"watermarkSize":40,"useWatermark":true,"watermarkDock":{"top":"auto","left":"auto","right":0,"bottom":0,"transform":"translate3d(0,0,0)"},"loadMoreAmount":"all","defaultShowInfoExpand":1,"allowLinkExpand":true,"expandInfoPosition":0,"allowFullscreenExpand":true,"fullscreenLoop":false,"galleryAlignExpand":"left","addToCartBorderWidth":1,"addToCartButtonText":"","slideshowInfoSize":200,"playButtonForAutoSlideShow":false,"allowSlideshowCounter":false,"hoveringBehaviour":"NEVER_SHOW","thumbnailSize":120,"magicLayoutSeed":1,"imageHoverAnimation":"NO_EFFECT","imagePlacementAnimation":"NO_EFFECT","calculateTextBoxWidthMode":"PERCENT","textBoxHeight":40,"textBoxWidth":200,"textBoxWidthPercent":75,"textImageSpace":10,"textBoxBorderRadius":0,"textBoxBorderWidth":0,"loadMoreButtonText":"","loadMoreButtonBorderWidth":1,"loadMoreButtonBorderRadius":0,"imageInfoType":"ATTACHED_BACKGROUND","itemBorderWidth":0,"itemBorderRadius":0,"itemEnableShadow":false,"itemShadowBlur":20,"itemShadowDirection":135,"itemShadowSize":10,"imageLoadingMode":"BLUR","expandAnimation":"NO_EFFECT","imageQuality":90,"usmToggle":false,"usm_a":0,"usm_r":0,"usm_t":0,"videoSound":false,"videoSpeed":"1","videoLoop":true,"jsonStyleParams":"","gallerySizeType":"px","gallerySizePx":232,"allowTitle":true,"allowContextMenu":true,"textsHorizontalPadding":-30,"itemBorderColor":{"themeName":"color_12","value":"rgba(190,188,194,0.51)"},"showVideoPlayButton":true,"galleryLayout":2,"calculateTextBoxHeightMode":"MANUAL","targetItemSize":232,"selectedLayout":"2|bottom|1|fill|true|0|true","layoutsVersion":2,"selectedLayoutV2":2,"isSlideshowFont":true,"externalInfoHeight":40,"externalInfoWidth":0.75},"container":{"width":165,"galleryWidth":172,"galleryHeight":0,"scrollBase":0,"height":null}}

# Introduction to Machine Learning

# What is Machine Learning?

Learning:the process of improve automatically with experience →Machine Learning: a computer program learn fromexperiencewith respect tosome tasks, andperformance measure.

**Three components:**

**Tasks**: e.g. classification, pattern recognition…**Performance measure:**e.g. accuracy and error… represented as matrices**Experience**: e.g. training dataset with known class labels

# Design Learning System

most ML learning process follows this procedures

**1. Choose training experience (E)**

how well can training experience represents the test examples (when the system has to make the final decisions i.e. support business decisions)

most machine learning theories

**assume**that training examples are identical to the distribution of the test examples, but this is rarely the reality

**2. Choose representation of target function**

we need to know how to represent what we want to achieve from the end results, representation of target function is closely tied with the algorithm choice

there is a tradeoff between

**expressibility**and the amount of**training data required**more expressive representation means that more training data required to choose among alternative hypothesis

*e.g. simply said, linear algebra y = ax + b can be treated as a target function (which is extended to linear regression in ML), other functions can be artificial neural network (ANN) …*

**3. Choose learning algorithm**

similar to how human learn from previous experience, target function algorithm needs constant updates while being trained, the goal is to

**minimize the error**two examples of learning algorithm:

*minimizing sum of squared errors (SSE) is used in Regression**least mean squared (LMS) is used in Artificial Neural Network (ANN)*

# Learning as Search

Learning can be seen as the process ofsearch through hypothesis spaceand find the best hypothesis that is consistent with the training dataset.

**What is the hypothesis space?**

choice of values for weights in the linear regression

can be represented as finding values to fill in matrices

**How to search?**

relate to concepts in Artificial Intelligence Local Search, it is the process of finding the optimal value among all hypotheses

*e.g. use hill-climbing searching to find local optima**e.g. ANN use genetic algorithm which is a kind of local beam search*

9 views0 comments