<?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: Rutik Bhoyar</title>
    <description>The latest articles on DEV Community by Rutik Bhoyar (@rutikab12).</description>
    <link>https://dev.to/rutikab12</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%2F492460%2F884e7f16-1e9d-4d95-97f1-c91d53656d2b.jpeg</url>
      <title>DEV Community: Rutik Bhoyar</title>
      <link>https://dev.to/rutikab12</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rutikab12"/>
    <language>en</language>
    <item>
      <title>Smart Contract in Ethereum</title>
      <dc:creator>Rutik Bhoyar</dc:creator>
      <pubDate>Wed, 29 Dec 2021 14:48:09 +0000</pubDate>
      <link>https://dev.to/rutikab12/smart-contract-in-ethereum-4ioh</link>
      <guid>https://dev.to/rutikab12/smart-contract-in-ethereum-4ioh</guid>
      <description>&lt;p&gt;Now-a-days Web3.0 is trending and there are lot of stuffs also in talks like blockchain, NFT, Ethereum, Solidity, etc. etc..&lt;/p&gt;

&lt;p&gt;As many of us would know about the blockchain, let's just see it's definition &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Blockchain is a continuously growing list of records or blocks you can say, which are completely decentralized with distributed databases and immutable ledger meaning continuous blocks linked to each other.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--JE5F9wf3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5c3ainb7jvble52ezsug.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--JE5F9wf3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5c3ainb7jvble52ezsug.jpg" alt="Blockchain" width="697" height="150"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So now let's move towards our topic &lt;strong&gt;Smart Contract&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Example
&lt;/h2&gt;

&lt;p&gt;Let's take an example for this. Suppose there is company which helps various NGO's to collect the funds for their campaigns. Various NGO's files pledged amount to their site and rest of the work is done by that company, which can also be called as "crowd-funding".&lt;/p&gt;

&lt;p&gt;If the amount contributed by various people is equal to or greater than the pledged amount the NGO's will get the amount by deducting the some commission by the platform provider company.&lt;/p&gt;

&lt;p&gt;Else if the money funded is not equal to the pledged amount, the money will be returned to the people.&lt;/p&gt;

&lt;p&gt;Similarly, the smart contract's work. See the formal definition of &lt;/p&gt;

&lt;h2&gt;
  
  
  "Smart Contract"...
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;"smart contract" is simply a program that runs on the Ethereum blockchain. It's a collection of code (its functions) and data (its state) that resides at a specific address on the Ethereum blockchain.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Smart contracts&lt;/strong&gt; are a type of Ethereum account. This means they have a balance and they can send transactions over the network. However they're not controlled by a user, instead they are deployed to the network and run as programmed. User accounts can then interact with a smart contract by submitting transactions that execute a function defined on the smart contract.&lt;/p&gt;

&lt;p&gt;In simple language, it is a certain set of rules written with the help of scripting language like &lt;strong&gt;Solidity in Ethereum&lt;/strong&gt; , which can be considered as &lt;strong&gt;JavaScript&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the smart contract will be present in blockchain?
&lt;/h2&gt;

&lt;p&gt;So when there will be a Peer-to-Peer network of blockchain where all the nodes are interconnected to each other i.e. ledger. Each node will contain a separate blockchain. So where does the smart contract will be present?.&lt;/p&gt;

&lt;p&gt;It will be present alongside with the blockchain of node.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--NQCkdVaj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qxx4kustmknot477mo87.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--NQCkdVaj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qxx4kustmknot477mo87.jpg" alt="Peer-to-Peer Network" width="508" height="342"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Real-World Smart Contract in use....
&lt;/h2&gt;

&lt;p&gt;So when the Jack Dorsey's first tweet was sold to &lt;strong&gt;Person A&lt;/strong&gt; as &lt;strong&gt;NFT&lt;/strong&gt;(Non-fungible Token) ,all the transaction was noted in smart contract and money was transferred to the original owner.&lt;br&gt;
Now when that &lt;strong&gt;Person A&lt;/strong&gt; will sell that tweet to &lt;strong&gt;Person B&lt;/strong&gt; all the transaction will be noted and maintained by the "Smart Contract" and the royalty amount will be sent to the Jack Dorsey.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--XVgtw7Hc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ae33j1u6co680gsj7qnw.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--XVgtw7Hc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ae33j1u6co680gsj7qnw.jpg" alt="Smart Contract in Jack Dorsey's tweet" width="820" height="193"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;Smart contracts can define rules, like a regular contract, and automatically enforce them via the code. Smart contracts cannot be deleted by default, and interactions with them are irreversible.&lt;/p&gt;

</description>
      <category>web3</category>
      <category>blockchain</category>
      <category>beginners</category>
      <category>opensource</category>
    </item>
    <item>
      <title>JavaScript Using RegEx</title>
      <dc:creator>Rutik Bhoyar</dc:creator>
      <pubDate>Sat, 11 Dec 2021 05:46:34 +0000</pubDate>
      <link>https://dev.to/rutikab12/vowel-count-in-javascript-using-regex-4dac</link>
      <guid>https://dev.to/rutikab12/vowel-count-in-javascript-using-regex-4dac</guid>
      <description>&lt;p&gt;&lt;strong&gt;Problem:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Return the number (count) of vowels in the given string.&lt;br&gt;
We will consider a, e, i, o, u as vowels.&lt;/p&gt;

&lt;p&gt;The input can consist of Lower case and upper case letters so make sure to count both of them&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function getCount(str) {
    return str.match(/[aeiou]/gi).length
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will give you the count of vowels in javascript.&lt;/p&gt;

&lt;h2&gt;
  
  
  Stop gninnipS My sdroW!
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Problem:&lt;/strong&gt;&lt;br&gt;
Write a function that takes in a string of one or more words, and returns the same string, but with all five or more letter words reversed (Just like the name of this Kata). Strings passed in will consist of only letters and spaces. Spaces will be included only when more than one word is present.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function spinWords(string) {

 return string.replace(/\w{5,}/g, 
    function(w) {return w.split('').reverse().join('')}
  )
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will be give correct output like below.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;spinWords(“Hey fellow warriors”) //returns “Hey wollef sroirraw"
spinWords("This is a test") //returns "This is a test"
spinWords("This is another test") //returns "This is rehtona test"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>opensource</category>
    </item>
    <item>
      <title>List of Open Source Projects ML </title>
      <dc:creator>Rutik Bhoyar</dc:creator>
      <pubDate>Mon, 21 Jun 2021 18:18:05 +0000</pubDate>
      <link>https://dev.to/rutikab12/list-of-open-source-projects-ml-oml</link>
      <guid>https://dev.to/rutikab12/list-of-open-source-projects-ml-oml</guid>
      <description>&lt;p&gt;List of Open Source Projects ML&lt;br&gt;
Open source is an vast ocean if you are willing to dive in there, here is a list of some open-source projects to which you can contribute as an open-source contributor. Anyone can contribute to these repositories from beginners to experts based on their understanding and skills.&lt;/p&gt;

&lt;p&gt;I have not explained about the projects, attaching GitHub links of the repositories where you will find all the necessary information and steps for contribution.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/smaranjitghose/AppleFoliarAI"&gt;Apple Foliar AI&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/Niketkumardheeryan/Hands-on-ML-Basic-to-Advance-"&gt;Hands-on-ML-Basic-To-Advance&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/kritikaparmar-programmer/HealthCheck"&gt;Health Check&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/CodeTrophs"&gt;Code Trophs&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/klarEDA/klar-EDA"&gt;klar EDA&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/Praful932/Kitabe"&gt;Kitabe&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/vaibhavirohilla741/Operationalizing-ML"&gt;Operationlizing-ML&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/akshitagupta15june/Face-X"&gt;Face-X&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/Swarnimashukla/Automatic-attendance-management-system"&gt;Automatic Attendance Management System&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/CoinShift-Imaging/CoinShift-Imaging-Box"&gt;CoinShift-Imaging-Box&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/geekquad/Image-Processing-OpenCV"&gt;Image Processing CV&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/CodeFlow201/forestTreesTagging"&gt;Forest Trees Tagging&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/Developer-Student-Clubs-VSSUT-Burla/CamOps"&gt;CamOps&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/CrewMates-Open-Source/EduHelp"&gt;EduHelp&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/imskr/Plant_Disease_Detection"&gt;Plant Disease Detection&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;For getting started with open source , make sure you are sure about your skills and confident enough to contribute and solve the issues out there. And most important is you have to be patient for grabbing the issues and also for doing changes which are requested by admins.&lt;/p&gt;

&lt;p&gt;Anyone reading this post knows about more repositories can comment and increase this list. &lt;/p&gt;

&lt;p&gt;Thank You. Hope it will help you !.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>datascience</category>
      <category>machinelearning</category>
      <category>beginners</category>
    </item>
    <item>
      <title>What is Word2Vec?</title>
      <dc:creator>Rutik Bhoyar</dc:creator>
      <pubDate>Tue, 15 Jun 2021 17:47:06 +0000</pubDate>
      <link>https://dev.to/rutikab12/what-is-word2vec-365l</link>
      <guid>https://dev.to/rutikab12/what-is-word2vec-365l</guid>
      <description>&lt;p&gt;&lt;strong&gt;Why we need word2vec?&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;As both TFIDF and BOW do not store semantic information. TFIDF gives importance to uncommon words.&lt;/li&gt;
&lt;li&gt;Hence there is definitely a chance of overfitting.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;What word2vec does?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In this word2vec specific model, each word is basically represented as a vector of 32 or more dimension instead of single number.&lt;/p&gt;

&lt;p&gt;Here the semantic information and relation between different word is also preserved.&lt;/p&gt;

&lt;p&gt;Word2vec is applied to huge amount of data mostly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to use?&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;from gensim.model import word2vec

After tokenizing and stopwords write the following code...

model=word2vec(senetnces,min_count=1)
words=model.wv

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Thank You!&lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>datascience</category>
      <category>opensource</category>
      <category>beginners</category>
    </item>
    <item>
      <title>How to send email using PHP?</title>
      <dc:creator>Rutik Bhoyar</dc:creator>
      <pubDate>Sat, 15 May 2021 08:26:22 +0000</pubDate>
      <link>https://dev.to/rutikab12/how-to-send-email-using-php-5b0n</link>
      <guid>https://dev.to/rutikab12/how-to-send-email-using-php-5b0n</guid>
      <description>&lt;p&gt;Recently I started learning PHP. I was building a practice project where I want to send the email to my email address from the contact us page on my site. Then I wrote the following code. &lt;/p&gt;

&lt;p&gt;I know many of the beginners struggle in this part so I am sharing the code so that one can use it with any HTML form they have on their site.&lt;/p&gt;

&lt;p&gt;So the steps are:&lt;/p&gt;

&lt;p&gt;Step 1: Create a HTML contact form&lt;/p&gt;

&lt;p&gt;Step 2: Create the .php file when someone clicks the submit button it will go to the .php file which we defined in the form action.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;?php
//get data from form  
$name = $_POST['name'];
$email= $_POST['email'];
$message= $_POST['message'];
$to = "youremail@mail.com";
$subject = "Mail From website";
$txt ="Name = ". $name . "\r\n  Email = " . $email . "\r\n Message =" . $message;
$headers = "From: noreply@yoursite.com" . "\r\n" .
"CC: somebodyelse@example.com";
if($email!=NULL){
    mail($to,$subject,$txt,$headers);
}
//redirect
header("Location:thankyou.html");
?&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Hope you will find it helpful.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>opensource</category>
      <category>programming</category>
    </item>
    <item>
      <title>Types of Clustering Algorithms...</title>
      <dc:creator>Rutik Bhoyar</dc:creator>
      <pubDate>Thu, 15 Apr 2021 11:57:18 +0000</pubDate>
      <link>https://dev.to/rutikab12/types-of-clustering-algorithms-31b8</link>
      <guid>https://dev.to/rutikab12/types-of-clustering-algorithms-31b8</guid>
      <description>&lt;p&gt;We all know what is clustering. For revision.....&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Clustering:&lt;/strong&gt;It is the task of dividing the population or data points into several groups.&lt;/p&gt;

&lt;p&gt;There are two types of clustering 1. Hard Clustering  2. Soft Clustering. &lt;/p&gt;

&lt;p&gt;And there are four types of algorithms also which are...&lt;/p&gt;

&lt;p&gt;1) &lt;strong&gt;Connectivity Model:&lt;/strong&gt; As the name suggests, these are the models based on the definition that the data points closer in data space exhibit more similarity to each other than the data points lying farther away.&lt;/p&gt;

&lt;p&gt;There are two approaches in this type...&lt;/p&gt;

&lt;p&gt;I. Start with classifying all data points into separate clusters and then aggregating them as distance increases.&lt;/p&gt;

&lt;p&gt;II. All the data points are classified as a single cluster and then partitioned as the distance increases.&lt;/p&gt;

&lt;p&gt;Ex: Hierarchical Algorithm, etc.&lt;/p&gt;

&lt;p&gt;2) &lt;strong&gt;Centroid Models:&lt;/strong&gt; These are the iterative clustering algorithms in which the notion of the similarity is derived by the closeness of data points to the centroid of clusters.&lt;/p&gt;

&lt;p&gt;Ex: K-Means Algorithm, etc.&lt;/p&gt;

&lt;p&gt;3) &lt;strong&gt;Distribution Models:&lt;/strong&gt; These clustering models are based on the definition of how probable is it that all the data points in the cluster belong to the same distribution. This type of model often leads to overfitting.&lt;/p&gt;

&lt;p&gt;Ex: Expectation-Maximization Algorithms, etc.&lt;/p&gt;

&lt;p&gt;4) &lt;strong&gt;Density Models:&lt;/strong&gt; These models search the data space for areas of the varied density of data points in that data space.&lt;/p&gt;

&lt;p&gt;Ex: DBSCAN &amp;amp; OPTICS, etc.&lt;/p&gt;

&lt;p&gt;The short explanation for hard and soft clustering can be..&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Hard Clustering:&lt;/strong&gt; In this, each data point either belongs to a cluster complexity or not.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Soft Clustering:&lt;/strong&gt; In this, instead of putting each data points into a separate cluster, a probability or likelihood of that data point to be in those clusters is assigned.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>machinelearning</category>
      <category>datascience</category>
      <category>beginners</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Assumptions of Linear Regression</title>
      <dc:creator>Rutik Bhoyar</dc:creator>
      <pubDate>Thu, 25 Mar 2021 16:56:25 +0000</pubDate>
      <link>https://dev.to/rutikab12/assumptions-of-linear-regression-1b03</link>
      <guid>https://dev.to/rutikab12/assumptions-of-linear-regression-1b03</guid>
      <description>&lt;p&gt;&lt;strong&gt;Assumptions of Linear Regression&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Due to the parametric nature of regression, it is restrictive in nature. Hence due to this, it fails to deliver good results with data sets which doesn't fulfil its assumptions.&lt;br&gt;
Following are the assumptions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Linear Relationship&lt;/li&gt;
&lt;li&gt;No correlation of error terms&lt;/li&gt;
&lt;li&gt;Constant Variance of error terms&lt;/li&gt;
&lt;li&gt;No correlation among independent variables&lt;/li&gt;
&lt;li&gt;Error normally distributed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now let's understand what this terms actually mean....&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Linear or Additive Model&lt;/strong&gt;: If you fit a model to a non-linear, non-additive dataset, the regression algorithm would fail to capture the trend mathematically, thus result in an inefficient model. Also, this will lead to an erroneous prediction on an unseen dataset.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;No correlation of error terms&lt;/strong&gt;: The presence of correlation in error terms drastically reduces model's accuracy. This is usually occurs in time series models where the next instant is dependent on previous instant. If the error terms are correlated , the estimated standard errors tend to underestimate the true standard error.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;This is also known as autocorrelation.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Constant Variance of error terms&lt;/strong&gt;: This phenomenon exists when the independent variables are found to be moderately or highly correlated. In the model with correlated variables, it becomes difficult to find out which variable is actually contributing to predict the response variable.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It also leads to increase in standard error.&lt;/li&gt;
&lt;li&gt;This is also called as Multicollinearity.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;No Correlation among independent variables&lt;/strong&gt;: The presence of non-constant variance in the error terms results in heteroskedasticity.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Generally , non-constant variance arises in presence of 
outliers or extreme leverage values. Look like , these values 
get too much weight, thereby disproportionality influences 
the model's performance. When this phenomenon occurs, the 
confidence interval for out of sample prediction tends to be 
unrealistically wide or narrows. &lt;/li&gt;
&lt;li&gt;This is also known as heteroskedasticity.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Normal Distribution&lt;/strong&gt;: If error terms are non-normally distributed , confidence intervals may become too wide or narrow.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Once confidence interval becomes unstable, it leads to 
difficulty in estimating coefficients based on minimization of 
least squares.&lt;/li&gt;
&lt;li&gt;Presence of non-normal distribution suggests that there are a 
few unusual data points which must be studied closely to make a 
better model. &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;These are the assumptions you need to get a better linear model.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>machinelearning</category>
      <category>beginners</category>
      <category>datascience</category>
    </item>
    <item>
      <title>ANCOVA - Machine Learning</title>
      <dc:creator>Rutik Bhoyar</dc:creator>
      <pubDate>Wed, 17 Mar 2021 16:49:57 +0000</pubDate>
      <link>https://dev.to/rutikab12/ancova-machine-learning-3a6k</link>
      <guid>https://dev.to/rutikab12/ancova-machine-learning-3a6k</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is ANCOVA?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ANCOVA&lt;/strong&gt; is a blend of analysis of variance (ANOVA) and regression. It is similar to factorial ANOVA, in that it can tell you what additional information you can get by considering one independent variable (factor) at a time, without the influence of the others. It can be used as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An extension of multiple regression to compare multiple regression lines,&lt;/li&gt;
&lt;li&gt;An extension of analysis of variance.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Although ANCOVA is usually used when there are differences between your baseline groups (Senn, 1994; Overall, 1993), it can also be used in pretest/posttest analysis when regression to the mean affects your posttest measurement (Bonate, 2000). The technique is also common in non-experimental research (e.g. surveys) and for quasi-experiments (when study participants can’t be assigned randomly). However, this particular application of ANCOVA is not always recommended (Vogt, 1999).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Multiple Regression Analysis&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Multiple regression analysis is used to see if there is a statistically significant relationship between sets of variables. It’s used to find trends in those sets of data.&lt;/p&gt;

&lt;p&gt;Multiple regression analysis is almost the same as simple linear regression. The only difference between simple linear regression and multiple regression is in the number of predictors (“x” variables) used in the regression.&lt;/p&gt;

&lt;p&gt;Simple regression analysis uses a single x variable for each dependent “y” variable. For example: (x1, Y1).&lt;br&gt;
Multiple regression uses multiple “x” variables for each independent variable: (x1)1, (x2)1, (x3)1, Y1).&lt;br&gt;
In one-variable linear regression, you would input one dependent variable (i.e. “sales”) against an independent variable (i.e. “profit”). But you might be interested in how different types of sales effect the regression. You could set your X1 as one type of sales, your X2 as another type of sales and so on.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Extension of Multiple Regression&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When used as an extension of multiple regression, ANCOVA can test all of the regression lines to see which have different Y intercepts as long as the slopes for all lines are equal.&lt;/p&gt;

&lt;p&gt;Like regression analysis, ANCOVA enables you to look at how an independent variable acts on a dependent variable. ANCOVA removes any effect of covariates, which are variables you don’t want to study. For example, you might want to study how different levels of teaching skills affect student performance in math; It may not be possible to randomly assign students to classrooms. You’ll need to account for systematic differences between the students in different classes (e.g. different initial levels of math skills between gifted and mainstream students).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You might want to find out if a new drug works for depression. The study has three treatment groups and one control group. A regular ANOVA can tell you if the treatment works. ANCOVA can control for other factors that might influence the outcome. For example: family life, job status, or drug use.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Extension of ANOVA&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;As an extension of ANOVA, ANCOVA can be used in two ways (Leech et. al, 2005):&lt;/p&gt;

&lt;p&gt;To control for covariates (typically continuous or variables on a particular scale) that aren’t the main focus of your study.&lt;br&gt;
To study combinations of categorical and continuous variables, or variables on a scale as predictors. In this case, the covariate is a variable of interest (as opposed to one you want to control for).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Within-Group Variance&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ANCOVA&lt;/strong&gt; can explain within-group variance. It takes the unexplained variances from the ANOVA test and tries to explain them with confounding variables (or other covariates). You can use multiple possible covariates. However, more you enter, the fewer degrees of freedom you’ll have. Entering a weak covariate isn’t a good idea as it will reduce the statistical power. The lower the power, the less likely you’ll be able to rely on the results from your test. Strong covariates have the opposite effect: it can increase the power of your test.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.statisticshowto.com%2Fwp-content%2Fuploads%2F2015%2F05%2Fancova.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.statisticshowto.com%2Fwp-content%2Fuploads%2F2015%2F05%2Fancova.jpg" alt="Alt text of image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Assumptions for ANCOVA&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Assumptions are basically the same as the ANOVA assumptions. Check that the following are true before running the test:&lt;/p&gt;

&lt;p&gt;Independent variables (minimum of two) should be categorical variables.&lt;br&gt;
The dependent variable and covariate should be continuous variables (measured on an interval scale or ratio scale.)&lt;br&gt;
Make sure observations are independent. In other words, don’t put people into more than one group.&lt;br&gt;
Software can usually check the following assumptions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Normality&lt;/strong&gt;: the dependent variable should be roughly normal for each of category of independent variables.&lt;br&gt;
Data should show homogeneity of variance.&lt;br&gt;
The covariate and dependent variable (at each level of independent variable) should be linearly related.&lt;br&gt;
Your data should be homoscedastic of Y for each value of X.&lt;br&gt;
The covariate and the independent variable shouldn’t interact. In other words, there should be homogeneity of regression slopes.&lt;/p&gt;
&lt;h1&gt;
  
  
  Multiple regression with categorical independent variables or factors: Analysis of covariance (ANCOVA)
&lt;/h1&gt;

&lt;p&gt;Analysis of covariance (ANCOVA) is a linear model that blends ANOVA and linear regression. ANCOVA evaluates whether population means of a dependent variable (DV) are equal across levels of a categorical independent variable (IV) often called a treatment, while statistically controlling for the effects of other quantitative or continuous variables that are not of primary interest, known as covariates (CV).&lt;/p&gt;

&lt;p&gt;Now lets understand this with the help of example..&lt;br&gt;
&lt;strong&gt;Step-1:&lt;/strong&gt; Reading the dataset and importing required libraries.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import pandas as pd
import matplotlib.pyplot as plt
%matplotlib inline
import seaborn as sns

try:
    df = pd.read_csv("../datasets/salary_table.csv")
except:
    url = 'https://github.com/duchesnay/pystatsml/raw/master/datasets/salary_table.csv'
    df = pd.read_csv(url)

print(df.head())
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step-2:&lt;/strong&gt; Calculating Normality Test p-value.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import statsmodels.formula.api as smf
import statsmodels.stats.api as sms

lm = smf.ols('salary ~ experience', df).fit()
df["residuals"] = lm.resid

print("Normality test p-value %.5f" % sms.jarque_bera(lm.resid)[1])

ax = sns.displot(df, x='residuals', kind="kde", fill=True)
ax = sns.displot(df, x='residuals', kind="kde", hue='management', fill=True)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After the output you can see that, Normality assumption of the residuals can be rejected (p-value &amp;lt; 0.05). There is an effect of the "management" factor, take it into account.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-3:&lt;/strong&gt; One-way ANCOVA&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;ANOVA: one categorical independent variable, i.e. one factor.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;ANCOVA: ANOVA with some covariates.&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import statsmodels.api as sm
oneway = smf.ols('salary ~ management + experience', df).fit()
df["residuals"] = oneway.resid
sns.displot(df, x='residuals', kind="kde", fill=True)
print(sm.stats.anova_lm(oneway, typ=2))
print("Normality test p-value %.3f" % sms.jarque_bera(oneway.resid)[1])
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Distribution of residuals is still not normal but closer to normality. Both management and experience are significantly associated with salary.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-4:&lt;/strong&gt; &lt;br&gt;
Two-way AN(C)OVA&lt;/p&gt;

&lt;p&gt;Ancova with two categorical independent variables, i.e. two factors.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;twoway = smf.ols('salary ~ education + management + experience', df).fit()

df["residuals"] = twoway.resid
sns.displot(df, x='residuals', kind="kde", fill=True)
print(sm.stats.anova_lm(twoway, typ=2))

print("Normality test p-value %.3f" % sms.jarque_bera(twoway.resid)[1])
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Normality assumption cannot be rejected. Assume it. Education, management and experience are significantly associated with salary.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-5:&lt;/strong&gt;&lt;br&gt;
Comparing two nested models&lt;/p&gt;

&lt;p&gt;oneway is nested within twoway. Comparing two nested models tells us if the additional predictors (i.e. education) of the full model significantly decrease the residuals. Such comparison can be done using an  𝐹 -test on residuals:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;print(twoway.compare_f_test(oneway))  # return F, pval, df&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;twoway is significantly better than one way&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;print(twoway.model.data.param_names)

print(twoway.model.data.exog[:10, :])

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step-6:&lt;/strong&gt; Contrasts and post-hoc tests&lt;/p&gt;

&lt;p&gt;Post hoc tests are an integral part of ANOVA. When you use ANOVA to test the equality of at least three group means, statistically significant results indicate that not all of the group means are equal. However, ANOVA results do not identify which particular differences between pairs of means are significant. Use post hoc tests to explore differences between multiple group means while controlling the experiment-wise error rate.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ttest_exp = twoway.t_test([0, 0, 0, 0, 1])
ttest_exp.pvalue, ttest_exp.tvalue
print(ttest_exp)

# Alternatively, you can specify the hypothesis tests using a string
twoway.t_test('experience')

# Post-hoc is salary of Master different salary of Ph.D? 
# ie. t-test salary of Master = salary of Ph.D.
print(twoway.t_test('education[T.Master] = education[T.Ph.D]'))
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The code and the dataset is derived from the notebook of &lt;em&gt;duchesnay&lt;/em&gt;. Hope it will help you because there is very few material regarding ANCOVA on the internet.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>machinelearning</category>
      <category>beginners</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Machine Learning Resources..</title>
      <dc:creator>Rutik Bhoyar</dc:creator>
      <pubDate>Mon, 08 Mar 2021 17:39:09 +0000</pubDate>
      <link>https://dev.to/rutikab12/machine-learning-resources-3ln</link>
      <guid>https://dev.to/rutikab12/machine-learning-resources-3ln</guid>
      <description>&lt;p&gt;When the pandemic was taking over the world, 'Thanking God for whatever he has given to me' I started exploring &lt;strong&gt;Machine Learning&lt;/strong&gt;. Fortunately with help of my friend I got an entry in one of the courses on Machine Learning for a month.&lt;/p&gt;

&lt;p&gt;I was familiar with the Python language, so it helps me to identify the role of python in the domain. Then started to follow the way to study machine learning told by the tutor. But like other guys, I was also unable to keep myself on track. &lt;/p&gt;

&lt;p&gt;But one thing was decided in me, that I have to dive into the world of machine learning. After two months, I got myself back in the business and started exploring the ML world. This motivation made me search for a way to study as I don't have any senior or friend around me who is keen towards Machine Learning World and also I belong to tier-3 college in India(joke part 😅).&lt;/p&gt;

&lt;p&gt;I got some useful resources to help out other students like me, it's totally up to you guys to choose these resources or not, these resources are helping in my journey so I am sharing them with you.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Websites:
* Analytics Vidhya (complete roadmap for begineers).
* GeekforGeeks (Machine Learning Section).
* Google Developers site(tensorflow).
* freecodecamp(tensorflow).
* Course by Stanford University.
* Courses on Udemy and Coursera.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Blogs:
* Blogs on Analytics Vidhya.
* Blogs on Medium and DEV platforms.
* Blogs on towardsdatascience.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Join Twitter and follow #machinelearning. 
Follow some good accounts...
Like 1.Santiago
     2.Pratham Masoom, etc.

Join Machine Learning Communities on LinkedIn.
Like 1.Machine Learning India, etc.

Read research papers on Machine Learning field to keep motivate.

Join SlideShare.net
And read some useful slides on the platform regarding ML.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;YouTube Channels:
* Krish Naik(I am following his path)
* CodeBasics
* sentdex
* Nptel Courses
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;Tip: Try to read documentations on various topics.&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Excuse me if I have left any useful resource. Hope it will help you also.&lt;/p&gt;

&lt;p&gt;Also I am not master in Machine Learning , I am just sharing the resources which are being helpful to me in studying machine learning.&lt;/p&gt;

&lt;p&gt;Thank You!!... &lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>opensource</category>
      <category>beginners</category>
      <category>datascience</category>
    </item>
    <item>
      <title>Getting Started with Node.js</title>
      <dc:creator>Rutik Bhoyar</dc:creator>
      <pubDate>Sun, 07 Mar 2021 16:49:23 +0000</pubDate>
      <link>https://dev.to/rutikab12/getting-started-with-node-js-5h2n</link>
      <guid>https://dev.to/rutikab12/getting-started-with-node-js-5h2n</guid>
      <description>&lt;p&gt;I hope you guys enjoyed my last post on transparent simple html form. In this post we will talk about one of the most popular backend server environment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is Node.js?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Node.js is an open-source, cross-platform, JavaScript runtime environment that executes JavaScript code outside of a web browser.&lt;/p&gt;

&lt;p&gt;Node.js runs single-threaded, non-blocking, asynchronously programming, which is very memory efficient.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use Cases of Nodejs:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Real-Time Apps&lt;/li&gt;
&lt;li&gt;Data-Intensive Apps&lt;/li&gt;
&lt;li&gt;To build Scalable Backend&lt;/li&gt;
&lt;li&gt;Non-Blocking Asynchronous Thread&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Getting Started&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Now after downloading Nodejs on the computer let's try to create hello world program. Remember, Node.js files must be initiated in the "Command Line Interface" program of your computer. For Windows users, press the start button and look for "Command Prompt", or simply write "cmd" in the search field.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var http = require('http');

http.createServer(function (req, res) {
  res.writeHead(200, {'Content-Type': 'text/html'});
  res.end('Hello World!');
}).listen(8080);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can choose any port available on computer to listen. &lt;br&gt;
Now start your command line interface, write node myfirst.js and hit enter:&lt;br&gt;
&lt;code&gt;C:\Users\User Name&amp;gt;node myfirst.js&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Now let's try to understand the terms in our first program.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Modules(require):&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A set of functions you want to include in your application.&lt;br&gt;
Node.js has a set of built-in modules which you can use without any further installation.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;To include a module, use the require() function with the name of the module.&lt;br&gt;
&lt;code&gt;var http = require('http');&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The first argument of the &lt;code&gt;res.writeHead()&lt;/code&gt; method is the status code, 200 means that all is OK, the second argument is an object containing the response headers.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now your application has access to the HTTP module, and is able to create a server.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;http.createServer(function (req, res) {
  res.writeHead(200, {'Content-Type': 'text/html'});
  res.end('Hello World!');
}).listen(8080);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;So this was the introduction to Nodejs using simple Hello World program.&lt;/p&gt;

&lt;p&gt;Most of the contents pf this post are from w3schools.com so for any elaborated information you can &lt;a href="https://www.w3schools.com/nodejs/nodejs_intro.asp"&gt;https://www.w3schools.com/nodejs/nodejs_intro.asp&lt;/a&gt; refer this page.&lt;br&gt;
I hope it will help you to quickly get started learning Node.js.&lt;/p&gt;

&lt;p&gt;Happy Coding!!...&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>beginners</category>
      <category>html</category>
      <category>codenewbie</category>
    </item>
    <item>
      <title>HTML Transparent Form</title>
      <dc:creator>Rutik Bhoyar</dc:creator>
      <pubDate>Sun, 28 Feb 2021 16:02:47 +0000</pubDate>
      <link>https://dev.to/rutikab12/html-transparent-form-3h32</link>
      <guid>https://dev.to/rutikab12/html-transparent-form-3h32</guid>
      <description>&lt;p&gt;Every time I used to see any transparent form somewhere in websites , always desired to built one by own. I know there can many budding developers are out there like me to help them here is one simple project for them. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tags Used&lt;/strong&gt;&lt;br&gt;
1.The &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt; tag defines a division or a section in an HTML document.&lt;/p&gt;

&lt;p&gt;2.The &lt;code&gt;&amp;lt;form&amp;gt;&lt;/code&gt; tag is used to create an HTML form for user input.&lt;/p&gt;

&lt;p&gt;3.The &lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt; tag is used to embed a client-side script (JavaScript).&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;HTML CODE&lt;br&gt;
&lt;/p&gt;


&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
    &amp;lt;title&amp;gt;Form Html&amp;lt;/title&amp;gt;
    &amp;lt;meta charset="utf-8"&amp;gt;
    &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt;
    &amp;lt;script src="https://kit.fontawesome.com/f7a6f8989f.js" crossorigin="anonymous"&amp;gt;&amp;lt;/script&amp;gt;
    &amp;lt;link rel="stylesheet" type="text/css" href="style.css"&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;form id="myForm" action="#"&amp;gt;
&amp;lt;div class="container"&amp;gt;
    &amp;lt;h1&amp;gt;Login&amp;lt;/h1&amp;gt;
    &amp;lt;div class="box"&amp;gt;
        &amp;lt;i class="fa fa-user"&amp;gt;&amp;lt;/i&amp;gt;
        &amp;lt;input type="text" name="email" id="email" placeholder="Enter Your Name"&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;div class="box"&amp;gt;
        &amp;lt;i class="fa fa-unlock"&amp;gt;&amp;lt;/i&amp;gt;
        &amp;lt;input type="password" name="password" id="password" placeholder="Enter Your Password"&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;button class="btn" onclick="myFunction()"&amp;gt;Submit  &amp;lt;/button&amp;gt;

&amp;lt;/div&amp;gt;
&amp;lt;/form&amp;gt;
&amp;lt;script&amp;gt;
function myFunction() {
  document.getElementById("myForm").submit();
}
&amp;lt;/script&amp;gt;

&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now we will do some CSS stuff as follows. You can choose image of your choice. I will not explain CSS attributes for that you can refer (&lt;a href="https://w3schools.com"&gt;https://w3schools.com&lt;/a&gt;).&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;*{
    margin: 0;
    padding: 0;
}
@media only screen and (max-width: 1800px){
body{
    background:url('pexels.jpg') no-repeat center center fixed;
    background-size: cover;

}
}

.container{
    /*border:4px solid black;*/
    color: black;
    position: absolute;
    top: 28%;
    left: 20%;

}

.container h1{
    width: 50%;
    display: inline-block;
    font-size: 35px;
    border-bottom: 5px solid purple;
    padding: 12px;
    margin-bottom: 25px;
    text-align: center;
}

.box{
    width: 100%;
    /*border: 2px solid grey;*/
    border-bottom: 2px solid purple;
    margin: 12px 0;
}

.box input{
    background: none;
    width: 90%;
    padding: 10px 0;
    margin:11px 0; 
    font-size: 20px;
    border:none;
    outline:none;
    color:black;      
}

.btn{
    font-size: 15px;
    font-weight: bold;
    color: grey;
    background: none;
    cursor: pointer;
    outline:none;
    padding: 10px 21px;
    margin: 12px 0;
    border-radius: 10px;
}

box i{
    /*padding: 0 12px;*/
    width: 25px;
    float: left;
    text-align: center;
}

.btn:hover{
    opacity: 0.5;
    background: white;
    color: skyblue;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And now we are ready with our transparent html form. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--z48wOnkR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5gp8c2xr6hps6kffyajx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--z48wOnkR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5gp8c2xr6hps6kffyajx.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hope it will help you.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>html</category>
      <category>beginners</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Password Creator GUI using PyCharm</title>
      <dc:creator>Rutik Bhoyar</dc:creator>
      <pubDate>Sun, 21 Feb 2021 11:45:18 +0000</pubDate>
      <link>https://dev.to/rutikab12/password-creator-gui-using-pycharm-116k</link>
      <guid>https://dev.to/rutikab12/password-creator-gui-using-pycharm-116k</guid>
      <description>&lt;p&gt;It is a tool that generates passwords based on the given guidelines that you set to create an unpredictable strong password for your accounts.&lt;/p&gt;

&lt;p&gt;The Password generator tool creates a random and customized password for users that helps them to create a strong password which provides greater security.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prerequisites&lt;/strong&gt;&lt;br&gt;
To build this project we will use the basic concept of python and libraries – Tkinter, pyperclip, random, string.&lt;/p&gt;

&lt;p&gt;1.Tkinter is a standard GUI library and is one of the easiest ways &lt;br&gt;
  to build a GUI application.&lt;br&gt;
2.pyperclip module allows us to copy and paste text to and from &lt;br&gt;
  the clipboard to your computer&lt;br&gt;
3.The random module can generate random numbers&lt;br&gt;
4.string module contains a number of functions to process the &lt;br&gt;
  standard python string.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pip install tkinter
pip install pyperclip
pip install random
pip install strings
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Steps&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Import Libraries&lt;br&gt;
The first step is to import libraries&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Initialize Window&lt;br&gt;
&lt;em&gt;Tk()&lt;/em&gt; initialized tkinter which means window created&lt;br&gt;
&lt;em&gt;geometry()&lt;/em&gt; set the width and height of the window&lt;br&gt;
&lt;em&gt;resizable(0,0)&lt;/em&gt; set the fixed size of the window&lt;br&gt;
&lt;em&gt;title()&lt;/em&gt; set the title of the window&lt;br&gt;
&lt;em&gt;Label()&lt;/em&gt; widget use to display one or more than one line of &lt;br&gt;
text that users can’t able to modify.&lt;br&gt;
&lt;em&gt;root&lt;/em&gt; is the name which we refer to our window&lt;br&gt;
text which we display on the label&lt;br&gt;
&lt;em&gt;font&lt;/em&gt; in which the text is written&lt;br&gt;
&lt;em&gt;pack&lt;/em&gt; organized widget in block&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select Password Length&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Function to Generate Password&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Function to Copy Password&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;from tkinter import *
import random, string
import pyperclip
rutik_root = Tk()
#width x height
rutik_root.geometry("400x400")
#width, height
rutik_root.minsize(200,100)
rutik_root.maxsize(1200,800)
rutik_root.title("Rutik - Password Generator")

Label(rutik_root,text="Password Generator", font="arial 15 bold").pack()
Label(rutik_root,text="Rutik", font="arial 15 bold").pack(side=BOTTOM)

pass_label=Label(rutik_root,text="Password Length", font="arial 15 bold").pack()
pass_len=IntVar()
length=Spinbox(rutik_root,from_ =8, to_ = 32, textvariable = pass_len, width = 15).pack()

pass_str = StringVar()
def Generator():
    password = ''

    for x in range(0,4):
        Password = random.choice(string.ascii_uppercase)+random.choice(string.ascii_lowercase)+random.choice(string.digits)+random.choice(string.punctuation)
    for y in range (pass_len.get()- 4):
        password = password+random.choice(string.ascii_uppercase + string.ascii_lowercase + string.digits + string.punctuation)
    pass_str.set(password)

Button(rutik_root,text =" Generate Password", command = Generator).pack(pady=5)
Entry(rutik_root, textvariable = pass_str).pack()

def Copy_password():
    pyperclip.copy(pass_str.get())
Button(rutik_root,text =" Copy to Clipboard", command = Copy_password).pack(pady=5)
rutik_root.mainloop()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And finally you will be getting an GUI Window like below.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8hhfP3bb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/igfe4nlhnkqa1bl628kl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8hhfP3bb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/igfe4nlhnkqa1bl628kl.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>python</category>
      <category>beginners</category>
      <category>machinelearning</category>
    </item>
  </channel>
</rss>
