<?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>Forem: Himanshu Vishwas</title>
    <description>The latest articles on Forem by Himanshu Vishwas (@marsman).</description>
    <link>https://forem.com/marsman</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%2F745141%2F5d493697-286e-4db4-996e-14d4a83a51a5.jpeg</url>
      <title>Forem: Himanshu Vishwas</title>
      <link>https://forem.com/marsman</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/marsman"/>
    <language>en</language>
    <item>
      <title>Verbose in Machine Learning</title>
      <dc:creator>Himanshu Vishwas</dc:creator>
      <pubDate>Wed, 16 Oct 2024 10:08:51 +0000</pubDate>
      <link>https://forem.com/marsman/verbose-in-machine-learning-243k</link>
      <guid>https://forem.com/marsman/verbose-in-machine-learning-243k</guid>
      <description>&lt;h2&gt;
  
  
  Verbose
&lt;/h2&gt;

&lt;p&gt;A flag in programming that controls the level of output generated during the execution of a program. It determines how much information is displayed to the user, ranging from no output (silent mode) to detailed logs that include progress updates, metrics, and additional diagnostic information.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Usage&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;Verbose=0&lt;/code&gt;: No output is generated.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;Verbose=1&lt;/code&gt;: Basic output is shown, typically including progress indicators.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;Verbose=2&lt;/code&gt;: Detailed output is provided, including comprehensive metrics and additional logging.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Images
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;Verbose:0&lt;/code&gt; &lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2r40m42a1gp4m0anomms.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2r40m42a1gp4m0anomms.png" alt="Verbose 0" width="480" height="73"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Verbose:1&lt;/code&gt; &lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuizbfoh43u9vnif3kz8s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuizbfoh43u9vnif3kz8s.png" alt="Verbose 1" width="629" height="176"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Verbose:2&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9dqmwna9m3fkhwb6w59t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9dqmwna9m3fkhwb6w59t.png" alt="Verbose 2" width="483" height="176"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Table: Default Verbosity Levels in Machine Learning Frameworks&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;strong&gt;Framework&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Default Verbosity&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Keras/TensorFlow&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;verbose=1&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Basic output with a progress bar.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Scikit-Learn&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Typically &lt;code&gt;verbose=0&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;No verbosity set by default; varies by estimator. Most estimators default to &lt;code&gt;0&lt;/code&gt;.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;XGBoost&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;verbosity=1&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Displays warnings and progress information.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;LightGBM&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;verbosity=1&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Provides progress information during training.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;PyTorch&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;No direct verbose flag&lt;/td&gt;
&lt;td&gt;Logging can be controlled using different logging libraries.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;When to use:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Use &lt;code&gt;verbose=0&lt;/code&gt; for silent operations, batch processing, or production runs.&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;verbose=1&lt;/code&gt; for general training when you want basic updates.&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;verbose=2&lt;/code&gt; when you need to closely monitor every detail or are debugging the model.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>python</category>
      <category>machinelearning</category>
      <category>tensorflow</category>
      <category>ai</category>
    </item>
    <item>
      <title>Will AI eat jobs for the entry-level…🤔🤔</title>
      <dc:creator>Himanshu Vishwas</dc:creator>
      <pubDate>Thu, 23 Mar 2023 02:03:37 +0000</pubDate>
      <link>https://forem.com/marsman/will-ai-eat-jobs-for-the-entry-level-5djm</link>
      <guid>https://forem.com/marsman/will-ai-eat-jobs-for-the-entry-level-5djm</guid>
      <description>&lt;p&gt;AI has the potential to automate certain tasks and processes, which could lead to job displacement in some industries. However, it’s important to note that AI is not a one-size-fits-all solution and there are certain tasks and jobs that are not easily automated.&lt;/p&gt;

&lt;p&gt;Entry-level jobs may be more vulnerable to automation because they often involve routine and repetitive tasks that can be easily performed by AI. However, there are also many entry-level jobs that require human interaction and creativity, such as customer service, marketing, and design, which are less likely to be replaced by AI.&lt;/p&gt;

&lt;p&gt;It’s also important to remember that AI can create new job opportunities as well. As AI technology advances, new roles will emerge that require specialized skills in areas such as data science, machine learning, and AI development.&lt;/p&gt;

&lt;p&gt;Overall, it’s difficult to predict the exact impact that AI will have on entry-level jobs, but it’s likely that there will be both job displacement and job creation as a result of AI’s increasing use in the workplace.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Basic Linux Commands: Everyone should know in 2023</title>
      <dc:creator>Himanshu Vishwas</dc:creator>
      <pubDate>Sun, 29 Jan 2023 01:51:20 +0000</pubDate>
      <link>https://forem.com/marsman/basic-linux-commands-everyone-should-know-in-2023-74m</link>
      <guid>https://forem.com/marsman/basic-linux-commands-everyone-should-know-in-2023-74m</guid>
      <description>&lt;p&gt;&lt;code&gt;ls&lt;/code&gt;: Lists the files and directories in the current directory.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;cd&lt;/code&gt;: Changes the current working directory. For example, cd Documents will change the current directory to the Documents folder.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;mkdir&lt;/code&gt;: Creates a new directory. For example, &lt;code&gt;mkdir newfolder&lt;/code&gt; will create a new folder named "&lt;code&gt;newfolder&lt;/code&gt;".&lt;/p&gt;

&lt;p&gt;&lt;code&gt;touch&lt;/code&gt;: Creates a new file. For example, &lt;code&gt;touch newfile.txt&lt;/code&gt; will create a new file named "&lt;code&gt;newfile.txt&lt;/code&gt;".&lt;/p&gt;

&lt;p&gt;&lt;code&gt;cp&lt;/code&gt;: Copies a file or directory. For example, &lt;code&gt;cp file1.txt file2.txt&lt;/code&gt; will create a copy of &lt;code&gt;file1.txt&lt;/code&gt; and name it &lt;code&gt;file2.txt&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;mv&lt;/code&gt;: Moves a file or directory. For example, &lt;code&gt;mv file1.txt Documents/&lt;/code&gt; will move &lt;code&gt;file1.txt&lt;/code&gt; to the &lt;code&gt;Documents&lt;/code&gt; folder.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;rm&lt;/code&gt;: Deletes a file. For example, &lt;code&gt;rm file1.txt&lt;/code&gt; will delete the file named "&lt;code&gt;file1.txt&lt;/code&gt;".&lt;/p&gt;

&lt;p&gt;&lt;code&gt;rmdir&lt;/code&gt;: Deletes an empty directory. For example, &lt;code&gt;rmdir oldfolder&lt;/code&gt; will delete the empty folder named "&lt;code&gt;oldfolder&lt;/code&gt;".&lt;/p&gt;

&lt;p&gt;pwd: Prints the current working directory.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;man&lt;/code&gt;: Opens the manual page for a command. For example, &lt;code&gt;man ls&lt;/code&gt; will show the manual page for the &lt;code&gt;ls&lt;/code&gt; command.&lt;/p&gt;

</description>
      <category>gratitude</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Host React website with GitHub pages in ten simple steps.</title>
      <dc:creator>Himanshu Vishwas</dc:creator>
      <pubDate>Fri, 30 Dec 2022 09:19:00 +0000</pubDate>
      <link>https://forem.com/marsman/host-react-website-with-github-pages-in-ten-simple-steps-467h</link>
      <guid>https://forem.com/marsman/host-react-website-with-github-pages-in-ten-simple-steps-467h</guid>
      <description>&lt;p&gt;Using Visual Studio Code.....&lt;/p&gt;

&lt;p&gt;Step 1. First, add your repository using source control (Ctrl+Shift+G) on GitHub.&lt;br&gt;
Step 2. Open terminal&lt;br&gt;
Step 3.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git install gh-pages
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Step 4.&lt;br&gt;
In package.json add following in first block before "name" :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"homepage": "https://&amp;lt;githubId&amp;gt;.github.io/&amp;lt;repoName&amp;gt;",
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Step 5. In package.json, inside "scripts" block, add the following after "start":&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"predeploy": "npm run build",
"deploy": "gh-pages -d build",

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

&lt;/div&gt;



&lt;p&gt;Step 6. Save the file and open terminal&lt;/p&gt;

&lt;p&gt;Step 7.&lt;code&gt;git add .&lt;/code&gt;&lt;br&gt;
Step 8. &lt;code&gt;git commit -m "deploying webpage"&lt;/code&gt;&lt;br&gt;
Step 9. &lt;code&gt;git push&lt;/code&gt;&lt;br&gt;
Step 10. &lt;code&gt;npm run deploy&lt;/code&gt;&lt;/p&gt;

</description>
      <category>react</category>
      <category>github</category>
      <category>webdev</category>
      <category>host</category>
    </item>
    <item>
      <title>Hello, World! In different world...</title>
      <dc:creator>Himanshu Vishwas</dc:creator>
      <pubDate>Wed, 19 Oct 2022 05:21:26 +0000</pubDate>
      <link>https://forem.com/marsman/hello-world-in-different-world-501c</link>
      <guid>https://forem.com/marsman/hello-world-in-different-world-501c</guid>
      <description>&lt;p&gt;&lt;strong&gt;Python&lt;/strong&gt;&lt;br&gt;
print("Hello, World")&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;C&lt;/strong&gt;&lt;br&gt;
#include&lt;br&gt;
int main()&lt;br&gt;
{&lt;br&gt;
printf("Hello, World!");&lt;br&gt;
return 0;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;C++&lt;/strong&gt;&lt;br&gt;
#include &lt;br&gt;
using namespace std;&lt;br&gt;
int main() {&lt;br&gt;
   cout &amp;lt;&amp;lt; "Hello, World!" &amp;lt;&amp;lt; endl;&lt;br&gt;
   return 0;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Java&lt;/strong&gt;&lt;br&gt;
class HelloWorld {&lt;br&gt;
    public static void main(String[] args) {&lt;br&gt;
        System.out.println("Hello, World!");&lt;br&gt;
    }&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;javascript&lt;/strong&gt;&lt;br&gt;
console.log("Hello, World!");&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ruby&lt;/strong&gt;&lt;br&gt;
puts "Hello, World!";&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Go&lt;/strong&gt;&lt;br&gt;
package main&lt;br&gt;
import "fmt"&lt;/p&gt;

&lt;p&gt;func main() {&lt;br&gt;
    fmt.Println("Hello, World!")&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;C#&lt;/strong&gt;&lt;br&gt;
using System;&lt;/p&gt;

&lt;p&gt;public class HelloWorld&lt;br&gt;
{&lt;br&gt;
    public static void Main(string[] args)&lt;br&gt;
    {&lt;br&gt;
        Console.WriteLine ("Hello, World!");&lt;br&gt;
    }&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;R&lt;/strong&gt;&lt;br&gt;
"Hello World!"&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Swift&lt;/strong&gt;&lt;br&gt;
print("Hello World")&lt;/p&gt;

&lt;p&gt;will add more in the collection.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
