<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Joshua Arulsamy</title>
    <description>The latest articles on DEV Community by Joshua Arulsamy (@jarulsamy).</description>
    <link>https://dev.to/jarulsamy</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F160765%2F4dc33baa-faf2-4470-9a16-fb79d4d2f43a.jpg</url>
      <title>DEV Community: Joshua Arulsamy</title>
      <link>https://dev.to/jarulsamy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jarulsamy"/>
    <language>en</language>
    <item>
      <title>Cancer-Detection</title>
      <dc:creator>Joshua Arulsamy</dc:creator>
      <pubDate>Wed, 20 May 2020 10:02:46 +0000</pubDate>
      <link>https://dev.to/jarulsamy/cancer-detection-enc</link>
      <guid>https://dev.to/jarulsamy/cancer-detection-enc</guid>
      <description>&lt;h2&gt;
  
  
  Cancer-Detection
&lt;/h2&gt;

&lt;p&gt;Machine learning aids in many of our day-to-day ordeals in normal life. Some of the most powerful uses of machine learning are in the medical field. In this repository, the viability of artificial neural networks and support vector machines in tumor malignancy classification is tested.&lt;/p&gt;

&lt;h3&gt;
  
  
  Simplified Pipeline
&lt;/h3&gt;

&lt;p&gt;Step 1: Data acquisition&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  A publically available UCI Wisconsin breast cancer dataset is downloaded. Within this dataset, features are computed from a digitized image of a fine needle aspirate (FNA) of a breast mass.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Step 2: Data visualization&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  To effectively identifiy relationships within the data itself, a heatmap of all 31 features within the data is created.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Step 3: Data pre-processing&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Attributes are seperated according to the following specifications:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  The first attribute of each sample is an ID number and is discarded&lt;/li&gt;
&lt;li&gt;  Y (attribute 31): This final attribute is the tumor classification, malignant and benign, represented numerically as either 1 or 0. This feature is separated from the rest of the data. This is referred to as the target feature.&lt;/li&gt;
&lt;li&gt;  X (attributes 1 - 30): These remaining features are the predictors (mean radius, mean texture, mean perimeter, mean area, mean smoothness, etc.), which will be inputted into machine learning models&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The data is also split into to sets, training and testing.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Step 4: Create and train an Artificial Neural Network.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Modern neural networks come in many shapes and sizes. For this project, a simple 5 layer neural network was chosen for it's decent performance with minimal computational overhead.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Step 6: Create and train a Support Vector Machine&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  The SVM model is explicitly searching for the best separating line between the two classes of data. This is done by first searching for the two closest overlapping samples and finding a line, typically linear, that connects them. The SVM then declares that the best separating line is the line that bisects  is perpendicular to  the connecting line.  This is repeated with many overlapping samples until the number of samples misclassified is minimized or, more generally, until  the  distance  between  the  separating  line  and  both  classes  of  data  is  maximized.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Step 7: Evaluate and visualize&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Post Training, data from both data sets is stepped through both machine learning methods. This evaluation data is used generate the result plots.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Results
&lt;/h3&gt;

&lt;p&gt;Come see the results and more at my github repository. &lt;/p&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--vWogaON8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/github-logo-28d89282e0daa1e2496205e2f218a44c755b0dd6536bbadf5ed5a44a7ca54716.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/jarulsamy"&gt;
        jarulsamy
      &lt;/a&gt; / &lt;a href="https://github.com/jarulsamy/Cancer-Detection"&gt;
        Cancer-Detection
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Cancer Detection with Machine Learning
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;h1&gt;
Cancer-Detection&lt;/h1&gt;
&lt;h2&gt;
Method&lt;/h2&gt;
&lt;p&gt;Step 1: Data acquisition
A UCI Wisconsin dataset (1995) will be downloaded from the UCI machine learning
repository (&lt;a href="https://archive.ics.uci.edu/ml/datasets/Breast+Cancer+Wisconsin+(Diagnostic)" rel="nofollow"&gt;https://archive.ics.uci.edu/ml/datasets/Breast+Cancer+Wisconsin+(Diagnostic)&lt;/a&gt;
To train and evaluate a machine learning model, a sufficiently large dataset of mammogram
samples must be acquired. Within this dataset, features are computed from a digitized image of a
fine needle aspirate (FNA) of a breast mass. They describe characteristics of the cell nuclei present
in the image. This dataset contains 569 samples, each with 32 attributes.&lt;/p&gt;
&lt;p&gt;Step 2: Data visualization
Create a correlation map
Determining relationships within the data can aid in deciding which machine learning
methods to use. Therefore, the relationships between their various attributes are visualized.&lt;/p&gt;
&lt;p&gt;Step 3: Data pre-processing
Restructure the data and prepare for inputting into machine learning models
This dataset is provided in a CSV file format. To accelerate the training process, all 569
samples are first loaded into working…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/jarulsamy/Cancer-Detection"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


</description>
      <category>2020devgrad</category>
      <category>octograd2020</category>
      <category>showdev</category>
      <category>githubsdp</category>
    </item>
  </channel>
</rss>
