<?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: Chebon</title>
    <description>The latest articles on DEV Community by Chebon (@caesardroid).</description>
    <link>https://dev.to/caesardroid</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1002849%2F6d1da2c7-98d2-42e4-b915-ad8001ab2bb0.png</url>
      <title>DEV Community: Chebon</title>
      <link>https://dev.to/caesardroid</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/caesardroid"/>
    <language>en</language>
    <item>
      <title>The Complete Guide to Time Series Models</title>
      <dc:creator>Chebon</dc:creator>
      <pubDate>Thu, 19 Oct 2023 12:22:12 +0000</pubDate>
      <link>https://dev.to/caesardroid/the-complete-guide-to-time-series-models-31l4</link>
      <guid>https://dev.to/caesardroid/the-complete-guide-to-time-series-models-31l4</guid>
      <description>&lt;blockquote&gt;
&lt;h2&gt;
  
  
  What is a time series model
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;It is a set of data points ordered in time, where time is the independent variable and the goal is to make a forecast for the future.&lt;/p&gt;
&lt;/blockquote&gt;


&lt;/blockquote&gt;

&lt;p&gt;Time series models are statistical and mathematical tools used to analyze, process and make forecasts from time series data.&lt;/p&gt;

&lt;h2&gt;
  
  
  Characteristics of Time Series Data
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Stationarity&lt;/strong&gt;:
A time series is said to be stationary if its statistical properties do not change over time,i.e, it has a constant mean and variance and its covariance is independent of time.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--RGzZIh1V--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/viqgs21fcnpyyw419qiz.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--RGzZIh1V--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/viqgs21fcnpyyw419qiz.PNG" alt="Example of a stationary process" width="512" height="174"&gt;&lt;/a&gt;&lt;br&gt;
From the above image, we see that the process is stationary.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Seasonality&lt;/strong&gt;:
It refers to periodic fluctuations. For instance, power consumption is normally high during the day and low at night.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0KCgm_va--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7h7exskh2mkvdxkab3fj.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0KCgm_va--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7h7exskh2mkvdxkab3fj.PNG" alt="Example of seasonality" width="691" height="372"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Trend&lt;/strong&gt;:
The long-term movements or direction of the data.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--zQeL_11U--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qayk1vxwwphzbavc5tyl.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--zQeL_11U--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qayk1vxwwphzbavc5tyl.PNG" alt="Image of trend " width="522" height="198"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Components of Time Series Data
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Seasonal Component&lt;/strong&gt;: There are constant variations that happen frequently, such as daily, monthly, or yearly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Random Noise Component&lt;/strong&gt;: It is the unpredictable or rather irregular variation of data that cannot be attributed to any specific pattern. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Trend Component&lt;/strong&gt;: Long term movement in the data can either be upward or downward.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Types of Time Series Models
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Prophet&lt;/strong&gt;: A forecasting model developed by Facebook that is especially designed for time series data with seasonality and trend.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Exponential Smoothing&lt;/strong&gt;: It belongs to a group of forecasting models that project future values using a weighted average of historical data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Autoregressive Integrated Moving Average(ARIMA)&lt;/strong&gt;: It is a linear model that combines autoregression, differencing, and moving averages to create a flexible and robust forecasting model.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Seasonal Autoregressive Integrated Moving Average(SARIMA)&lt;/strong&gt;: It is an expansion of the ARIMA model that takes seasonality in the data into consideration.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vector Autoregression(VAR)&lt;/strong&gt;: It is a model that is quite suitable for multivariate time series analysis. The model describes the relationships between multiple time series variables.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to Build a Time Series Model.
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;Prepare the data&lt;/em&gt;: This is the initial step that include, loading the data, cleaning data, removing outliers and transforming the data to make the stationary.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;Identifying the model parameters&lt;/em&gt;: It involves using statistical models to estimate the parameters of the chosen time series model.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;Evaluate the model&lt;/em&gt;: This involves checking the performance of the model based on the dataset provided.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;Using the model to make predictions&lt;/em&gt;: After the model has been evaluated and its fit for use, it can be used to make predictions about future values of the data.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;For the analysis and forecasting of time-based data, time series modeling is an effective technique. To improve results and make better decisions, time series models can be used in a variety of fields and applications.&lt;/p&gt;

</description>
      <category>data</category>
      <category>analytics</category>
      <category>algorithms</category>
    </item>
    <item>
      <title>EDA using Data Visualization techniques</title>
      <dc:creator>Chebon</dc:creator>
      <pubDate>Sat, 07 Oct 2023 00:19:11 +0000</pubDate>
      <link>https://dev.to/caesardroid/eda-using-data-visualization-techniques-161d</link>
      <guid>https://dev.to/caesardroid/eda-using-data-visualization-techniques-161d</guid>
      <description>&lt;h2&gt;
  
  
  What is Exploratory Data Analysis?
&lt;/h2&gt;

&lt;p&gt;Exploratory Data Analysis (EDA) is a process of describing the data by means of statistical and visualization techniques in order to bring important aspects of that data into focus for further analysis. This involves inspecting the dataset from many angles, describing &amp;amp; summarizing it without making any assumptions about its contents.&lt;br&gt;
Exploratory data analysis is a significant step to take before diving into statistical modeling or machine learning, to ensure the data is really what it is claimed to be and that there are no obvious errors. It should be part of data science projects in every organization.&lt;/p&gt;
&lt;h2&gt;
  
  
  Why is it important to perform EDA?
&lt;/h2&gt;

&lt;p&gt;It helps you gather insights and make better sense of the data, and removes irregularities and unnecessary values from data. Helps you prepare your dataset for analysis. Allows a machine learning model to predict our dataset better. Gives you more accurate results.&lt;/p&gt;
&lt;h2&gt;
  
  
  What is Data Visualization.
&lt;/h2&gt;

&lt;p&gt;It is the process of presenting insights through plots, charts, and graphs to communicate findings effectively.&lt;/p&gt;
&lt;h2&gt;
  
  
  What are some of the visual techniques.
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;em&gt;Distribution plots&lt;/em&gt;: Also known as PDF plots are used to carry out analysis of one variable at a time. Each feature as a variable on X-axis. The values on the Y-axis in each case represent the normalized density. For instance, let's say our aim is to be able to correctly determine the survival status given the features — patient’s age. Its an example of univariate analysis.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Z1XQiKKZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/il4hy9ksyl6ffhu0hsp0.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Z1XQiKKZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/il4hy9ksyl6ffhu0hsp0.PNG" alt="distribution plot" width="635" height="419"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;em&gt;Box plots and Violin plots&lt;/em&gt;: Which is also under univariate analysis. Box plot, also known as box and whisker plot, displays a summary of data in five numbers — minimum, lower quartile(25th percentile), median(50th percentile), upper quartile(75th percentile), and maximum data values.
A violin plot displays the same information as the box and whisker plot; additionally, it also shows the density-smoothed plot of the underlying distribution.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--OiUIWrQc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1ngq0s0amhzqi41rgiw5.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--OiUIWrQc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1ngq0s0amhzqi41rgiw5.PNG" alt="Box plot" width="587" height="375"&gt;&lt;/a&gt;&lt;br&gt;
The isolated points seen in the box plot of positive axillary nodes are the outliers in the data. Such a high number of outliers is kind of expected in medical datasets. Also, the patient age and the operation year plots show similar statistics.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ZX5le-pD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zqik019qtmpfs9f60j5y.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ZX5le-pD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zqik019qtmpfs9f60j5y.PNG" alt="Violin plot" width="585" height="376"&gt;&lt;/a&gt;&lt;br&gt;
Violin plots in general are more informative as compared to the box plots as violin plots also represent the underlying distribution of the data in addition to the statistical summary. In the violin plot of positive axillary nodes, it is observed that the distribution is highly skewed for class label = ‘yes’, while it is moderately skewed for ‘no’.&lt;/p&gt;

&lt;p&gt;3.&lt;em&gt;Heatmap&lt;/em&gt;: are used to observe the correlations among the feature variables. This is particularly important when we are trying to obtain the feature importance in regression analysis. Although correlated features do not impact the performance of the statistical model, it could mess up the post-modeling analysis.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8VAy8vmN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zp4tdeq5zbae70qjk1nx.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8VAy8vmN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zp4tdeq5zbae70qjk1nx.PNG" alt="Heatmap chart" width="507" height="325"&gt;&lt;/a&gt;&lt;br&gt;
The values in the cells are Pearson’s R values which indicate the correlation among the feature variables. As we can see, these values are nearly 0 for any pair, so no correlation exists among any pair of variables.&lt;/p&gt;

&lt;p&gt;4.&lt;em&gt;Contour plot&lt;/em&gt;: is a graphical technique for representing a 3-dimensional surface by plotting constant z slices, called contours, in a 2-dimensional format. A contour plot enables us to visualize data in a two-dimensional plot. Here is a diagrammatic representation of how the information from the 3rd dimension can be consolidated into a flat 2-D chart&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--TWYrFxhh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mekfs9u0yblafmiism2w.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--TWYrFxhh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mekfs9u0yblafmiism2w.PNG" alt="contour plot" width="419" height="277"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.&lt;em&gt;Scatter plots&lt;/em&gt;: is a diagram where each value in the data set is represented by a dot.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import matplotlib.pyplot as plt
x =[5, 7, 8, 7, 2, 17, 2, 9,
    4, 11, 12, 9, 6] 
y =[99, 86, 87, 88, 100, 86, 
    103, 87, 94, 78, 77, 85, 86]

plt.scatter(x, y, c ="blue")

#To show the plot
plt.show()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--sGHj95NB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4n7ib138nyzsxbltghpm.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--sGHj95NB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4n7ib138nyzsxbltghpm.PNG" alt="scatter plot" width="442" height="317"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>datascience</category>
      <category>python</category>
      <category>analytics</category>
      <category>charts</category>
    </item>
    <item>
      <title>Data Science for Beginners: 2023–2024 Complete Roadmap</title>
      <dc:creator>Chebon</dc:creator>
      <pubDate>Fri, 29 Sep 2023 21:57:37 +0000</pubDate>
      <link>https://dev.to/caesardroid/data-science-for-beginners-2023-2024-complete-roadmap-5bo8</link>
      <guid>https://dev.to/caesardroid/data-science-for-beginners-2023-2024-complete-roadmap-5bo8</guid>
      <description>&lt;p&gt;In the field of computer science, data science has been popular for many years. Recently, Data science programmes are being offered by many universities.&lt;/p&gt;

&lt;p&gt;The need for data science and big data specialists is increasing dramatically as more data is being generated by vibrant services and applications. The field of data science has emerged as a fantastic career choice for software developers and data nerds.&lt;/p&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  What is data science?
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
Data science has an intersection with artificial intelligence but is not a subset of artificial intelligence.&lt;/p&gt;

&lt;p&gt;Data science is the study of an aroused curiosity in any given field, the extraction of data from a large source of data related to the question in mind, processing data, analyzing and visualizing this data, so as to make meaning out of it for IT and business strategies.&lt;/p&gt;

&lt;p&gt;In simple terms, it is understanding and making sense of data. A lot of tools are used in data science. They include statistical tools, probabilistic tools, linear and metric algebra, numerical optimization and programming.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Career paths in data science.&lt;/strong&gt;&lt;br&gt;
One of the lucrative and in-demand professions for qualified experts is data science. Although a job in data science is fulfilling and lucrative, getting started is not that easy. It is not necessary to have a master’s or bachelor’s degree to work in data science. One requires the proper skill set and expertise. Below are examples of career choices in the field of data science:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Data Analyst&lt;/li&gt;
&lt;li&gt;Data Scientist&lt;/li&gt;
&lt;li&gt;Data Engineer&lt;/li&gt;
&lt;li&gt;Machine Learning Engineer&lt;/li&gt;
&lt;li&gt;NLP Engineer&lt;/li&gt;
&lt;li&gt;Business Analyst&lt;/li&gt;
&lt;li&gt;Power BI engineer&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Steps involved in developing a suitable machine learning model
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Data collection&lt;/em&gt;: This is basically find a suitable dataset to work on, you can either import a csv, excel or a json file.&lt;br&gt;
&lt;em&gt;Data Preparation&lt;/em&gt;: Putting together all the data you have and randomizing it, Cleaning the data to remove unwanted data, missing values, rows, and columns, duplicate values, data type conversion, Visualize the data to understand how it is structured and understand the relationship between various variables and finally Splitting the cleaned data into two sets - a training set and a testing set.&lt;br&gt;
&lt;em&gt;Choose suitable model&lt;/em&gt;: Depending on the type of data you’re working with to solve a regression or a classification problem. Can be linear or logistic regression, SVM, XGBoost, LSTM , BiLSTM , Random Forest and so on.&lt;br&gt;
&lt;em&gt;Training the model&lt;/em&gt;: you pass the prepared data to your machine learning model to find patterns and make predictions.&lt;br&gt;
&lt;em&gt;Model Evaluation&lt;/em&gt;: After training your model, you have to check to see how it’s performing. This is done by testing the performance of the model on previously unseen data.&lt;br&gt;
&lt;em&gt;Parameter Tuning&lt;/em&gt;: Adjusting to see how best to improve the accuracy of the model.&lt;br&gt;
&lt;em&gt;Make Predictions&lt;/em&gt;: In the end, you can use your model on unseen data to make predictions accurately.&lt;/p&gt;

</description>
      <category>datascience</category>
      <category>python</category>
      <category>programming</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
