<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Big Data &#8211; Megaputer Intelligence</title>
	<atom:link href="https://www.megaputer.com/tag/big-data/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.megaputer.com</link>
	<description>Your Knowledge Partner</description>
	<lastBuildDate>Tue, 24 Mar 2026 00:02:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.22</generator>

<image>
	<url>https://www.megaputer.com/wp-content/uploads/favicon.png</url>
	<title>Big Data &#8211; Megaputer Intelligence</title>
	<link>https://www.megaputer.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Query languages—the Swiss army knife of information extraction</title>
		<link>https://www.megaputer.com/query-languages-the-swiss-army-knife-of-information-extraction/</link>
		<pubDate>Tue, 06 Feb 2024 05:19:41 +0000</pubDate>
		<dc:creator><![CDATA[Echo Lu]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Big Data]]></category>
		<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[Computational Linguistics]]></category>
		<category><![CDATA[Data Analytics]]></category>
		<category><![CDATA[Data Mining]]></category>
		<category><![CDATA[Entity Extraction]]></category>
		<category><![CDATA[Fuzzy Matching]]></category>
		<category><![CDATA[Machine Learning]]></category>
		<category><![CDATA[Morphology]]></category>
		<category><![CDATA[Pattern Definition Language]]></category>
		<category><![CDATA[Text Analytics]]></category>

		<guid isPermaLink="false">https://www.megaputer.com/?p=35231</guid>
		<description><![CDATA[<p>Text mining, the art of extracting information from text, requires the formulation of efficient queries that retrieve information based on user input. To do this, the user requires a language for writing queries. For the most basic use cases, the language operators could be regex or string search. But while regex and string search are...</p>
<p>The post <a rel="nofollow" href="https://www.megaputer.com/query-languages-the-swiss-army-knife-of-information-extraction/">Query languages—the Swiss army knife of information extraction</a> appeared first on <a rel="nofollow" href="https://www.megaputer.com">Megaputer Intelligence</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p><span style="font-weight: 400;">Text mining, the art of extracting information from text, requires the formulation of efficient queries that retrieve information based on user input. To do this, the user requires a language for writing queries. For the most basic use cases, the language operators could be regex or string search. But while regex and string search are indispensable for text mining, their utility hits a hard ceiling when semantic or meaningful search is required. They cannot, for example, capture complex entities such as human names, corporations, and drugs. For handling tasks like these, we need a more powerful query language that has semantic understanding, such as Megaputer’s PDL.</span></p>
<p><span style="font-weight: 400;">So, what is PDL, and how does it achieve semantic understanding while regex and string search do not? Let’s take a look at an example to find out.</span></p>
<p><span style="font-weight: 400;">First of all, PDL does not just search for the literal form of the word in the query: instead, it automatically extends its search to all morphological forms of the word. For example, when searching for the word “company” in financial news articles, the PDL query will not only find “company”, but also “companies,” the plural form. This feature often comes in handy, especially when the search involves a verb. Suppose that you are interested in extracting </span><i><span style="font-weight: 400;">what the CEOs said. </span></i><span style="font-weight: 400;">With regex or other substring search, you will need to list all possible verb forms such as “say,” “saying,” “says,” and “said.” With PDL, simply entering “say” in the query will automatically fetch all possible verb forms. This behavior can also be turned off by enclosing the word in the </span><i><span style="font-weight: 400;">form </span></i><span style="font-weight: 400;">function</span><span style="font-weight: 400;">,</span><span style="font-weight: 400;"> which will then restrict the search to the literal form of the word, such as in the example below.</span></p>
<p><img class="wp-image-35249 aligncenter" src="https://www.megaputer.com/wp-content/uploads/comparison_pdl-1.png" alt="" width="800" height="497" /><br />
<!-- <img class="wp-image-35232 aligncenter" src="https://www.megaputer.com/wp-content/uploads/pdl-image-1-300x186.jpg" alt="" width="710" height="440" srcset="https://www.megaputer.com/wp-content/uploads/pdl-image-1-300x186.jpg 300w, https://www.megaputer.com/wp-content/uploads/pdl-image-1-1024x636.jpg 1024w, https://www.megaputer.com/wp-content/uploads/pdl-image-1-768x477.jpg 768w, https://www.megaputer.com/wp-content/uploads/pdl-image-1-644x400.jpg 644w, https://www.megaputer.com/wp-content/uploads/pdl-image-1-600x373.jpg 600w" sizes="(max-width: 710px) 100vw, 710px" /> --></p>
<p><span style="font-weight: 400;">Another notable feature of the PDL language is its capability for users to tailor the scope of their searches using a range of built-in functions. Returning to the previous example, you may not wish to confine your search exclusively to the specific verb “say,” but rather include other synonymous verbs like “tell” or “mention.” Achieving this is straightforward with PDL – users can invoke the </span><i><span style="font-weight: 400;">synonym</span></i> <span style="font-weight: 400;">function with the verb &#8220;say,&#8221; as demonstrated in (a) below. As the subsequent results table (b) illustrates, the captured text now includes various speech verbs such as “tell,” “emphasize,” and “claim,” in addition to the word “say,” capturing them in all possible verb forms. For additional flexibility, the user can also create and modify synonym dictionaries.</span></p>
<p><img class="wp-image-35250 aligncenter" src="https://www.megaputer.com/wp-content/uploads/comparison_pdl-2.png" alt="" width="800" height="497" /><br />
<!-- <img class="wp-image-35235 aligncenter" src="https://www.megaputer.com/wp-content/uploads/pdl-image-2-300x269.jpg" alt="" width="737" height="661" srcset="https://www.megaputer.com/wp-content/uploads/pdl-image-2-300x269.jpg 300w, https://www.megaputer.com/wp-content/uploads/pdl-image-2-1024x919.jpg 1024w, https://www.megaputer.com/wp-content/uploads/pdl-image-2-768x689.jpg 768w, https://www.megaputer.com/wp-content/uploads/pdl-image-2-446x400.jpg 446w, https://www.megaputer.com/wp-content/uploads/pdl-image-2-600x538.jpg 600w" sizes="(max-width: 737px) 100vw, 737px" /> --></p>
<p><span style="font-weight: 400;">The PDL language offers various modes of information extraction, including proximity search (e.g., finding words A and B within a sentence, or within a 3-words range), syntactic relation (e.g., finding word A that is the subject or object of B), semantic relation (e.g., finding words that are synonyms/antonyms to word A), access to dictionaries and ontologies, and more. This language is expressive enough to capture complex patterns, and yet relatively easy to use, </span><span style="font-weight: 400;">having a syntax that closely resembles English. Having access to this versatile query language significantly enhances the power and quality of text mining operations.</span></p>
<p><span style="font-weight: 400;">In conclusion, PDL is a powerful and versatile query language that enables users to extract meaningful information from text with greater efficiency and accuracy than competing methods like regex or string search. Its ability to understand and capture morphological forms, synonyms, and other complex patterns makes it an indispensable tool for solving text mining tasks that require semantic understanding. By leveraging the capabilities of PDL, users can enhance their information extraction processes and gain valuable insights from their data, making it a true Swiss army knife of information extraction.</span></p>
<p>The post <a rel="nofollow" href="https://www.megaputer.com/query-languages-the-swiss-army-knife-of-information-extraction/">Query languages—the Swiss army knife of information extraction</a> appeared first on <a rel="nofollow" href="https://www.megaputer.com">Megaputer Intelligence</a>.</p>
]]></content:encoded>
			</item>
		<item>
		<title>Wide, Bulky Data and Dimensionality Reduction</title>
		<link>https://www.megaputer.com/bulky-data-dm-reduction/</link>
		<pubDate>Mon, 03 Feb 2020 17:46:31 +0000</pubDate>
		<dc:creator><![CDATA[Chris Farris]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Big Data]]></category>
		<category><![CDATA[Data Analytics]]></category>
		<category><![CDATA[PolyAnalyst]]></category>

		<guid isPermaLink="false">https://www.megaputer.com/?p=32466</guid>
		<description><![CDATA[<p>The post <a rel="nofollow" href="https://www.megaputer.com/bulky-data-dm-reduction/">Wide, Bulky Data and Dimensionality Reduction</a> appeared first on <a rel="nofollow" href="https://www.megaputer.com">Megaputer Intelligence</a>.</p>
]]></description>
				<content:encoded><![CDATA[<section class="l-section wpb_row height_small"><div class="l-section-h i-cf"><div class="g-cols vc_row type_default valign_top"><div class="vc_col-sm-12 wpb_column vc_column_container"><div class="vc_column-inner"><div class="wpb_wrapper"><div class="g-cols wpb_row type_default valign_top vc_inner "><div class="vc_col-sm-8 wpb_column vc_column_container"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div class="wpb_text_column ">
		<div class="wpb_wrapper">
			<p>As the saying goes, “mo’ data, mo’ problems.” Well, that’s not quite the saying and that’s not quite what we mean, but it certainly is true that large data comes with some problems that need to be solved. There are two ways that data can be “big.” Traditionally, Big Data is considered large literally by its physical size in terms of the memory space it consumes. In this article, we&#8217;re considering another type of “big” data, which we like to call Wide Data. Wide Data is unstacked tabular data that consists of large amounts of columns or variables, usually in the hundreds and above. Wide Data and Big Data are often overlapping but they are not necessarily the same: for example, Wide Data can be shallow, with relatively small number of rows &#8211; but large number of columns. Wide Data is common and comes with its own set of problems that need to be addressed in any analytical setting. Next, let’s discuss those problems.</p>

		</div>
	</div>
</div></div></div><div class="vc_col-sm-4 wpb_column vc_column_container"><div class="vc_column-inner"><div class="wpb_wrapper"><div class="ult-spacer spacer-6a39219309f9c" data-id="6a39219309f9c" data-height="30" data-height-mobile="" data-height-tab="30" data-height-tab-portrait="" data-height-mobile-landscape="" style="clear:both;display:block;"></div><div class="w-image align_center"><div class="w-image-h"><img width="1024" height="947" src="https://www.megaputer.com/wp-content/uploads/blur-book-stack-books-bookshelves-590493-1024x947.jpg" class="attachment-large size-large" alt="BookStacksWide" srcset="https://www.megaputer.com/wp-content/uploads/blur-book-stack-books-bookshelves-590493-1024x947.jpg 1024w, https://www.megaputer.com/wp-content/uploads/blur-book-stack-books-bookshelves-590493-300x277.jpg 300w, https://www.megaputer.com/wp-content/uploads/blur-book-stack-books-bookshelves-590493-768x710.jpg 768w, https://www.megaputer.com/wp-content/uploads/blur-book-stack-books-bookshelves-590493-600x555.jpg 600w" sizes="(max-width: 1024px) 100vw, 1024px" /></div></div></div></div></div></div>
	<div class="wpb_text_column ">
		<div class="wpb_wrapper">
			<h2>The Problems of Wide Data</h2>
<p>One issue about wide Data is that it is bulky, and this presents challenges that aren&#8217;t present in more compact datasets. For example, a person can quickly scan a table of a few columns, maybe even a dozen or more, to summarize what it contains. That quick scan will tell a person what sort of information is contained there, determine if the data is sparse, and provide a rough estimate of the range and variance of the data. This sort of quick summarization is impossible with Wide Data. Even scrolling through column names (if they are informative at all) takes some time to do, and in the end, it is usually impossible to retain all that information.</p>
<p>Not only is Wide Data confusing for us humans, but it can also be confusing for machines as well if we have an especially large number of columns. If we want to <a href="https://www.megaputer.com/choosing-machine-learning-models/" target="_blank" rel="noopener">create a machine learning model with Wide Data</a>, our model might suffer from a complexity problem. A large number of inputs to some machine learning model can make the training of this model either unstable or time-consuming.</p>

		</div>
	</div>
<div class="g-cols wpb_row type_default valign_top vc_inner "><div class="vc_col-sm-1/5 wpb_column vc_column_container"><div class="vc_column-inner"><div class="wpb_wrapper"><div class="w-image align_center style_circle vc_custom_1580319811131"><div class="w-image-h"><img width="768" height="768" src="https://www.megaputer.com/wp-content/uploads/5052-768x768.jpg" class="attachment-us_768_0 size-us_768_0" alt="Dimension Reduction" srcset="https://www.megaputer.com/wp-content/uploads/5052-768x768.jpg 768w, https://www.megaputer.com/wp-content/uploads/5052-150x150.jpg 150w, https://www.megaputer.com/wp-content/uploads/5052-300x300.jpg 300w, https://www.megaputer.com/wp-content/uploads/5052-1024x1024.jpg 1024w, https://www.megaputer.com/wp-content/uploads/5052-350x350.jpg 350w, https://www.megaputer.com/wp-content/uploads/5052-600x600.jpg 600w, https://www.megaputer.com/wp-content/uploads/5052.jpg 1200w" sizes="(max-width: 768px) 100vw, 768px" /></div></div></div></div></div><div class="vc_col-sm-4/5 wpb_column vc_column_container"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div class="wpb_text_column  vc_custom_1580319869676">
		<div class="wpb_wrapper">
			<p>So, what to do? Large numbers of columns aren’t ideal for either humans or machines, but we don’t want to just throw out columns randomly to reduce the size of the data, as we could risk losing important data. <strong>The solution is dimensionality reduction</strong>, a common technique in data science. Dimensionality reduction will reduce the number of columns that we have in our data while minimizing any loss of information as a result. These techniques are extremely useful in cutting out the fat from data while retaining the value.</p>

		</div>
	</div>
</div></div></div></div><div class="g-cols wpb_row type_default valign_top vc_inner "><div class="vc_col-sm-12 wpb_column vc_column_container"><div class="vc_column-inner"><div class="wpb_wrapper"><div class="ult-spacer spacer-6a3921930d98f" data-id="6a3921930d98f" data-height="10" data-height-mobile="10" data-height-tab="10" data-height-tab-portrait="10" data-height-mobile-landscape="10" style="clear:both;display:block;"></div>
	<div class="wpb_text_column ">
		<div class="wpb_wrapper">
			<h2>Dimensionality Reduction in PolyAnalyst™</h2>
<p>PolyAnalyst™ contains several built-in methods for performing dimensionality reduction. We&#8217;ll highlight a couple of these below.</p>
<p>The first method is <em>Data Simplification.</em> This process scans data to identity columns that are nearly uniform. A column with almost no variation is very uninformative and could be dropped entirely. Additionally, Data Simplification compares the columns with one another to see if there are any that are nearly identical. These columns can be triaged so that only one remains in the dataset to avoid unnecessary duplication. In addition to Data Simplification, Correlation Analysis can be performed to discover correlated variables. While not identical, strongly correlated variables serve a common purpose and we could consider cutting down to one in this case as well.</p>
<p>The second method is <em>Factor Analysis</em>, which includes techniques such as principal component analysis. The goal of this method is to find the vectors along which most of the variance occurs in the data, reorient the data along those vectors, and discard the vectors in which little variance occurs. This is best understood with an animation.</p>

		</div>
	</div>
<div class="w-image align_center"><div class="w-image-h"><img width="713" height="450" src="https://www.megaputer.com/wp-content/uploads/ezgif-com-crop.gif" class="attachment-full size-full" alt="DimensionReduction_PCV" /></div></div><div class="ult-spacer spacer-6a3921930e85a" data-id="6a3921930e85a" data-height="15" data-height-mobile="15" data-height-tab="15" data-height-tab-portrait="15" data-height-mobile-landscape="15" style="clear:both;display:block;"></div>
	<div class="wpb_text_column ">
		<div class="wpb_wrapper">
			<p>In this example, we have measured and plotted only two variables—height and weight. We can see the direction along which most of the variance occurs. This is the principal component. Now we rotate our data such that this direction is our horizontal axis and the orthogonal direction is the vertical axis. This destroys the semantic meaning of these axes of course, but this not a big deal. Where they were once semantically width and height, they now hold no such meaning. We will be able to regain the meaning after performing the analysis in the smaller number of dimensions and rotating the results back to the original axes. Now, if we would like to shrink the size of our data, we can throw out the vertical axis, which exhibits little variance. Thus, we have eliminated an entire variable but preserved the majority of the useful information, which simplifies further analysis.</p>
<h2>Stay tuned&#8230;</h2>
<p>Wide, bulky data is fairly common in the world, and although it comes with some problems, these can be managed with the techniques described here, such as Factor Analysis and Data Simplification. Once our data is manageable, <a href="https://www.megaputer.com/solutions/">PolyAnalyst has a wide range of modeling solutions</a>. Stay tuned for more discussions about data analysis!</p>

		</div>
	</div>
</div></div></div></div></div></div></div></div></div></section>
<p>The post <a rel="nofollow" href="https://www.megaputer.com/bulky-data-dm-reduction/">Wide, Bulky Data and Dimensionality Reduction</a> appeared first on <a rel="nofollow" href="https://www.megaputer.com">Megaputer Intelligence</a>.</p>
]]></content:encoded>
			</item>
		<item>
		<title>Choosing Machine Learning Models</title>
		<link>https://www.megaputer.com/choosing-machine-learning-models/</link>
		<pubDate>Mon, 21 Oct 2019 21:27:31 +0000</pubDate>
		<dc:creator><![CDATA[Chris Farris]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Big Data]]></category>
		<category><![CDATA[Machine Learning]]></category>
		<category><![CDATA[Neural Networks]]></category>

		<guid isPermaLink="false">https://www.megaputer.com/?p=32435</guid>
		<description><![CDATA[<p>When setting out to use machine learning to create your own models, a question you may be asking yourself is: Which model framework do I choose? While there is rarely a definitive or clear answer to this question, let’s discuss some things to consider when making this choice.</p>
<p>The post <a rel="nofollow" href="https://www.megaputer.com/choosing-machine-learning-models/">Choosing Machine Learning Models</a> appeared first on <a rel="nofollow" href="https://www.megaputer.com">Megaputer Intelligence</a>.</p>
]]></description>
				<content:encoded><![CDATA[<section class="l-section wpb_row height_small"><div class="l-section-h i-cf"><div class="g-cols vc_row type_default valign_top"><div class="vc_col-sm-12 wpb_column vc_column_container"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div class="wpb_text_column ">
		<div class="wpb_wrapper">
			<p>As we have discussed previously, machine learning approaches to modeling are just that – approaches. There are many forms of models we could use with machine learning, each with different design philosophies and quirks. When setting out to use machine learning to create your own models, a question you may be asking yourself is: Which model framework do I choose? From Neural Networks, to Support Vector Machines, to Decision Trees, to Linear Regression, there are many options. While there is rarely a definitive or clear answer to this question, let’s discuss some things to consider when making this choice.</p>
<h2>Model Properties</h2>

		</div>
	</div>
<div class="g-cols wpb_row type_default valign_top vc_inner "><div class="vc_col-sm-8 wpb_column vc_column_container"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div class="wpb_text_column ">
		<div class="wpb_wrapper">
			<p>Model frameworks have a set of qualitative measures attached to them which, while difficult to directly measure, can be useful for thinking of. We will consider two qualities: capacity and complexity. Capacity is the measure of a model framework’s ability to describe data distributions; it can be thought of as potential accuracy. For example, imagine we scatter pebbles on the ground and would like to model the shape they form with two different models. One model is a rigid stick (depicted by the blue line) and the other is an elastic band (depicted by the red line).</p>

		</div>
	</div>
</div></div></div><div class="vc_col-sm-4 wpb_column vc_column_container"><div class="vc_column-inner"><div class="wpb_wrapper"><div class="w-image align_center"><div class="w-image-h"><img width="500" height="385" src="https://www.megaputer.com/wp-content/uploads/a-mars-regression-function-with-three-knots-marked-by-e1572363100397.jpg" class="attachment-shop_single size-shop_single" alt="MARS - Linear vs Elastic" /></div></div><div class="ult-spacer spacer-6a39219314cc2" data-id="6a39219314cc2" data-height="10" data-height-mobile="30" data-height-tab="20" data-height-tab-portrait="20" data-height-mobile-landscape="10" style="clear:both;display:block;"></div></div></div></div></div><div class="g-cols wpb_row type_default valign_top vc_inner "><div class="vc_col-sm-12 wpb_column vc_column_container"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div class="wpb_text_column ">
		<div class="wpb_wrapper">
			<p>The stick has very low capacity because it can only model one shape while changing the angle that it lies on the ground. A few pebbles may fit into this model, but it is unlikely to be a good choice for many situations. The elastic band, while probably not being perfect, can twist and bend to create a host of complex curves to fit our data. This model can fit more potential data distributions and has a higher capacity.</p>
<p>Capacity is a very important property of models. If our model’s capacity is too low, we may never be able to adequately make predictions no matter how much training data we use or how fancy our hardware is. <a href="https://www.megaputer.com/2019-news-neural-networks/" target="_blank" rel="noopener">Models with high capacity include Neural Networks</a> and Support Vector Machines (SVMs), and this is why they have been so popular.</p>
<p>However, capacity is not the only property to consider. Another quality is complexity, which can also be thought of as interpretability or how easy it is for a human to understand. In our previous example, the stick had low complexity (or high interpretability). It can be described and understood well by humans, and it is highly generalizable. Low complexity models include Linear Regression and Decision Trees. Conversely, the many curves created by the elastic band are very complex and difficult for humans to describe. SVMs and Neural Networks would, therefore, be considered high complexity models.</p>
<p>This relationship between complexity and capacity that we saw in the above example is generally true for all of our models. By increasing our capacity, we often must incur the cost of increased complexity. This is part of the analysis you must consider when choosing a model. Do you need to be able to describe or personally understand what the model is doing? If so, going all in for the most complex but accurate model may not be desirable. This is why many hospitals and healthcare-related institutions often rely on less complex model structures like Random Forests. When taking the health of patients into account, <a href="https://www.megaputer.com/solutions/healthcare/#utilization" target="_blank" rel="noopener">doctors want to be able to understand what a model is doing before taking action</a> on those results.</p>
<h2>Resources</h2>
<p>Thus far we have discussed the theoretical constraints of a trained model. Now we should consider more practical properties. A machine learning model requires training, which in turn requires data, processing power, and time. When selecting a machine learning model to use, we need to weigh how much of these resources we have available to invest in the model. Additionally, the quantification of the model itself is important. For example, if we plan to deploy the model on mobile technology, we should be cautious about how much storage the model itself requires. As expected, if we desire models with high capacity, we usually need to invest more resources into the model during training and storage. Let’s consider a sample of models and discuss the resources they require.</p>

		</div>
	</div>
<div class="w-image align_center style_shadow-1"><div class="w-image-h"><img width="1024" height="400" src="https://www.megaputer.com/wp-content/uploads/machine-learning-world-2.png" class="attachment-full size-full" alt="machine learning world" srcset="https://www.megaputer.com/wp-content/uploads/machine-learning-world-2.png 1024w, https://www.megaputer.com/wp-content/uploads/machine-learning-world-2-300x117.png 300w, https://www.megaputer.com/wp-content/uploads/machine-learning-world-2-768x300.png 768w, https://www.megaputer.com/wp-content/uploads/machine-learning-world-2-600x234.png 600w" sizes="(max-width: 1024px) 100vw, 1024px" /></div></div><div class="ult-spacer spacer-6a39219316547" data-id="6a39219316547" data-height="30" data-height-mobile="25" data-height-tab="25" data-height-tab-portrait="25" data-height-mobile-landscape="25" style="clear:both;display:block;"></div>
	<div class="wpb_text_column ">
		<div class="wpb_wrapper">
			<p>On the low-cost end of the spectrum are Naïve Bayes models. These models are generally lower in Capacity but are extremely easy to interpret and train. One of the main advantages of Naïve Bayes models is that they are exceedingly fast to train and store. Unfortunately, the model relies on the Naïve Bayes assumption which is rarely true for our data. However, if your data does not stray too far from that assumption, you can find that the model provides decent results in a cheap package.</p>
<p>Also relatively low-cost are Decision Trees and Random Forests. These models are interpretable and the tree structure of the models make them easy to store efficiently if you don’t have an enormous number of features. Unfortunately, we start to see an increase in the time required to train for these models.</p>
<p>SVMs, a popular technique, come with a large jump in resources required. Training these usually requires more data than other methods and the resulting models are bulky, almost impossible to interpret into plain English, and tricky to train in the first place because of the choice of kernel. However, SVM’s are powerful models when trained correctly, and thus they are widely used.</p>
<p>Possibly the most costly of the models are Neural Networks. Famed for their high capacity, these models require extensive processing and time to train and can take up a large chunk of storage to contain. But it isn’t all doom and gloom about the resources required for Neural Networks. Because of how they are trained, Neural Networks can take additional data to finetune the training at any point, meaning that we don’t need to retrain our models every time we get new data.</p>
<h2>Which Model to Pick?</h2>
<p>Ultimately, the answer is not obvious in every case. When choosing which machine learning model to use, we need to consider many different factors: What tradeoff do we want to make between capacity and complexity? What resources do we have available for our training? Do we want to be able to store the model in a compact manner? Do we want to be able to continually use new data without having to retrain the model entirely each time? Finally, we don’t always make the right choice. Sometimes we have to <a href="https://www.megaputer.com/solutions/predictive-analytics/#tools" target="_blank" rel="noopener">experiment with multiple structures to find one that fits our needs</a>. If you can, train multiple models to help decide which one to devote your attention to.</p>

		</div>
	</div>
</div></div></div></div></div></div></div></div></div></section>
<p>The post <a rel="nofollow" href="https://www.megaputer.com/choosing-machine-learning-models/">Choosing Machine Learning Models</a> appeared first on <a rel="nofollow" href="https://www.megaputer.com">Megaputer Intelligence</a>.</p>
]]></content:encoded>
			</item>
		<item>
		<title>What&#8217;s the News with Neural Networks?</title>
		<link>https://www.megaputer.com/2019-news-neural-networks/</link>
		<pubDate>Tue, 28 May 2019 18:10:03 +0000</pubDate>
		<dc:creator><![CDATA[Chris Farris]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Big Data]]></category>
		<category><![CDATA[Data Analytics]]></category>
		<category><![CDATA[Data Mining]]></category>
		<category><![CDATA[Machine Learning]]></category>
		<category><![CDATA[Neural Networks]]></category>

		<guid isPermaLink="false">https://www.megaputer.com/?p=31864</guid>
		<description><![CDATA[<p>There are many reasons for the explosion of machine learning advancements over the past decade. We now have vastly improved hardware for fast computation, and memory is cheaper than ever. Individually, these advancements are already a blessing for the technology-space. But for AI, they have opened the gates for something truly powerful—Neural Networks.</p>
<p>The post <a rel="nofollow" href="https://www.megaputer.com/2019-news-neural-networks/">What&#8217;s the News with Neural Networks?</a> appeared first on <a rel="nofollow" href="https://www.megaputer.com">Megaputer Intelligence</a>.</p>
]]></description>
				<content:encoded><![CDATA[<section class="l-section wpb_row height_small"><div class="l-section-h i-cf"><div class="g-cols vc_row type_default valign_top"><div class="vc_col-sm-12 wpb_column vc_column_container"><div class="vc_column-inner"><div class="wpb_wrapper"><div class="g-cols wpb_row type_default valign_top vc_inner "><div class="vc_col-sm-6 wpb_column vc_column_container"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div class="wpb_text_column ">
		<div class="wpb_wrapper">
			<p>There are many reasons for the explosion of machine learning advancements over the past decade. We now have vastly improved hardware for fast computation, and memory is cheaper than ever. Data is now “Big Data,” and it is both jealously hoarded and publicly available in repositories such as ImageNet. Individually, these advancements are already a blessing for the technology-space. But for artificial intelligence (AI), they have opened the gates for something truly powerful—Neural Networks.</p>

		</div>
	</div>
</div></div></div><div class="vc_col-sm-6 wpb_column vc_column_container"><div class="vc_column-inner"><div class="wpb_wrapper"><div class="w-image align_none"><div class="w-image-h"><img width="1024" height="611" src="https://www.megaputer.com/wp-content/uploads/shutterstock_592921421-1024x611.jpg" class="attachment-large size-large" alt="" srcset="https://www.megaputer.com/wp-content/uploads/shutterstock_592921421-1024x611.jpg 1024w, https://www.megaputer.com/wp-content/uploads/shutterstock_592921421-300x179.jpg 300w, https://www.megaputer.com/wp-content/uploads/shutterstock_592921421-768x459.jpg 768w, https://www.megaputer.com/wp-content/uploads/shutterstock_592921421-600x358.jpg 600w" sizes="(max-width: 1024px) 100vw, 1024px" /></div></div></div></div></div></div>
	<div class="wpb_text_column ">
		<div class="wpb_wrapper">
			<h2>Neural Whatnow?</h2>
<p>Neural Networks. You’ve probably heard of them. They are at the forefront of <a href="https://www.megaputer.com/an-introduction-to-machine-learning/" target="_blank" rel="noopener">the machine learning craze</a> and are the driver of many of the most impressive advancements. The technology that led machines to the best humans in <em>Go</em> and the popular video game <em>Starcraft?</em> Neural Networks. The backbone of algorithms that can recognize images and faces, which are igniting a surveillance and privacy panic? Neural Networks.</p>
<p>And yet, Neural Networks aren’t some new idea spawned from the incubator of a giant tech company. They aren’t some stroke of genius from a college student turned dropout who went on to found a revolutionary tech firm. Neural Networks are in fact… old hat. Or they were.</p>
<p>The concept of a Neural Network (something we will get to later) has been around for years. They date back to the 1970s, and simpler versions of them existed even in the 1940s! So, if they have existed for decades, why are they only popular now?</p>
<p>The answer is related to the hardware and data advancements mentioned earlier. Neural Networks crunch a lot of numbers. They also need a lot of data to help them learn. Up until the past decade, this made training anything but the simplest networks highly time-consuming and expensive.</p>
<p>With all the great improvements to hardware over the years, the possibility of using more advanced Neural Networks became possible. Aided by hardware demands from the entertainment industry and now cryptominers, GPUs (graphical processing units) have been developed which can calculate specific mathematical operations at lightning speed. Luckily, these same kinds of operations occur in training neural networks. Using the technology originally developed for beautiful visuals in film and video games helps us train networks at a fraction of the time it takes a traditional CPU.</p>
<p><strong><img class="aligncenter wp-image-32241" src="https://www.megaputer.com/wp-content/uploads/neural-network-diagram.png" alt="neural-network-diagram" width="571" height="464" /></strong></p>
<h2>What’s in a Name?</h2>
<p>The power of Neural Networks may be evident, but at this point, one may also be wondering what they are in the first place. The name gives some clues. A Neural Network isn’t a singular object that makes decisions by itself. It is, as implied, a network of smaller objects all connected. A network of what, then? We call them Neurons. Neurons as in the cells inside our brains? Yes! Well, no. But sort of!</p>
<p>Neurons in Neural Networks can be thought of as being like the neurons in brains. They are tiny, individual units that are connected to other neurons in a large, structured network. These connections allow tiny pieces of data to flow between them. In our brains, these are electrical pulses. In the Neural Network, we send numbers between Neurons. The Neurons then take all the numbers fed to them by the Neurons they are connected to and process them. The process isn’t complicated—in fact, it is painfully trivial. After all, it is just a tiny unit—a single cell in our brain. But it then sends the processed information out to other Neurons it is connected to. Another number. Another electrical pulse. And so on. Tiny Neurons are fed tiny pieces of information, perform tiny pieces of computation on that snippet, and feed it forward to other Neurons, which do the same over and over until we eventually reach a final set of Neurons—the output of which is our final result.</p>
<p>From the collective effort of many small individual units networked together in a perfectly calibrated balance, we can achieve enormous computational power. The Whole is greater than the Sum of its parts.</p>
<p>&nbsp;</p>
<h2>Balancing Act</h2>

		</div>
	</div>
<div class="g-cols wpb_row type_default valign_top vc_inner "><div class="vc_col-sm-8 wpb_column vc_column_container"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div class="wpb_text_column ">
		<div class="wpb_wrapper">
			<p>If that all sounded magical and farfetched, then don’t worry—it is. How exactly are we supposed to arrange these Neurons in such a perfect balance that their combined minuscule computations lead to a machine recognizing human faces? We can’t. So how do we get this to work? Well, we are talking about Machine Learning after all. And Machine Learning is how we are going to solve this. We aren’t going to calibrate the Neurons to be in balance. They are going to calibrate themselves.</p>

		</div>
	</div>
</div></div></div><div class="vc_col-sm-4 wpb_column vc_column_container has-fill"><div class="vc_column-inner  vc_custom_1559659942631"><div class="wpb_wrapper">
	<div class="wpb_text_column  vc_custom_1584549868207">
		<div class="wpb_wrapper">
			<blockquote><p>
We aren’t going to calibrate the Neurons to be in balance. They are going to calibrate themselves.
</p></blockquote>

		</div>
	</div>
</div></div></div></div><div class="g-cols wpb_row type_default valign_top vc_inner "><div class="vc_col-sm-12 wpb_column vc_column_container"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div class="wpb_text_column ">
		<div class="wpb_wrapper">
			<p>In order to achieve this, we need training data. We need data that is labeled with the desired output we want from the machine. We can provide this data to the unconfigured Neural Network. It will process the data and likely output something nonsensical and useless. But this is fine. We can use a mathematical function called Error. This Error is just a measurement of how different our output was from our desired targets. Then, using Calculus,we can discover how much of that Error is caused by the calibration of each one of our Neurons! Using this information, we can then tune the Neurons slightly and repeat the process—feed data into the Network, observe the output, calculate the Error, and use Calculus to know how to tune the Neurons to make them more accurate. This process continues over time until we have converged to a calibrated Network. This process of using Error functions, Calculus, and tuning is what Machine Learning is.</p>
<p>&nbsp;</p>
<h2>Power at a Price</h2>
<p>Although it is conceptually simple (at least in this explanation that ignores the details), it is very resource intensive. At the moment I am fine tuning a Neural Network on my own desktop to recognize Western Art styles. Although the dataset is only a few GB, it takes almost an hour to run a single iteration of the training. It will take nearly two days to complete the 50-iteration learning schedule I planned. And even then, I may need to schedule another one if the Network still needs to learn more! And I’m not running this on some dusty machine I dragged out of the aughts. This is an almost brand-new desktop powered with a 3.7 GHz AMD Rhyzen 8-core processor with 32GB of RAM available and virtually no other load on the machine.</p>
<p>Neural Networks are expensive to train. If you want to increase performance, you could pay for an expensive GPU, but that might set you back nearly a thousand dollars. Companies and research institutions may have the funds to throw at this problem, but individuals, small companies, and small research groups may not. Luckily, they don’t need to anymore.</p>
<p>Cloud services have opened access to remote processing to provide other computing options to those desiring to train a Neural Network. Don’t have an expensive rig? No worries, just rent one remotely from Google at a fraction of the price.</p>
<p>&nbsp;</p>
<h2>Neurally Networked World</h2>
<p>Neural Networks are here and they aren’t leaving. New advancements and computing architectures are constantly being published. <a href="https://www.megaputer.com/convolutional-neural-networks-polyanalyst/" target="_blank" rel="noopener">Convolutional Networks</a> are good at processing images and Recurrent Networks can handle variable sized data, streaming data, or sequential data. Neural Networks are powerful, indeed—far more so than other solutions we have. But they don’t mimic what is really occurring in our brains. There are some deep flaws even in our most advanced networks. For instance, it is extremely easy to confuse a Neural Network. A Network designed to recognize stop signs can be fooled by a few well-placed stickers on a sign. There are deep safety concerns if these are going to be used in self-driving cars for example.</p>
<p><a href="https://www.megaputer.com/an-introduction-to-machine-learning/" target="_blank" rel="noopener">Neural Networks are deeply dependent on the data used to train them</a> (just as we discussed in a previous article). They are also dependent on how we configure their output. Most networks are designed to give a decision. For object detection, the network must return what it thinks the input image is. But what happens when we feed the network “nothing,” such as a completely blank image or fuzzy static noise? The network is forced to return something so it “sees,” say, a dog in the empty space. This is nonsense. Why would it choose one object over another in these cases where a human would just refuse to rigidly define nonsense? As another example, if we slightly alter an image by inserting some imperceptibly small random noise, we can completely trick a Neural Network. Where it before correctly thought that the image was a butterfly, it now thinks the image is a truck, while a human sees no difference in the images. This is bad, and it reflects deep issues with Neural Networks as we construct them today.</p>
<p>Neural Networks are occupying a liminal space. They are simultaneously scarily powerful and laughably simple and ignorant. They can best the human masters and yet be duped by the smallest of changes. We won’t be seeing Neural Networks achieve human-like sentience any time soon, and they aren’t ready for deployment in many other types of systems. But they are already being used in ways that should cause alarm.</p>
<p>China is already using facial recognition technology to tag members of the Uighur ethnic minority group.  Accurate voice recognition ensures individuals could potentially be tracked even if they are not near a camera by turning the phones in our pockets into monitoring devices. “Deep Fakes” are a growing type of video that can modify existing videos to map one person’s face and voice over another’s to create a fake video that could be used for blackmail or disinformation. While <em>Terminator</em> remains science-fantasy, armed military drones using neural networks for stabilization, navigation, targeting, and tactics would revolutionize armed conflicts in ways impossible to predict.</p>
<p>Though neural networks are being used to oppress in some places they are also being used to save in others. Medical facilities increasingly deploy network systems to detect ailments such as cancer or infectious diseases. Laboratories can use similar networks for modeling complex biomolecules and developing treatments. Neural networks are even being used in traffic light control systems to increase vehicle flow and reduce accidents.</p>
<p>Where will Neural Networks take us next? It&#8217;s hard to say. But it seems evident that the world is caught and will remain in a web of Neurons.</p>

		</div>
	</div>
</div></div></div></div></div></div></div></div></div></section>
<p>The post <a rel="nofollow" href="https://www.megaputer.com/2019-news-neural-networks/">What&#8217;s the News with Neural Networks?</a> appeared first on <a rel="nofollow" href="https://www.megaputer.com">Megaputer Intelligence</a>.</p>
]]></content:encoded>
			</item>
		<item>
		<title>An introduction to machine learning</title>
		<link>https://www.megaputer.com/an-introduction-to-machine-learning/</link>
		<pubDate>Fri, 15 Feb 2019 18:58:52 +0000</pubDate>
		<dc:creator><![CDATA[Chris Farris]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Big Data]]></category>
		<category><![CDATA[Data Analytics]]></category>
		<category><![CDATA[Machine Learning]]></category>

		<guid isPermaLink="false">https://www.megaputer.com/?p=31431</guid>
		<description><![CDATA[<p>Machine Learning is hot right now. Really hot. And it’s come a long way from where it was over two decades ago. Machine Learning is here, and it's here to stay, but what exactly is Machine Learning? </p>
<p>The post <a rel="nofollow" href="https://www.megaputer.com/an-introduction-to-machine-learning/">An introduction to machine learning</a> appeared first on <a rel="nofollow" href="https://www.megaputer.com">Megaputer Intelligence</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p><img class="wp-image-31506 alignright" src="https://www.megaputer.com/wp-content/uploads/mlblog-mainimage.jpg" alt="" width="431" height="281" />Machine Learning is hot right now. Really hot. And it&#8217;s come a long way from where it was over two decades ago. In 1996, IBM’s Deep Blue defeated world chess champion Garry Kasparov. This was a great achievement to mark the progress of the field, but chess is a relatively simple task and computers still struggled to be able to master more difficult tasks for another decade. Then, in the late aughts, machine learning started to boom like never before. In 2011, IMB’s Watson utilized live simultaneous natural language processing with information retrieval to defeat two <em>Jeopardy!</em> champions. In 2016, Google’s AlphaGo defeated Lee Sedol, who is claimed by many to be the strongest Go player in history. Despite the simplicity of Go’s rules, the game is extraordinarily complex. For perspective, there are more possible configurations of a Go board than there are atoms in the universe—and by this measure, Go is a googol more complicated than chess. To really appreciate the magnitude of this, consider that a googol (10<sup>100</sup>) is written as one followed by one hundred zeros, and the ratio of an electron (a sub-atomic particle) to the entire known universe is only 0.00000001% of a googol.  It is a mind-boggling large number beyond human comprehension. And in a handful of years, machine learning has advanced by that scale.</p>
<p>Recently, a program called AlphaStar learned virtually on its own how to play and master the wildly popular and challenging competitive real-time strategy video game <em>StarCraft II</em>. <em>StarCraft II</em> is so competitive that human players actually perform physical exercises with their fingers so that their reflexes are honed in order to strike the right keys as fast as possible. While Go merely involves placing pebbles on a grid, <em>StarCraft II</em> involves economic resource management, strategic combined arms combat, exploration, extensive future planning, processing streams of real-time information, and making rapid decisions.</p>
<p><strong>Applications of Machine Learning</strong></p>
<p>Machine Learning often gets flashy coverage when it reaches milestones in games, but it has slowly crept into our daily lives in ways we may not think about. When we post pictures on social media platforms like Facebook, our faces are instantly recognized and names are suggested of who to tag. When we watch movies or shows on platforms like Netflix, we get an endless stream of recommendations based on our past behavior. This same structure exists on the online shopping market such as Amazon. And it&#8217;s common for Apple’s Siri, Amazon’s Alexa, and Google’s Assistant to live in our homes and understand our requests.</p>
<p>Machine Learning is here to stay. And with Machine Learning technology sprinting into the future, everyone wants in. Companies are rapidly creating or bolstering existing analytics departments to utilize the craze. Unfortunately, like many hyped technologies, “Machine Learning” as a phrase can devolve into jargon, buzz words, oversimplifications, misnomers, and a lot of confusion. To many, Machine Learning is a mystery that seems indifferentiable from sorcery.</p>
<p><strong>What is Machine Learning?</strong></p>
<p>Machine Learning, like Artificial Intelligence, suffers from a name that tends to get bogged down in philosophy and pedantry. What does it mean to “learn?” What does it mean to hold “intelligence?” There is a good deal of discussion amongst computer scientists and others about this, but for our purpose it is just a rabbit hole. In fact, it is best to throw out our human conceptions of what “learn” and “intelligence” mean because they only add a biased expectation.</p>
<p>So, then, what is Machine Learning? In it’s simplest form, Machine Learning is essentially making a computer learn a complicated task by having the computer teach itself. We merely provide the computer some examples of how to do something, and the computer learns from those examples to help us fill in the holes and solve complex problems.</p>
<p>Now let&#8217;s break this process down. First, it is useful to identify our goals. Almost always, we would like to classify (assign discrete labels), perform regression (predict numerical values) on, or cluster (group similar things together) our data. For example, we could classify faces by if they are smiling or not. We could perform regression on weather data to predict tomorrow’s temperature. We could cluster stars together by grouping them based on how hot and bright they are.</p>
<p>Now that we have a goal in mind, the question is by what method can we achieve this task? This is the “model.” Think of a model as a machine that you feed data into and which spits out classes, a regression, or clusters of that data. How do we build the model? Before Machine Learning, you would have to manually figure this out. This would involve having to draw specific blueprints for the machine, figure out the appropriate size of gears and their exact positions, assemble the machine, and test it.</p>
<p>In this analogy, Machine Learning is like building a special type of machine. This machine has gears that can change size and position. Also, if you provide the machine with the desired output, it can run data through itself and check the resulting output with this desired output. If they don’t match, the machine knows how to change the size and position of the gears to make it more likely to be correct in the future. And it can repeat this over and over again until it is has found the best arrangement of gears. This is essentially Machine Learning, and all it took was having a special device and labeled data it could look at. No human was needed to tell it where to place the gears.</p>
<p>This is just an analogy, but it works very similarly in our digital space. We construct a digital model that is parameterized by certain variables. We feed training data labeled by the desired output into the model and see the actual output. We then compare the actual output to the labels, which is our desired output. We note the error and use math to compute in what direction and by how much we should tweak the parameters of the model. And repeat. The machine doesn’t make decisions or figure out concepts on its own. It is programmed to use Calculus, Information Theory, Probability, and Statistics to calculate numbers to fudge the parameters by.</p>
<p><img class="aligncenter size-full wp-image-31514" src="https://www.megaputer.com/wp-content/uploads/machine-learning-process-diagram-1.jpg" alt="machine learning processs" width="554" height="502" srcset="https://www.megaputer.com/wp-content/uploads/machine-learning-process-diagram-1.jpg 554w, https://www.megaputer.com/wp-content/uploads/machine-learning-process-diagram-1-300x272.jpg 300w" sizes="(max-width: 554px) 100vw, 554px" />In the end, Machine Learning is not what most humans consider “learning.” It is driven by math, algorithms, and data. For those who aren’t fascinated by the math and theory of Machine Learning, this can destroy the mystique somewhat. Personally, although the Man Behind the Curtain is not what we might expect or desire, he is intriguing all the same. In fact, as computer scientists and cognitive scientists study Machine Learning more we start to suspect that there isn’t as much of a disconnect as we might suspect. We may think that Machine Learning is so unlike humanity, but it may be the case that humanity is more like Machine Learning than we suspect. Our own brains may be just like a cold math-algorithm-data amalgam, but on a massive and complex scales.</p>
<p><strong>The Importance of Data</strong></p>
<p>Data is a pillar of Machine Learning. Without data we cannot build anything. The math doesn’t change, and while we can build clever model structures to help with the learning process, without good data our models will fail. We luckily live in an age of data. Large amounts of data allow models to be extremely fine-tuned. It allows for advanced model structures like Deep Neural Networks. Publicly available data sets such as MNIST and ImageNet for image processing have allowed data scientists to easily compare models and share knowledge. Data is revolutionizing entire fields and Machine Learning is no exception.</p>
<p>But with great power comes great responsibility. If our data is not labeled well or if it is biased from how it is collected, that error or bias is directly injected into the model. After all, the model is simply trying to mimic the data used to create it. Bad data in, bad model out.</p>
<p>Biased data can lead to very poor model performance. For example, last year MIT Media Lab showed that facial recognition from Microsoft, IBM, and Face++ weren’t very good at identifying women or person’s with darker skin, most likely because they didn’t have enough examples of those types of faces in their training data.</p>
<p>So big data is great for our ability to model the world. But the purity and completeness of the data we use in Machine Learning should always be considered when building a model.</p>
<p><strong>The Future</strong></p>
<p>Well, Machine Learning is the future. Tasks that we do effortlessly as humans, such as processing sound and sight, are extraordinarily complicated. Without Machine Learning it would take monumental effort to create machines to do them effectively, and for the tasks that even we as humans find hard, machines would be hopeless. We live in the age of data and increasingly cheap computational power. Machine Learning is thriving and adapting. If you are interested in Machine Learning, check out this <a href="https://www.youtube.com/watch?v=fM1-qyUR-2U">video</a> for more insights.</p>
<p>And stay tuned for future blog posts on Machine Learning as we examine different applications and different models used.</p>
<p>READ MORE: <a href="https://www.megaputer.com/convolutional-neural-networks-polyanalyst/">Convolutional Neural Networks</a></p>
<p>The post <a rel="nofollow" href="https://www.megaputer.com/an-introduction-to-machine-learning/">An introduction to machine learning</a> appeared first on <a rel="nofollow" href="https://www.megaputer.com">Megaputer Intelligence</a>.</p>
]]></content:encoded>
			</item>
		<item>
		<title>Challenges in human name detection</title>
		<link>https://www.megaputer.com/challenges-in-human-name-detection/</link>
		<pubDate>Tue, 22 May 2018 20:42:39 +0000</pubDate>
		<dc:creator><![CDATA[Margaret Glide]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Big Data]]></category>
		<category><![CDATA[Text Analytics]]></category>

		<guid isPermaLink="false">https://www.megaputer.com/?p=20845</guid>
		<description><![CDATA[<p>When processing larger amounts of data, it is too time consuming to review by hand. Automating the process with natural language processing software faces several difficulties.</p>
<p>The post <a rel="nofollow" href="https://www.megaputer.com/challenges-in-human-name-detection/">Challenges in human name detection</a> appeared first on <a rel="nofollow" href="https://www.megaputer.com">Megaputer Intelligence</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>When working with big data, it is often possible to automate the slow, mind-numbing information extraction tasks, for precisely the reason that they require little creative energy. One such automatable process is detecting, extracting, and resolving human names from text data. For example, an insurance company may want to automatically extract from call center notes the names of all parties involved in an accident. However, they process hundreds of thousands of records each week. While a person may look at a single text and easily recognize names, it can be time-consuming or nearly impossible to examine each record individually and compile them into a suitable output.</p>
<p>Using algorithms that people apply unthinkingly to detect names, we can teach software to do this time-consuming work for us.</p>
<h2>Some approaches and challenges &#8211; Building name dictionaries</h2>
<p>The simplest approach to detecting names in big data is to build dictionaries, or lists, of common first names and surnames. As humans, we store prototypes of common names based on their frequency. That is, more frequent names will be more easily recognized with better accuracy, both cognitively and in a name detection algorithm. However, using the dictionary approach alone can limit how many names a name detection algorithm can identify. It does not account for the many innovative and creative first names being coined each day (e.g., Blue Ivy, Jennyfyr, etc.), and the numerous possibilities for words and non-words that can represent last names (e.g., Glide, Nowak, etc.). Additionally, human bias may lead to far less coverage for common foreign names if they are not accounted for in our name dictionary (e.g., Kostas, Eleni).</p>
<h2>Rule-based approaches</h2>
<p>Often it is more efficient to define abstract rules for common name patterns, rather than creating an infinite list of possible names. In this approach, we can look for other context clues to identify an item as a name. Let’s consider the simplest pattern for a human name in the example below. We can quickly and easily interpret the example as a name and even know which portion is the first or last name based on a few abstract rules.<a ref="magnificPopup" href="https://www.megaputer.com/wp-content/uploads/image1.png"><img class="aligncenter wp-image-20856" src="https://www.megaputer.com/wp-content/uploads/image1.png" alt="" width="226" height="112" srcset="https://www.megaputer.com/wp-content/uploads/image1.png 505w, https://www.megaputer.com/wp-content/uploads/image1-300x149.png 300w" sizes="(max-width: 226px) 100vw, 226px" /></a>Human readers will notice that there are two items following one another and that they are both capitalized. We also know that the gold item is a very common first name, <i>John</i>, and that it is in most common first name dictionaries. When we see the following blue item, <i>Doe</i>, we know that it does not refer to a female deer because it is also capitalized.</p>
<p>Utilizing this heuristic, we can build a very simple name detection algorithm by searching for two to three capitalized words in a row. Accuracy can be improved by adding known information, such as a list of common first names or surnames. By defining just one simple pattern, we can automate the discovery of previously unknown last names, as in the following example.</p>
<p style="text-align: center;"><img class="alignnone wp-image-20858" src="https://www.megaputer.com/wp-content/uploads/image3-300x116.png" alt="" width="316" height="122" srcset="https://www.megaputer.com/wp-content/uploads/image3-300x116.png 300w, https://www.megaputer.com/wp-content/uploads/image3-600x233.png 600w, https://www.megaputer.com/wp-content/uploads/image3.png 670w" sizes="(max-width: 316px) 100vw, 316px" /></p>
<p>Here we can recognize the unknown word, <i>Brouwer</i>, as a last name because it is capitalized and it follows a common first name.</p>
<p style="text-align: left;">Of course, this simple rule will need to be improved to account for other patterns and to filter out erroneous results. We should limit our results by banning some words with a stop list — a list of frequent words that are not typically names (e.g. verbs like <i>is, was,</i>etc.). Additionally, we must account for less simple name patterns and other challenges in detecting human names, which require more rules and/or more advanced approaches to automation.</p>
<p>One such challenge is defining contexts for first and last names that are real words in English. Say, for example, we had “Hope” in our first name dictionary. It would capture this word as a first name in the following two records:</p>
<p style="text-align: center;"><img class="alignnone size-medium wp-image-20933" src="https://www.megaputer.com/wp-content/uploads/hope-example-300x89.png" alt="" width="300" height="89" srcset="https://www.megaputer.com/wp-content/uploads/hope-example-300x89.png 300w, https://www.megaputer.com/wp-content/uploads/hope-example-600x178.png 600w, https://www.megaputer.com/wp-content/uploads/hope-example-768x228.png 768w, https://www.megaputer.com/wp-content/uploads/hope-example-1024x303.png 1024w" sizes="(max-width: 300px) 100vw, 300px" /></p>
<p>However, we know as human readers, <i>Hope</i>, as a person name, will never be a verb, as in the first sentence. Similarly, <i>hope</i>, in the sense of expectation or desire, does not typically drive a blue Chevy. So we can define the expected context of the name <i><span style="font-weight: 400;">Hope</span></i><span style="font-weight: 400;">, as a noun that is capable of actions typical of people (e.g., drive cars, think, etc.). Conversely, we can limit the name </span><i><span style="font-weight: 400;">Hope</span></i><span style="font-weight: 400;"> to a non-verb.</span></p>
<h2>Adjusting name patterns according to culture</h2>
<p><span style="font-weight: 400;">There are many cultural differences in naming conventions that can affect the interpretation of a person’s name. It cannot be assumed that names from all cultures will follow the same pattern. While names across cultures can be comprised of a few simple components, they can have vastly different interpretations according to culture of origin.</span></p>
<p><span style="font-weight: 400;">Consider the contrast in the example below. A common pattern in the United States is comprised of three components in the following order: a first name, an optional middle name or middle initial, and a last name. However, in Hispanic cultures in the United States and abroad, the same number of components can yield a different underlying structure: a first name and two last names. It would be erroneous to assume that </span><i><span style="font-weight: 400;">González</span></i><span style="font-weight: 400;"> in this example is a middle name.</span></p>
<p style="text-align: center;"><img class="alignnone size-medium wp-image-20932" src="https://www.megaputer.com/wp-content/uploads/eng-sp-name-300x71.png" alt="" width="300" height="71" srcset="https://www.megaputer.com/wp-content/uploads/eng-sp-name-300x71.png 300w, https://www.megaputer.com/wp-content/uploads/eng-sp-name-600x141.png 600w, https://www.megaputer.com/wp-content/uploads/eng-sp-name-768x181.png 768w, https://www.megaputer.com/wp-content/uploads/eng-sp-name-1024x241.png 1024w, https://www.megaputer.com/wp-content/uploads/eng-sp-name.png 1245w" sizes="(max-width: 300px) 100vw, 300px" /></p>
<p><span style="font-weight: 400;">In the example below, we can observe that the order of these components is not guaranteed across cultures, either. As in Korean names and names from many other Asian cultures, it is common for surnames to precede first names.</span></p>
<p style="text-align: center;"><img class="alignnone wp-image-20934" src="https://www.megaputer.com/wp-content/uploads/eng-ko-name-300x123.png" alt="" width="205" height="84" srcset="https://www.megaputer.com/wp-content/uploads/eng-ko-name-300x123.png 300w, https://www.megaputer.com/wp-content/uploads/eng-ko-name-600x246.png 600w, https://www.megaputer.com/wp-content/uploads/eng-ko-name-768x315.png 768w, https://www.megaputer.com/wp-content/uploads/eng-ko-name.png 792w" sizes="(max-width: 205px) 100vw, 205px" /></p>
<p>To avoid misinterpreting someone’s surname or first name, it is best to customize an appropriate algorithm for that culture’s naming conventions.</p>
<h2>Detecting names automatically in PolyAnalyst</h2>
<p>The challenges of name detection illustrated here represent only a small fraction of possible issues one may encounter when designing their own name detection algorithm. Even more challenges can arise with messy data or when there are further conflicts with other proper name entities (e.g., company names). Stay tuned for further blog posts on more advanced approaches to human name detection!</p>
<p><a href="https://www.megaputer.com/polyanalyst/">Learn more about PolyAnalyst</a>.</p>
<p>The post <a rel="nofollow" href="https://www.megaputer.com/challenges-in-human-name-detection/">Challenges in human name detection</a> appeared first on <a rel="nofollow" href="https://www.megaputer.com">Megaputer Intelligence</a>.</p>
]]></content:encoded>
			</item>
		<item>
		<title>What is sentiment analysis?</title>
		<link>https://www.megaputer.com/what-is-sentiment-analysis/</link>
		<pubDate>Fri, 18 May 2018 20:07:46 +0000</pubDate>
		<dc:creator><![CDATA[Elli Bourlai]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Big Data]]></category>
		<category><![CDATA[Sentiment Analysis]]></category>
		<category><![CDATA[Text Analytics]]></category>

		<guid isPermaLink="false">https://www.megaputer.com/?p=20757</guid>
		<description><![CDATA[<p>Sentiment Analysis is another buzzword that we hear more and more often, but may not entirely understand what it does or how to use it. Sentiment Analysis application in business offers benefits to both companies and customers, such as improving products and services, identifying strengths and weaknesses of the competition, as well as targeted advertising....</p>
<p>The post <a rel="nofollow" href="https://www.megaputer.com/what-is-sentiment-analysis/">What is sentiment analysis?</a> appeared first on <a rel="nofollow" href="https://www.megaputer.com">Megaputer Intelligence</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Sentiment Analysis is another buzzword that we hear more and more often, but may not entirely understand what it does or how to use it. Sentiment Analysis application in business offers benefits to both companies and customers, such as improving products and services, identifying strengths and weaknesses of the competition, as well as targeted advertising.</p>
<p><em>Sentiment Analysis</em>, also known as <em>Sentiment Detection</em> or <em>Opinion Mining</em>, is the classification of the sentiment <strong>polarity</strong> in a given text that may express people&#8217;s opinions, appraisals, attitudes, and emotions toward entities, individuals, issues, events, topics and their attributes<span id='easy-footnote-1-20757' class='easy-footnote-margin-adjust'></span><span class='easy-footnote'><a href='https://www.megaputer.com/what-is-sentiment-analysis/#easy-footnote-bottom-1-20757' title='Liu, B., &amp;#038; Zhang, L. (2012). A Survey of Opinion Mining and Sentiment Analysis. In C .C. Aggarwal and C.X. Zhai (eds.), Mining Text Data, DOI 10.1007/978-1-4614-3223-4_13, © Springer Science+Business Media, LLC'><sup>1</sup></a></span>. Put simply, it answers the question “how does the writer feel about this topic?” with the answer <em>positive</em> or <em>negative</em>, but may also include <em>neutral</em>.</p>
<p>In other words, Sentiment Analysis identifies words or patterns in language that carry positive, negative, or neutral sentiment. As humans, we interpret sentiment based on not only our knowledge of the language, but also social context. Computers are excellent at identifying linguistic patterns quickly, but they face accuracy challenges when the interpretation of sentiment is heavily dependent on context. For example, humans understand easily that the word <em>cheap</em> is positive when referring to price, but negative when referring to quality. <span style="font-weight: 400;">There may also be cases where a word may simply state a fact in one domain, but carry sentiment in another. The word “red”  in a hotel review (“the wall had a picture with red flowers”) simply states a fact, whereas in a technology review the word “red”, as in “my picture printed red”, would be negative. </span>Consequently, computers need to be taught how to take into account this kind of context when classifying sentiment polarity. This is why many Sentiment Analysis tools have recently been taking the form of domain-specific or topic-specific Sentiment Analysis, to improve accuracy by limiting the scope to a known context.</p>
<h2>Degrees of sentiment</h2>
<p>In addition to polarity, we may also want to know how strongly negative or positive the opinion is by using <strong>degrees</strong> of sentiment. Some sentiment words or phrases carry stronger feelings. For example, “the movie was <em>not that good</em>” is less negative than “the movie was <em>terrible</em>”. Including the degrees of sentiment polarity in our analysis may offer better insights for decision making.</p>
<h2>Types of sentiment</h2>
<p>Another aspect we may be interested in is <strong>the type of sentiment</strong>: joy, sadness, disgust, disappointment, surprise, fear, anticipation, trust, etc. For example, the sentence “I expected faster download speeds”, is not only negative, but also carries the sentiment of disappointment. Another example is the sentence “I’m concerned that the next Avengers film will not include my favorite Marvel superhero”, where the sentiment is negative and we can identify the emotion of fear. Similarly, in the positive sentence “I can’t wait to try out the new iPhone!”, we also have a sense of anticipation.</p>
<h2>Where is Sentiment Analysis used?</h2>
<p>With the appearance of social media, Sentiment Analysis has become a very popular way of mining people’s public opinions. Sentiment analysis has been used for a long time to analyze the answers to open-ended survey questions; however, this data is usually limited and requires considerable effort to collect. However, millions of people share their opinions freely on social media platforms and we can harness this public data to inform intelligent business decisions with Sentiment Analysis.</p>
<h2>Company Product or Service Evaluation</h2>
<p>A lot of companies use Sentiment Analysis for extracting and understanding their customers’ opinions on their products or services. Reviews on websites, forums, and social media provide helpful insights on the strengths and limitations of a company’s products and/or services. Those insights may be used to discover possible issues that need improvement, as domain-specific Sentiment Analysis may automatically categorize positive and negative reviews into relevant topics and sub-topics. Imagine the benefit to be gained from the quick summarization of millions of customer experiences, where customer feelings about topics like “product quality” can be tracked in real time. Let’s take a look at the following review:</p>
<p><a ref="magnificPopup" href="https://www.megaputer.com/wp-content/uploads/sentiment-example-printer.png"><img class="aligncenter wp-image-20817 size-medium_large" src="https://www.megaputer.com/wp-content/uploads/sentiment-example-printer-768x365.png" alt="" width="768" height="365" srcset="https://www.megaputer.com/wp-content/uploads/sentiment-example-printer-768x365.png 768w, https://www.megaputer.com/wp-content/uploads/sentiment-example-printer-600x285.png 600w, https://www.megaputer.com/wp-content/uploads/sentiment-example-printer-300x143.png 300w, https://www.megaputer.com/wp-content/uploads/sentiment-example-printer-1024x487.png 1024w, https://www.megaputer.com/wp-content/uploads/sentiment-example-printer.png 1052w" sizes="(max-width: 768px) 100vw, 768px" /></a></p>
<p>A domain-specific Sentiment Analysis tool would identify that the customer has positive feelings toward certain aspects of the product, but not about its size.</p>
<h2>Competitor Intelligence</h2>
<p>While knowing the strengths and limitations of a company’s own products and services is helpful, it is also important to understand the status of its competitors. They may wish to incorporate features that customers appreciate in a competitor’s products or services, or avoid those that competitor customers do not enjoy. <span style="font-weight: 400;">Below, the printer of a company is compared to a similar printer of a competitor company (Printer X). The company’s printer is preferred for its easy set up and interface, but one of the competitor’s printers has the added feature of a rear feed.</span></p>
<p><img class="aligncenter wp-image-21009 size-full" src="https://www.megaputer.com/wp-content/uploads/image_2018-05-25_10-15-09.png" alt="" width="1027" height="206" srcset="https://www.megaputer.com/wp-content/uploads/image_2018-05-25_10-15-09.png 1027w, https://www.megaputer.com/wp-content/uploads/image_2018-05-25_10-15-09-600x120.png 600w, https://www.megaputer.com/wp-content/uploads/image_2018-05-25_10-15-09-300x60.png 300w, https://www.megaputer.com/wp-content/uploads/image_2018-05-25_10-15-09-768x154.png 768w, https://www.megaputer.com/wp-content/uploads/image_2018-05-25_10-15-09-1024x205.png 1024w" sizes="(max-width: 1027px) 100vw, 1027px" /></p>
<h2>Market Intelligence</h2>
<p>If an organization hosts products or services from other companies, it is useful to know what people enjoy and what needs improvement. This information can help a company decide whether to keep offering a product or service, as well as which products or services to promote. Similarly, if a company sells their products through other companies, they may analyze customer reviews to identify issues with the seller or new vendors to sell their product. The negative feelings associated with the brand in the following tweet indicate a possible decrease in sales; a company selling this brand may need to take this into account.</p>
<p><img class="aligncenter size-full wp-image-20819" src="https://www.megaputer.com/wp-content/uploads/sentiment-market-intelligence.png" alt="" width="538" height="139" srcset="https://www.megaputer.com/wp-content/uploads/sentiment-market-intelligence.png 538w, https://www.megaputer.com/wp-content/uploads/sentiment-market-intelligence-300x78.png 300w" sizes="(max-width: 538px) 100vw, 538px" /></p>
<p>Another example is the tweet below:</p>
<p><img class="aligncenter size-full wp-image-20820" src="https://www.megaputer.com/wp-content/uploads/sentiment-market-intelligence-example-2.png" alt="" width="498" height="162" srcset="https://www.megaputer.com/wp-content/uploads/sentiment-market-intelligence-example-2.png 498w, https://www.megaputer.com/wp-content/uploads/sentiment-market-intelligence-example-2-300x98.png 300w" sizes="(max-width: 498px) 100vw, 498px" /></p>
<p>The customer is dissatisfied with the selection of the products from a brand in a specific store; unless the brand addresses this issue with the store, it could have implications for their sales.</p>
<h2>Advertising</h2>
<p>A lot of the current advertising strategies are based on the inclusion of people’s reviews on products or services, also known as customer testimonials. Sentiment analysis allows companies to identify positive reviews they wish to showcase among the millions available, in order to gain the customers’ trust. Similarly, they may wish to showcase their superiority compared to their competitors, by identifying negative trends on the competitors’ products and services. For example, Gusto retweets positive customer reviews on their Twitter account, but also showcase some of them on their website as an advertising strategy.</p>
<p><img class="aligncenter wp-image-21013 size-full" src="https://www.megaputer.com/wp-content/uploads/gusto-screenshot.jpg" alt="" width="1421" height="912" srcset="https://www.megaputer.com/wp-content/uploads/gusto-screenshot.jpg 1421w, https://www.megaputer.com/wp-content/uploads/gusto-screenshot-600x385.jpg 600w, https://www.megaputer.com/wp-content/uploads/gusto-screenshot-300x193.jpg 300w, https://www.megaputer.com/wp-content/uploads/gusto-screenshot-768x493.jpg 768w, https://www.megaputer.com/wp-content/uploads/gusto-screenshot-1024x657.jpg 1024w" sizes="(max-width: 1421px) 100vw, 1421px" /></p>
<p>The post <a rel="nofollow" href="https://www.megaputer.com/what-is-sentiment-analysis/">What is sentiment analysis?</a> appeared first on <a rel="nofollow" href="https://www.megaputer.com">Megaputer Intelligence</a>.</p>
]]></content:encoded>
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.w3-edge.com/products/

Page Caching using disk: enhanced 
Minified using disk

Served from: www.megaputer.com @ 2026-06-22 06:50:43 by W3 Total Cache
-->