<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Chang Liu on Medium]]></title>
        <description><![CDATA[Stories by Chang Liu on Medium]]></description>
        <link>https://medium.com/@changliu_75573?source=rss-64187b444737------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*UGyAAeDU_PeMZBqh.</url>
            <title>Stories by Chang Liu on Medium</title>
            <link>https://medium.com/@changliu_75573?source=rss-64187b444737------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 23:44:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@changliu_75573/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Object detection Note]]></title>
            <link>https://medium.com/@changliu_75573/object-detection-note-5903a734003c?source=rss-64187b444737------2</link>
            <guid isPermaLink="false">https://medium.com/p/5903a734003c</guid>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Chang Liu]]></dc:creator>
            <pubDate>Fri, 28 Sep 2018 18:13:52 GMT</pubDate>
            <atom:updated>2018-09-28T18:13:52.600Z</atom:updated>
            <content:encoded><![CDATA[<p>This inherent feature hierarchy produces feature maps of different spatial resolutions, but have inherent problems in structure : the later (or higher) layers have a large receptive field and strong semantics, and are the most robust to variations such as object pose, illumination and part deformation, but the resolution is low and the geometric details are lost. On the contrary,<br>the earlier (or lower) layers have a small receptive field and rich geometric details, but the resolution is high and is much less sensitive to semantics. Intuitively, semantic concepts of objects can emerge in different layers, depending on the size of the objects. So if a target object is small it requires fine detail information in earlier layers and may very well disappear at later layers, in principle making small object detection very challenging, for which tricks such as dilated convolutions [229] or atrous convolution [40, 27] have<br>been proposed. On the other hand if the target object is large then the semantic concept will emerge in much later layers. Clearly it is not optimal to predict objects of different scales with features from only one layer, therefore a number of methods have been proposed to improve detection accuracy by exploiting multiple CNN layers, broadly falling into three types of multiscale<br> object detection</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5903a734003c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Interested Papers]]></title>
            <link>https://medium.com/@changliu_75573/interested-papers-5e1e256ad43e?source=rss-64187b444737------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e1e256ad43e</guid>
            <dc:creator><![CDATA[Chang Liu]]></dc:creator>
            <pubDate>Thu, 13 Sep 2018 01:17:01 GMT</pubDate>
            <atom:updated>2018-09-13T20:16:41.604Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>Group Normalization <a href="https://arxiv.org/abs/1803.08494">https://arxiv.org/abs/1803.08494</a></li></ol><p>2. Squeeze-and-Excitation Networks <a href="https://arxiv.org/abs/1709.01507">https://arxiv.org/abs/1709.01507</a></p><ul><li>Dynamic channel-wise feature recalibration</li><li>Explicitly modelling interdependencies between channels</li><li>Use global information to selectively emphasis informative features and suppress less useful ones</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e1e256ad43e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Parametric Model in ML]]></title>
            <link>https://medium.com/@changliu_75573/parametric-model-in-ml-1bade66591d7?source=rss-64187b444737------2</link>
            <guid isPermaLink="false">https://medium.com/p/1bade66591d7</guid>
            <dc:creator><![CDATA[Chang Liu]]></dc:creator>
            <pubDate>Sat, 11 Aug 2018 08:35:34 GMT</pubDate>
            <atom:updated>2018-08-11T08:35:34.634Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*JDNollxQFdNf92UUNn47HQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/1*JWnqg070FlsRMhpqd640Lg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/819/1*wmZ-V2JEjSCauymqkLFRFg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/833/1*KKMfmbdCyKUKBAHB2aI_RQ.png" /></figure><blockquote>Linear Regression</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*TX2vo9CkpoqybXJl5VDbUQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1bade66591d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Leetcode Notes]]></title>
            <link>https://medium.com/@changliu_75573/leetcode-notes-1baa06bcce74?source=rss-64187b444737------2</link>
            <guid isPermaLink="false">https://medium.com/p/1baa06bcce74</guid>
            <dc:creator><![CDATA[Chang Liu]]></dc:creator>
            <pubDate>Tue, 07 Aug 2018 02:00:30 GMT</pubDate>
            <atom:updated>2018-08-08T05:09:29.046Z</atom:updated>
            <content:encoded><![CDATA[<p>HashTable:</p><ol><li>Count the frequency of item</li><li>Uniqueness of item</li><li>Store weighted sum</li><li>List, dict is not hashtable, but “Tuble ” can be key !</li></ol><p>Class object can be a key as well !!!</p><p>Sorting Algorithm:</p><ul><li>Time Complexity</li><li>space complexity</li><li>stability(preserved the order of original list for same elements)</li><li>Internal(RAM) or eternal(disk)</li><li>Recursive or not</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1baa06bcce74" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Machine learning Big Picture]]></title>
            <link>https://medium.com/@changliu_75573/machine-learning-notes-reivew-764b7a1c25d8?source=rss-64187b444737------2</link>
            <guid isPermaLink="false">https://medium.com/p/764b7a1c25d8</guid>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Chang Liu]]></dc:creator>
            <pubDate>Mon, 06 Aug 2018 15:00:20 GMT</pubDate>
            <atom:updated>2018-08-10T23:11:55.939Z</atom:updated>
            <content:encoded><![CDATA[<p>Topics in machine learning can be categorized by these three axes</p><p>— Data</p><p>— Tasks i.e. type of knowledge we seek</p><p>— Algorithms</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*RcAwHl0xxDdwCZ1MWqBW2A.png" /></figure><ol><li>Algorithms</li></ol><ul><li>Model-based Methods</li></ul><p>— ProbabilisSc Model of the data</p><p>— Parametric Models</p><p>— Nonparametric Models</p><ul><li>Model-free Methods</li></ul><p>2. Task/ Knowledge</p><p>Prediction Problem(Supervised Learning): Estimate output Y given input X.</p><ul><li>Classification: discrete label Y</li><li>Regression: continuous label Y</li></ul><p>Discription Problem (Unsupervised Learning): Given data X, learn f(X)</p><ul><li>Density estimation</li><li>Clustering</li><li>Dimension reduction</li></ul><blockquote><strong><em>From Data to Model.</em></strong></blockquote><blockquote><strong><em>Choose a model </em></strong>that would capture the experimental data</blockquote><blockquote><strong><em>and estimate its parameters</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/1*-f2_VtjyPrA7GuQrH1LnMA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j2oi0UMSds2UpXxKV56N2Q.png" /></figure><p>MLE: Dissimilarity of model distribution(eg. Gaussian model, binomial model) and data distribution( real distribution)</p><p>How good is this model?</p><ul><li>Unbiasedness (E(w)=w*)</li><li>Consistency: w →w* in probability distribution when n →inf</li><li>Convergent rate: Training data size</li><li>Variance: How we expect our estimator vary as we resample the dataset from a underlying data-generation process. E((w-E(w))²)</li></ul><p>In the Bayesian approach, the prior information is encoded through a prior distribution over the parameters</p><p>MAP can be seen as “superior” to MLE</p><p>• Use of priors</p><p>• Good estimates from few data</p><blockquote><strong><em>Model to Knowledge</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8EUsgzxtl5gJkflW_zL6WA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*lt5yChpxQP4GmQdwWpGXcg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=764b7a1c25d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deep learning Notes]]></title>
            <link>https://medium.com/series/deep-learning-notes-d26f6d09214a?source=rss-64187b444737------2</link>
            <guid isPermaLink="false">https://medium.com/p/d26f6d09214a</guid>
            <dc:creator><![CDATA[Chang Liu]]></dc:creator>
            <pubDate>Fri, 13 Jul 2018 12:45:46 GMT</pubDate>
            <atom:updated>2018-07-18T02:56:02.539Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>How to structure your deep learning project?</li></ol><p>a. Orthogonalization. Make your hidden features orthogonal to each other</p><p>b. Use single evaluation metrics</p><p>c. Wisely choose the dev/test set</p><p>We recommend the following practical design process:</p><ul><li>Determine your goals — what error metric to use, and your target value for this error metric. These goals and error metrics should be driven by the problem that the application is intended to solve.</li><li>Establish a working end-to-end pipeline as soon as possible, including the estimation of the appropriate performance metrics.</li><li>Instrument the system well to determine bottlenecks in performance. Diagnose which components are performing worse than expected and whether poor performance is due to overﬁtting, underﬁtting, or a defect in the data or software.</li><li>Repeatedly make incremental changes such as gathering new data, adjusting hyperparameters, or changing algorithms, based on speciﬁc ﬁndings from your instrumentation</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d26f6d09214a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tensorflow Tutorial]]></title>
            <link>https://medium.com/@changliu_75573/tensorflow-tutorial-f43d1a35a32e?source=rss-64187b444737------2</link>
            <guid isPermaLink="false">https://medium.com/p/f43d1a35a32e</guid>
            <category><![CDATA[tensorflow]]></category>
            <dc:creator><![CDATA[Chang Liu]]></dc:creator>
            <pubDate>Thu, 12 Jul 2018 21:41:46 GMT</pubDate>
            <atom:updated>2018-07-12T21:41:46.950Z</atom:updated>
            <content:encoded><![CDATA[<ol><li><strong>TensorFlow separates definition of computations from their execution</strong></li></ol><p>Phase 1: assemble a graph</p><p>Phase 2: use a session to execute operations in the graph.</p><p>2. Data type</p><p>Constant values are stored in the graph definition</p><p>Sessions allocate memory to store variable values</p><p>3. Build up your Model</p><p>Phase1:</p><ul><li>Read data</li><li>Create placeholders for inputs and labels</li><li>Create variable for weight and bias (tf.get_variable())</li><li>Inference</li><li>Create loss function</li><li>Create optimizer</li></ul><blockquote>optimizer=tf.train.GradientDescentOptimizer(learning_rate=0.001).minimize(loss)</blockquote><p>Phase2:</p><ul><li>Initialization variable and run optimizer</li><li>Write Tensorboard:</li></ul><blockquote>writer = tf.summary.FileWriter(‘./graphs/linear_reg’, sess.graph)</blockquote><blockquote>tensorboard — logdir=’./graphs’</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f43d1a35a32e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exact Inference]]></title>
            <link>https://medium.com/@changliu_75573/exact-inference-9569242f4934?source=rss-64187b444737------2</link>
            <guid isPermaLink="false">https://medium.com/p/9569242f4934</guid>
            <dc:creator><![CDATA[Chang Liu]]></dc:creator>
            <pubDate>Fri, 01 Jun 2018 08:49:00 GMT</pubDate>
            <atom:updated>2018-06-01T08:49:00.214Z</atom:updated>
            <content:encoded><![CDATA[<h3>1. Probabilistic Inference and Learning</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9569242f4934" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Undirected GM]]></title>
            <link>https://medium.com/@changliu_75573/undirected-gm-3e4c49f682b9?source=rss-64187b444737------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e4c49f682b9</guid>
            <dc:creator><![CDATA[Chang Liu]]></dc:creator>
            <pubDate>Thu, 31 May 2018 08:35:35 GMT</pubDate>
            <atom:updated>2018-06-01T08:33:22.906Z</atom:updated>
            <content:encoded><![CDATA[<h3>1. Notation:</h3><p>The directed edges in a DAG give <strong>causality </strong>relationships, DAGs are also called Bayesian Network. The undirected edges in UGM give <strong>correlations</strong> between variables, UGMs are also called Markov Random Fields (MRF).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/987/1*00phPkedzeQruYTgI2hPbA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*24fa06Zaj9X0cEKTlZGC0Q.png" /></figure><h3>2. P-Maps</h3><p>Definition: A DAG G is a perfect map (P-map) for a distribution P if I(P) = I(G).</p><p>Theorem:Not every distribution has a perfect map as DAG.</p><p><strong>The minimal I map is far from capturing all the independencies in distribution.</strong></p><h3>3. Representation</h3><p>3.1 Quantitative specification: cliques</p><p>For G = {V, E}, a complete subgraph (clique) is a subgraph G0 = {V 0 ⊆ V, E0 ⊆ E} such that nodes in V 0 are fully interconnected. A (maximal) clique is a complete subgraph such that any superset V 00 ⊃ V 0 is not complete.</p><p>The <strong>potential function</strong> can be understood as an contingency function of its arguments assigning “pre-probabilistic” score of their joint configuration.</p><ul><li>cannot all be conditional or marginal</li></ul><p>3.2 Independence properties</p><ul><li>Global Independencies:</li></ul><p>A set of nodes Z separates X and Y in H, denoted sepH(X : Y |Z), if there is no active path between any node X ∈ X and Y ∈ Y given Z. Global independencies associated with H are defined as:</p><p>I(H) = {X ⊥ Y |Z : sepH(X : Y |Z)}</p><ul><li>Local Markov Independencies</li></ul><p>local independencies state that X is independent of the rest of the nodes in the graph given its immediate neighbors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/556/1*en6yvYmw8WRtqxGEd4Wx2A.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e4c49f682b9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PGM: Directed GMs]]></title>
            <link>https://medium.com/@changliu_75573/prob-graphic-model-representation-f2e3cf904f4f?source=rss-64187b444737------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2e3cf904f4f</guid>
            <dc:creator><![CDATA[Chang Liu]]></dc:creator>
            <pubDate>Mon, 26 Mar 2018 04:52:23 GMT</pubDate>
            <atom:updated>2018-05-31T09:05:44.872Z</atom:updated>
            <content:encoded><![CDATA[<h3>1. Types</h3><ul><li>Directed GM: Directed edges give <strong>causality relationships</strong> between random variables.</li><li>Undirected GM: Undirected edges give <strong>correlations</strong> between random variables.</li></ul><h3>2. Notation( Given observation X, and condition Y)</h3><ul><li>Evaludation: p(X)</li><li>Decoding: p(Y|X)</li><li>Learning: theta = argmax f(theta)</li></ul><h3>3. How to choose a Graphic model?</h3><ul><li>Variable : observed, hidden; continuous, discrete</li><li>Structure: causal 因果, generative, coupling</li><li>Probability</li></ul><h3>4. Bayesian Network (Directed)</h3><ul><li>Directed acyclic graph (DAG)</li><li>Represent the joint probability of the random variables in a factorized way</li><li>It offers a compact representation for a set of conditional independence assumptions about a distribution;</li></ul><h4>Local Structures and Independencies:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*602idZhdKK9w2bLAwa7N6A.png" /></figure><p>(a,b) A ⊥ C|B</p><p>(c) if C is observed, then equation is not established.</p><h3>5. I-Map</h3><p>Definition : Let P be a distribution over X. I-map I(P) is defined to be the set of independence assertions of the form (X ⊥Y |Z) that hold in P.</p><p>Definition : Let K be an any graph object associated with a set of independencies I(K). Then K is an I-map for a set of independencies I if I(K) ⊆ I.</p><p><strong>P factorize over G →G is an I-map for P → I(G) belong to I(P)</strong></p><h4>Local Conditional Independence Assumption</h4><p>Given a Bayesian Network G, the following assertion holds.</p><p>Definition : Let P aXi be the parents of Xi in G, and N dXi be the variables that are not descendants of Xi . Then, a node Xi is independent of any non descendants given its parents.</p><blockquote>Reason:</blockquote><blockquote>Want a Sparser Graph: More independencies encoded in a graph, the sparser (fewer parameters, informative) graph will be.</blockquote><h3>6. D-separation</h3><p>6.1 D-separation Through Moralized Ancestral Graph</p><p><strong>Let X, Y , and Z be variables in a graph. We say X is d-separated from Y given Z if X and Y are separated in the moralized ancestral graph.</strong> This graph is constructed by first removing the descendants of X, Y , Z. Then we convert the edges to undirected edges and add edges between nodes which have a common child in the original graph, but no edge between them. This process is illustrated in Figure 3.</p><h4>6.2 Global Markov properties</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3WMsQ8CyyZC4CoVsmh6NwA.png" /></figure><p> Causal trail X → Z → Y : active if and only if Z is not observed.</p><p> Evidential trail X ← Z ← Y : active if and only if Z is not observed.</p><p> Common cause X ← Z → Y : active if and only if Z is not observed.</p><p> Common effect X → Z ← Y : active if and only if either Z or one of Z’s descendants is observed</p><p>X is <strong>d-separated (directed-separated)</strong> from Z given Y if we can’t send a ball from any node in X to any node in Z using the “Bayesball” algorithm</p><h3><strong>7. Equivalence theorem</strong></h3><p>Separation properties in a graph imply conditional independence in a distribution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/817/1*qgOyo4tn7k8FlTSa0nEejQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2e3cf904f4f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>