<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by NOCODING AI on Medium]]></title>
        <description><![CDATA[Stories by NOCODING AI on Medium]]></description>
        <link>https://medium.com/@nocodingai?source=rss-b15b67a554de------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*HH-Q7jBBLZs43SjWRWCFVw.png</url>
            <title>Stories by NOCODING AI on Medium</title>
            <link>https://medium.com/@nocodingai?source=rss-b15b67a554de------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 12:32:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nocodingai/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[(이 글은 계속 작성중입니다) 2024. 07. 10. Seminar Material]]></title>
            <link>https://medium.com/@nocodingai/%EC%9D%B4-%EA%B8%80%EC%9D%80-%EA%B3%84%EC%86%8D-%EC%9E%91%EC%84%B1%EC%A4%91%EC%9E%85%EB%8B%88%EB%8B%A4-2024-07-10-seminar-material-d110a6a7fd71?source=rss-b15b67a554de------2</link>
            <guid isPermaLink="false">https://medium.com/p/d110a6a7fd71</guid>
            <dc:creator><![CDATA[NOCODING AI]]></dc:creator>
            <pubDate>Tue, 02 Jul 2024 02:57:32 GMT</pubDate>
            <atom:updated>2024-07-02T02:57:32.994Z</atom:updated>
            <content:encoded><![CDATA[<p>(주)에이아이노미스는 24년도 7월 10일 수요일 저녁 7시~9시까지 무료 세미나를 개죄합니다.</p><p>이 무료 세미나에서는 아래의 제목으로 진행될 예정입니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*hTMqBe9Tv4fT1WZRVAfqvA.png" /></figure><p>이번 무료 세미나에 참가를 희망하시는 분들은 이벤트어스나 온오프믹스닷컴에서 참가를 신청할수 있습니다.</p><p>참가 링크를 0702화요일 오후에 이 게시글에 공지하겠습니다.</p><p>주요 세미나 내용은 아래의 목차와 같습니다. :-)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XNXQGy7If4wp6Wa5sHEmkw.png" /></figure><p>즐거운 무료 해피 세미나를 기대해주세요!</p><p>:-)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d110a6a7fd71" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MobileNet]]></title>
            <link>https://medium.com/@nocodingai/mobilenet-fc34af9f58a5?source=rss-b15b67a554de------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc34af9f58a5</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[neural-networks]]></category>
            <dc:creator><![CDATA[NOCODING AI]]></dc:creator>
            <pubDate>Mon, 20 Feb 2023 04:53:27 GMT</pubDate>
            <atom:updated>2023-02-20T04:53:27.933Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong>Summary</strong></blockquote><blockquote><strong>MobileNets</strong> are a type of artificial intelligence model that are designed to enable <strong>efficient</strong> and<strong> accurate image classification and object detection on mobile and embedded devices</strong>. These models are specifically<strong> optimized</strong> to run on<strong> low-power devices</strong> with <strong>limited computational resources</strong>, making them ideal for <strong>mobile</strong> and <strong>edge applications</strong>. MobileNets have become <strong>increasingly popular in recent years</strong>, particularly in the development of<strong> mobile and edge applications </strong>that require <strong>image processing</strong> and<strong> computer vision capabilities</strong>. They have been used in a wide range of industries, from<strong> healthcare</strong> and<strong> finance</strong> to<strong> retail</strong> and <strong>entertainment</strong>, and have even been incorporated into <strong>popular mobile devices and applications</strong>.</blockquote><h4><strong>Description</strong></h4><p>MobileNets are a family of <strong>efficient convolutional neural network architectures</strong> that were created by<strong> Google</strong> researchers in <strong>2017</strong>. The goal of MobileNets was to design neural networks that are<strong> optimized for deployment on mobile</strong> and<strong> embedded devices</strong> that have <strong>limited computational resources</strong>. The researchers achieved this goal by using <strong>two key techniques</strong>: <strong>depthwise separable convolutions </strong>and <strong>linear bottlenecks</strong>. The original MobileNet architecture had<strong> 28 layers</strong> and was trained on the ImageNet dataset for <strong>image classification</strong>. It had an input size of<strong> 224x224 pixels</strong> and was designed to achieve <strong>high accuracy</strong> while using<strong> fewer parameters</strong> and <strong>less computation</strong> than traditional convolutional neural networks. Since the original MobileNet architecture was introduced, several variants have been proposed, including <strong>MobileNetV2</strong>, <strong>MobileNetV3-Small</strong> and<strong> MobileNetV3-Large</strong>. These variants build upon the original design and further improve the <strong>efficiency </strong>and<strong> accuracy of the network</strong>.</p><h4><strong>Advantages</strong></h4><ul><li><strong>Efficient</strong>: MobileNets are designed to be efficient, which means they can run on mobile and embedded devices with limited computational resources.</li><li><strong>Fast</strong>: Due to their efficiency, MobileNets are typically much faster than traditional convolutional neural networks, this makes them an excellent choice for applications that require real-time processing and have limited power and memory.</li><li><strong>Small Size</strong>: MobileNets have a small memory footprint, which makes them easy to deploy and use on mobile and embedded devices. This is important for applications that require fast and efficient processing on small devices</li></ul><h4><strong>Disadvantages</strong></h4><ul><li><strong>Limited Flexibility</strong>: MobileNets are optimised for specific tasks, such as image classification and object detection. This means that they may not be as flexible as other networks and may not perform as well on tasks outside their designed scope.</li><li><strong>Accuracy</strong>: Although MobileNets are fast, they typically sacrifice some accuracy in order to achieve their speed and efficiency. This trade-off may not be acceptable for applications that require high accuracy at the expense of speed.</li><li><strong>Not Suitable for Large Datasets</strong>: MobileNets are typically trained on smaller datasets, which means they may not perform as well on larger and more complex datasets. This limits their use in certain applications.</li><li><strong>Limited Complexity</strong>: MobileNets are designed to be efficient, which means they have limited complexity compared to larger networks. This may limit their ability to model complex relationships in data, which may limit their performance in certain applications.</li></ul><h4><strong>Use-Cases</strong></h4><ul><li><strong>Object Detection</strong>: MobileNets are commonly used for object detection in real-time applications, such as self-driving cars, surveillance systems, and robotics. MobileNets can detect objects in images and video with high accuracy, and their efficiency makes them well-suited for real-time processing.</li><li><strong>Image Classification</strong>: MobileNets are widely used for image classification applications, such as image recognition and sorting. They can classify images with high accuracy and their efficiency makes them well-suited for mobile and embedded devices.</li><li><strong>Face Recognition</strong>: MobileNets can be used for face recognition in mobile and embedded applications, such as security systems and mobile apps.</li><li><strong>Style Transfer</strong>: MobileNets can be used for style transfer, which involves applying the style of one image to another image. This is useful for applications such as creating artistic images and videos.</li><li><strong>Video Analytics</strong>: MobileNets can be used for video analytics, which involves analysing video data in real-time. This is useful for applications such as surveillance systems, traffic monitoring, and activity recognition.</li></ul><h4>Architecture</h4><p>MobileNets are a type of neural network architecture designed to be <strong>efficient </strong>and <strong>fast</strong> on mobile and embedded devices with <strong>limited computational resources</strong>. They achieve this by using<strong> depth-wise separable convolutions</strong>, which significantly <strong>reduce the number of parameters</strong> and <strong>operations required to process an image</strong>. The MobileNet architecture consists of <strong>two main types of layers</strong>:<strong> depth-wise</strong> convolution layers and<strong> point-wise</strong> convolution layers.</p><ul><li>The depth-wise convolution is a layer in which the input feature maps are convolved with a<strong> set of filters</strong>, where each filter <strong>only covers a single input channel</strong>. This means that each input channel is convolved separately, and the <strong>output feature maps have the same number of channels as the input feature maps</strong>.</li><li>The point-wise convolution is a <strong>set of 1x1 convolutions</strong> that are applied to the output of the depth-wise convolution. This involves convolving the output feature maps with a set of 1x1 filters, where each filter covers <strong>all input channels</strong>. This operation increases the number of channels in the output feature maps, while<strong> reducing their spatial dimensions</strong>.</li></ul><p>By breaking down the standard convolution into these two separate operations, depth-wise separable convolution <strong>reduces the number of parameters</strong> and<strong> computations required</strong>, while <strong>maintaining or even improving accuracy</strong>. This makes it particularly useful for mobile and embedded devices with limited computational resources.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/310/1*kTWLImzi_NB3IJ3hfEEkOQ.png" /><figcaption>Depth-wise Separable Convolution, source: <a href="https://coding-yoon.tistory.com/122">https://coding-yoon.tistory.com/122</a></figcaption></figure><h4>Which MobileNet ?</h4><p>The choice of which MobileNet to use depends on the specific requirements of your application, such as the trade-off between model size, speed, and accuracy:</p><ul><li><strong>MobileNet</strong>: This is the original MobileNet architecture and is the smallest and fastest of the MobileNet variants. It has lower accuracy compared to the other variants, but it is suitable for tasks that require real-time processing and low memory footprint.</li><li><strong>MobileNetV2</strong>: This is the successor to the original MobileNet architecture and is designed to improve the accuracy while maintaining the efficiency. It achieves this by introducing several new techniques, such as inverted residual blocks, linear bottlenecks, and shortcut connections. In general, MobileNetV2 is a more advanced and capable architecture compared to the original MobileNet, but it may be slightly slower and larger due to the additional computational techniques used. If your application requires higher accuracy, you may want to consider MobileNetV2. However, if speed and efficiency are the primary concerns, then the original MobileNet may be a better choice.</li><li><strong>MobileNetV3-Small</strong>: This is a smaller and more efficient variant of MobileNetV3 that is optimised for speed and low latency. It achieves this by using a reduced number of channels and layers, and a simpler network topology. MobileNet is a simpler architecture compared to MobileNetV3-Small, but it may be faster and more memory-efficient due to its smaller size and simpler network topology. If your application requires a balance between speed and accuracy, and the model size is a concern, then MobileNet may be a better choice. However, if speed and low latency are the primary concerns, and you are willing to accept a slightly larger model, then MobileNetV3-Small may be a better choice.</li><li><strong>MobileNetV3-Large</strong>: This is a larger and more powerful variant of MobileNetV3 that is optimised for accuracy. It includes several new techniques, such as hard swish activation, squeeze-and-excitation blocks, and path aggregation network. MobileNetV3-Large is a good choice for applications that prioritise accuracy over speed and model size, such as fine-grained classification or semantic segmentation.</li></ul><h4>Conclusion</h4><p>Ultimately, the best MobileNet variant to choose depends on your specific requirements and constraints, such as the target device, input image size, computational resources, and accuracy requirements.</p><h4>Reference</h4><p><strong>Research Paper</strong> : <br>- <a href="https://arxiv.org/abs/1704.04861">https://arxiv.org/abs/1704.04861</a><br>- <a href="https://arxiv.org/abs/1801.04381">https://arxiv.org/abs/1801.0438</a>1<br>- <a href="https://arxiv.org/abs/1905.02244">https://arxiv.org/abs/1905.02244</a><br><strong>Inverted Residual Block</strong> : <a href="https://towardsdatascience.com/mobilenetv2-inverted-residuals-and-linear-bottlenecks-8a4362f4ffd5">https://towardsdatascience.com/mobilenetv2-inverted-residuals-and-linear-bottlenecks-8a4362f4ffd5</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc34af9f58a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[InceptionV3]]></title>
            <link>https://medium.com/@nocodingai/inceptionv3-10e6f48e4553?source=rss-b15b67a554de------2</link>
            <guid isPermaLink="false">https://medium.com/p/10e6f48e4553</guid>
            <category><![CDATA[neural-network-algorithm]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[NOCODING AI]]></dc:creator>
            <pubDate>Fri, 17 Feb 2023 07:26:56 GMT</pubDate>
            <atom:updated>2023-02-20T01:04:12.380Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong>Summary</strong></blockquote><blockquote>InceptionV3 is a type of<strong> artificial intelligence</strong> model that was designed to<strong> classify and identify objects within images</strong>. It uses a<strong> complex neural network</strong> that has been trained on<strong> millions of images</strong> to recognise <strong>different features</strong> and <strong>patterns</strong> in order to <strong>accurately identify</strong> the objects in the image. The model is commonly used in applications such as<strong> image recognition </strong>and <strong>object detection</strong>. It is one of the most advanced AI models available today and is used in a wide range of industries, from <strong>healthcare</strong> and <strong>finance</strong> to <strong>retail</strong> and <strong>entertainment</strong>.</blockquote><h4>Description</h4><p>InceptionV3 is a<strong> convolutional neural network architectures</strong> used in <strong>computer vision tasks </strong>and developed by a team of researchers at <strong>Google</strong> in 2015. InceptionV3 is part of the<strong> Inception family </strong>and was designed to addressed some of the limitations of the earlier Inception model. InceptionV3 uses a <strong>more complex architecture</strong>, which allows for <strong>better accuracy</strong> in <strong>image classification</strong> tasks. This is achieved by using a technique called “<strong>Factorised Convolution</strong>”, which <strong>reduces the computational cost</strong> and <strong>improves the model’s efficiency</strong>. The <strong>original input size image</strong> for InceptionV3 is <strong>299 x 299 pixels</strong>. InceptionV3 has been designed to process images at this specific size, and using images of different sizes may result in<strong> lower accuracy</strong> and<strong> performance</strong>. Using a different input size can be<strong> adjusted </strong>by changing the architecture of the model. However, this would require <strong>retraining</strong> the model from scratch with new data and may result in different<strong> accuracy</strong> and <strong>performance</strong> results which is why it is usually<strong> recommended to use the input size</strong> that InceptionV3 was designed for to achieve the<strong> best</strong> results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0NLJFYn6idedOthpq0FRqA.png" /><figcaption>Object Detection, source: <a href="https://medium.com/codable/sahi-a-vision-library-for-performing-sliced-inference-on-large-images-small-objects-c8b086af3b80">https://medium.com/codable/sahi-a-vision-library-for-performing-sliced-inference-on-large-images-small-objects-c8b086af3b80</a></figcaption></figure><h4>Advantages</h4><ul><li><strong>High accuracy</strong>: InceptionV3 has achieved state-of-the-art performance on various image recognition tasks, including the ImageNet Large Scale Visual Recognition Challenge (ILSVRC) in 2015.</li><li><strong>Fast inference time</strong>: InceptionV3 has a faster inference time than many other deep learning architectures, which makes it well-suited for real-time applications.</li><li><strong>Ability to handle large datasets</strong>: InceptionV3 is designed to work with large datasets, which is important for training accurate deep learning models.</li></ul><h4><strong>Disadvantages</strong></h4><ul><li><strong>High computational cost</strong>: InceptionV3 requires a large amount of computational resources, including high-end GPUs for training and running.</li><li><strong>High memory footprint</strong>: InceptionV3 has a high memory footprint, which can make it challenging to use on resource-constrained devices.</li></ul><h4>Architecture</h4><p>The InceptionV3 architecture consists of<strong> multiple modules</strong> called <strong>“Inception modules”</strong>. These modules contain a <strong>combination of 1x1</strong>, <strong>3x3</strong>, and <strong>5x5 convolutional filters</strong>, as well as<strong> pooling layers</strong>. The architecture also uses a technique called <strong>“bottleneck”</strong> that <strong>reduces the number of input features</strong> before applying the <strong>larger convolutional filters</strong>, which helps to <strong>reduce the computational cost</strong>. The InceptionV3 architecture was designed to address some of the limitations of previous deep learning architectures, such as the <strong>VGGNet</strong> and <strong>GoogLeNet architectures</strong>. In particular, InceptionV3 is designed to<strong> improve the efficiency</strong> of the model while maintaining <strong>high accuracy</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a51TucCF-9AvWa5a1Qvy_g.png" /><figcaption>source: <a href="https://arxiv.org/pdf/1409.4842v1.pdf">https://arxiv.org/pdf/1409.4842v1.pdf</a></figcaption></figure><h4>Why InceptionV3</h4><ul><li><strong>Better performance</strong>: InceptionNet has been shown to perform well on a variety of image classification tasks, and may outperform other architectures in certain contexts. For example, in some studies, InceptionNet has been shown to outperform DenseNet on the ImageNet dataset.</li><li><strong>Lower computational requirements</strong>: InceptionNet is designed to be highly optimised and efficient, which means it requires fewer computational resources than some other architectures. This can be an advantage in contexts where computational resources are limited, or where you need to run the model on mobile or embedded devices.</li><li><strong>Multi-scale feature extraction</strong>: InceptionNet uses “inception” modules that allow the network to capture information at multiple spatial scales. This can be useful in tasks where objects or features may occur at different scales, such as object detection or segmentation.</li></ul><h4>Conclusion</h4><p>InceptionV3 is a powerful deep learning architecture that can improve the performance of convolutional neural networks by using Inception modules which include 1x1 convolutions, to reduce the number of parameters and improve efficiency while maintaining a high accuracy. Moreover, through this architecture, the network is able to capture information at multiple spatial scale which can be useful when the object or feature may appear at different scales in object detection or semantic segmentation. It might be a good compromise between low computational requirements and high accuracy.</p><h4>Reference</h4><p><strong>Evolution of Inception Nets</strong> : <a href="https://towardsdatascience.com/a-simple-guide-to-the-versions-of-the-inception-network-7fc52b863202">https://towardsdatascience.com/a-simple-guide-to-the-versions-of-the-inception-network-7fc52b863202 </a><br><strong>Inception Net Paper</strong> : <a href="https://arxiv.org/pdf/1409.4842.pdf">https://arxiv.org/pdf/1409.4842.pdf</a> <br><strong>New Inception Nets</strong> <a href="https://arxiv.org/pdf/1409.4842.pdf">:</a> <a href="https://arxiv.org/pdf/1512.00567v3.pdf">https://arxiv.org/pdf/1512.00567v3.pdf </a><br><strong>Keras</strong> : <a href="https://keras.io/api/applications/inceptionv3/">https://keras.io/api/applications/inceptionv3/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=10e6f48e4553" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DenseNet]]></title>
            <link>https://medium.com/nocoding-ai/densenet121-760df192f12d?source=rss-b15b67a554de------2</link>
            <guid isPermaLink="false">https://medium.com/p/760df192f12d</guid>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[dense-networks]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[NOCODING AI]]></dc:creator>
            <pubDate>Wed, 15 Feb 2023 07:37:30 GMT</pubDate>
            <atom:updated>2023-02-21T01:46:18.552Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong>Summary</strong></blockquote><blockquote>DenseNet is a powerful <strong>deep learning architecture</strong> that uses <strong>dense connectivity</strong> between layers to <strong>boost the performance</strong> of<strong> convolutional neural networks</strong>. This advanced architecture has demonstrated significant efficiency across a wide range of <strong>computer vision </strong>tasks, such as<strong> image classification</strong>, <strong>object detection</strong>, and<strong> segmentation</strong>. Its use-cases span multiple <strong>image-related applications</strong>, including <strong>face recognition</strong>, <strong>animal type identification</strong>, <strong>object detection</strong>, <strong>cancerous cell identification</strong>, among others.<br>While DenseNets offer numerous<strong> advantages</strong>, such as <strong>high accuracy</strong> and <strong>exceptional performance</strong>, they do come with certain<strong> drawbacks</strong>. One such drawback is that <strong>DenseNets are memory-intensive</strong> and require a<strong> high computational cost</strong>, which can be a<strong> challenge </strong>for some use-cases.</blockquote><h4>Description</h4><p>DenseNet, (<strong>Densely Connected Convolutional Networks</strong>) is a family of <strong>convolutional neural networks (CNNs)</strong> that uses a<strong> dense connectivity pattern between layers</strong>, allowing for <strong>better feature reuse</strong> and <strong>gradient flow throughout </strong>the network. This architecture is a well-established<strong> pre-trained</strong> convolutional neural network architecture widely deployed for<strong> image classification</strong> tasks and has achieved <strong>exceptional performances</strong> on a number of<strong> benchmark datasets</strong>, including <strong>ImageNet, CIFAR-10, and CIFAR-100</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zMGpgItijMKzxD2qVeciSQ.png" /><figcaption>Convolutional Neural Network, source: <a href="https://cezannec.github.io/Convolutional_Neural_Networks/">https://cezannec.github.io/Convolutional_Neural_Networks/</a></figcaption></figure><p>Two popular<strong> variants</strong> of the architecture are<strong> DenseNet121</strong> and <strong>DenseNet201</strong>, both <strong>highly effective for image classification</strong> tasks. One<strong> limitation</strong> of <strong>DenseNet121</strong> and<strong> DenseNet201</strong> is their original<strong> restriction</strong> to <strong>image sizes</strong> of up to<strong> 224 x 224 pixels</strong> with exactly <strong>3 channels input</strong>. However, <strong>certain variations </strong>and implementations of the architecture support <strong>larger input sizes</strong>. However, some other iterations may support even <strong>bigger input sizes </strong>but it is important to keep in mind that <strong>expanding the input size</strong> can <strong>increase </strong>the model’s<strong> memory requirements</strong> and<strong> computational costs</strong>. Therefore, <strong>determining the appropriate input size</strong> for DenseNets should depend on the <strong>specific demands of the application</strong> and<strong> the hardware resources available</strong>.</p><h4>Use-cases</h4><p>DenseNet has been particularly effective in tasks where a<strong> large amount of data</strong> is <strong>available</strong>, such as:</p><ul><li><strong>Image classification</strong>: DenseNet is commonly used for image classification tasks such as identifying objects in images, recognising faces, or identifying specific types of animals or plants.</li><li><strong>Object detection</strong>: DenseNet can also be used for object detection tasks, which involves identifying the location of objects in images and drawing bounding boxes around them.</li><li><strong>Medical image analysis</strong>: DenseNet121 has been used in medical image analysis tasks such as identifying cancerous cells in mammograms or detecting abnormalities in brain scans.</li><li><strong>Natural language processing</strong>: Although was originally developed for computer vision tasks, particularly for image classification, the underlying idea of DenseNet, which is to densely connect all layers in a network, could potentially be applied to natural language processing (NLP) as well. However, it should be noted that the standard DenseNet architecture may not be directly applicable to NLP tasks without some modifications, such as adapting it to process sequential data.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RC8qWM2WGm2hLlrfzDKCGg.png" /><figcaption>Types of Computer Vision, source: <a href="https://www.linkedin.com/pulse/object-segmentation-vs-detection-which-one-should-you-ritesh-kanjee?trk=pulse-article_more-articles_related-content-card">https://www.linkedin.com/pulse/object-segmentation-vs-detection-which-one-should-you-ritesh-kanjee?trk=pulse-article_more-articles_related-content-card</a></figcaption></figure><h4>Advantages</h4><ul><li><strong>Better performance with fewer parameters</strong>: DenseNet can achieve better accuracy in image classification tasks with fewer parameters.</li><li><strong>Robust to overfitting</strong>: DenseNet’s architecture helps prevent overfitting, which means that it is less likely to make incorrect predictions based on the training data.</li><li><strong>Strong feature propagation</strong>: DenseNet can learn complex representations of images, which can lead to more accurate predictions and better performance in tasks such as image classification.</li></ul><h4>Disadvantages</h4><ul><li><strong>Increased computational cost</strong>: DenseNet can be slower and more computationally expensive to train and run compared to other architectures.</li><li><strong>Memory-intensive</strong>: DenseNet may require more memory to store intermediate feature maps, which can limit the size of the images that can be processed and make it less practical for use on certain devices.</li><li><strong>Over-reliance on earlier layers</strong>: Dense connections may result in limited capacity to learn more complex features in later layers, which may impact its ability to learn certain types of features.</li></ul><h4>Architecture</h4><p>DenseNet architecture is based on a <strong>series of dense blocks</strong>, each containing <strong>multiple convolutional layers</strong>. Each dense block <strong>takes the output of the previous block as input,</strong> as well as the outputs of <strong>all the previous blocks</strong>. This creates a <strong>dense connectivity pattern</strong> between all the layers of the network, allowing information to <strong>flow more efficiently</strong> through the network.</p><p>The core idea behind the DenseNet architecture is that the feature maps produced by each layer can be <strong>concatenated</strong> to form the input to the next layer. This means that the output of each layer is the input of <strong>all the following layers</strong>. DenseNet also uses a <strong>transition layer</strong> between <strong>each dense block</strong> to <strong>reduce the spatial dimensionality</strong> and <strong>the number of feature maps</strong>. The transition layer consists of a <strong>batch normalisation layer</strong>, a <strong>1x1 convolutional layer</strong>, and a <strong>pooling layer</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/678/1*QWtz0S27vYsDzb5luRfKSA.png" /></figure><h4>DenseNet121 vs. DenseNet201:</h4><p><strong>DenseNet121</strong> and <strong>DenseNet201</strong> are two popular variants of the DenseNet architecture. While they share<strong> many similarities</strong>, there are also some <strong>key differences</strong> between them in terms of <strong>model size</strong>,<strong> computational complexity</strong>, and<strong> performance</strong>.</p><ul><li>The <strong>main difference</strong> between DenseNet121 and DenseNet201 lies in the number of layers they have. DenseNet121 has <strong>121 layers</strong>, while DenseNet201 has<strong> 201 layers</strong>. This means that DenseNet201 is a<strong> larger model</strong> and has a<strong> higher number of parameters</strong>. In fact, DenseNet201 has almost <strong>twice</strong> the <strong>number of parameters</strong> as DenseNet121, making it a more complex model.</li><li>DenseNet201 has <strong>more layers</strong>, which means that it requires <strong>more computation</strong> during both the <strong>training</strong> and<strong> inference phases</strong>. This means that it is <strong>more computationally expensive</strong> than DenseNet121.</li><li>DenseNet201 has been shown to <strong>outperform </strong>DenseNet121 on the <strong>ImageNet dataset</strong>, which is a widely used <strong>benchmark for image classification tasks</strong>.</li></ul><p>The difference in performance between DenseNet121 and DenseNet201 is <strong>not always significant</strong>, and <strong>depends </strong>on the specific<strong> application and dataset being used</strong>. In some cases, the <strong>smaller</strong> and <strong>faster</strong> DenseNet121 may be<strong> sufficient</strong>, while in others, the <strong>increased performance</strong> of DenseNet201 <strong>may be necessary.</strong></p><h4>Conclusion</h4><p>DenseNet is a powerful deep learning architecture that can improve the performance of convolutional neural networks by using dense connectivity between layers. It has achieved state-of-the-art performance on many computer vision tasks and is a valuable tool for researchers and practitioners in the field. However, it is important to be aware of the computational costs associated with using DenseNet and to carefully select the appropriate variant of the architecture for each task.</p><h4>Reference</h4><p><strong>Research Paper</strong> : <a href="https://arxiv.org/pdf/1608.06993.pdf">https://arxiv.org/pdf/1608.06993.pdf</a><br><strong>Keras documentation </strong>: <a href="https://keras.io/api/applications/densenet/">https://keras.io/api/applications/densenet/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=760df192f12d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nocoding-ai/densenet121-760df192f12d">DenseNet</a> was originally published in <a href="https://medium.com/nocoding-ai">NOCODING AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Predicting fuel efficiency of cars.]]></title>
            <link>https://medium.com/nocoding-ai/predicting-fuel-efficiency-of-cars-d12a47ecc955?source=rss-b15b67a554de------2</link>
            <guid isPermaLink="false">https://medium.com/p/d12a47ecc955</guid>
            <category><![CDATA[ai-model]]></category>
            <category><![CDATA[fuel-efficiency]]></category>
            <dc:creator><![CDATA[NOCODING AI]]></dc:creator>
            <pubDate>Mon, 13 Feb 2023 03:21:48 GMT</pubDate>
            <atom:updated>2023-02-13T07:03:39.031Z</atom:updated>
            <content:encoded><![CDATA[<h3>Experience nocoding AI</h3><p><a href="https://app.nocodingai.com/">https://app.nocodingai.com</a></p><p>In this blog, we will implement the tutorial provided by TensorFlow as nocoding AI.<br>You can always refer to the original <a href="https://www.tensorflow.org/js/tutorials/training/linear_regression">tutorial of TensorFlow.</a></p><h3>Introduction</h3><p>This tutorial trains a model that predicts the fuel consumption of a car. More precisely how many miles per gallon when “horsepower” of a car is given through small datasets and simple model structures.</p><p>To this end, we will go through the following steps:</p><ul><li>Load the original data required for training.</li><li>The loaded data is processed and normalized to fit the model through a data preprocessor.</li><li>Define the architecture of the model.</li><li>Monitor performance during model training.</li></ul><h3>With nocoding AI, you will learn:</h3><ul><li>How to preprocess data.</li><li>How to define an AI <strong>Model Architecture</strong>. (just a fancy way to say which function run when your model is executing).</li><li>How to infer using trained models.</li><li>A method of normalizing input data required for inference and inverse normalizing the inference result value.</li></ul><h3>What you need:</h3><ul><li>The latest version of <a href="https://www.google.com/chrome/">Chrome</a> or any other recent browser.</li><li>You should be familiar with the basics of nocoding AI.<br>If you need to know more, please refer to the Nocoding AI “Getting Started Guide”.</li></ul><h3>LET’S GET READY !</h3><h3>Connecting to nocoding AI.</h3><p>Go to <a href="https://app.nocodingai.com/trainmanager"><em>nocoding AI</em> </a>and log in. If you don’t have an account, you have to sign up as a member.</p><h3>Preparing for a new app.</h3><p>First of all, you need to create a new app.</p><p>Click <strong>App Builder</strong> in the left menu and them <strong>Create New</strong> in the project screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*glM4E1IiKTZ1yl3M.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sy8YnuyrgZ-_MEgR40_30Q.png" /></figure><p>At this page, fill the blank Title with “Fuel Prediction Project” and Descriptions with “project to predict fuel efficiency of automobiles”. Then, click on <strong>Create empty</strong>.</p><p>Success ! Continue.</p><h3>Download and modify CSV data</h3><p>Now, it is time to upload your data. Clean on <strong>Data Cleaner </strong>on the left side bar. Then, click on <strong>Create New</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4qdYZPlKvcgziVNC.png" /></figure><p>On the <strong>Create Dataset </strong>screen, fill the Dataset Name with (for instance) Fuel Efficiency dataset. A short explanation will do for the description blank. Be sure to select the Data type as CSV.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7DJNg9t7xq3ra2UHq1WRqg.png" /></figure><p>You can now see the block “Fuel Efficiency dataset”. Click on <strong>Use sample</strong>.</p><p>Success ! You have created your dataset.</p><p>Now open it. You will now access all the data and choose to display it in 10,30,50 or even 500 rows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IYL12NvnlXAPpQ8xQqil5g.png" /></figure><p>Tick the Remove Null and click on the button <strong>select</strong>. You will access the following screen:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8SucUfg5eI8xR2ramRzYrg.png" /></figure><p>As shown, tick <strong>Miles_per_Gallon </strong>and <strong>Horsepower.</strong></p><p>Do the same for Normalize.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yVxiQyIuqFGVRkPSU0ANpw.png" /></figure><p>Here you are:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xw1JDt8UWgoQa3RB_FN7Qg.png" /></figure><p>Click on the disquette icon to save your work (near the arrows in the upper bar).</p><p>Step 2. Check !</p><h3>Create a Model Architecture</h3><p>Now, let us build our Model Architecture. But what does Model Architecture mean by the way ? Model Architecture is just a fancy way to describe which algorithm your model will use to compute its answer. Simple as that. Click the Open button of the original data node.</p><p>Click on <strong>Model Designer</strong> on the left side bar and on <strong>Create New</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OdGrO565B3YBA61k.png" /></figure><p>Fill the Model Name and Description blanks and click on<strong> Create empty</strong> button inside the <strong>Empty Model </strong>block.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J1MzQtke80pR89PMgy9gYw.png" /></figure><p>Success ! Continue.</p><p>On the following screen, click on <strong>Datasets</strong> to access <strong>My Datasets</strong> and click on <strong>Fuel efficiency dataset</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y3C0aiuYIR6y8Ojq-Veajg.png" /></figure><p>a Fuel efficiency dataset block will appear.</p><p>Next the tab <strong>Dataset</strong>, click on <strong>Layers</strong>.</p><p>Click on <strong>Bookmarks </strong>until the arrow on the left faces upward. <strong>Image Classification column</strong> will appear and the elements below will change.</p><p>Drag and drop <strong>input</strong>, <strong>output </strong>as well as two blocks of <strong>Dense </strong>and link them with the nodes in the same order as the screenshot below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RyIR3X_lHg2--JVTWDGsQw.png" /></figure><h3>Preparing for training.</h3><p>Your model must be ‘compiled’ before training. Let’s take a look at the settings:</p><p>Now it’s time to enter values:<br>First, enter 1 in the <strong>Input </strong>Layer, in the shape bar.</p><p>For the <strong>Dense </strong>blocks, click on the <strong>Advanced </strong>buttons of each layer and enter 1 in the units bars. Also make sure to tick the box next to <strong>use Bias</strong>, as you can see in the red rectangles in the picture below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dzJEUAknLlwDvJZHACnReA.png" /></figure><p>Now click on the button <strong>Start Training </strong>in the upper right of the picture<strong> </strong>.</p><p>Fill the parameters as on the picture below:</p><ul><li>Input and Output Type should be setup as TEXT.</li><li>Optimizer must be ADAM. An Optimizer is an Algorithm optimizing the model.</li><li>loss must be defined as meanSquaredError. The loss function determines whether the model is being trained well during the model training process.</li><li>metrics must be mse.</li><li>epochs and batch size should be defined as 50 and 32 respectively. (nb: Epochs are the number of actual training sessions. Batch size is a value that determines how many pieces of data to group. )</li><li>Now, tick Miles per Gallon and Horsepower in the xColumns and yColumns respectively.</li><li>Finally, tick Use GPU for more speed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RTdjb3MIPq8Bb8wSERcg9A.png" /></figure><p>OK ! Success !</p><p>You can check the progress by clicking on <strong>Training Results</strong> and <strong>Training Graph</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5zi05rbFHJIZfn6qu_Q14A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W2twE649EMGvS_RkMyKjxw.png" /></figure><p>Now let us go back to <strong>App Builder</strong> and open your app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7eew7aNZT-GKzICCn9NvqA.png" /></figure><p>Click on <strong>Element, </strong>it’s time to drag&amp;drop!</p><p>Select Input (Text) in Input methods, and drop it onto the Empty Screen. Do the same with Output (image).</p><p>You should get something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sC9V7noU-aG06uhGVg06bw.png" /></figure><p>You can also edit your app by drag and dropping the nodes <strong>Title </strong>and <strong>Text </strong>onto the screen and change the parameters you want.</p><p>Then, click on AI Models below Output. Your Model Detail will appear on the right of the screen:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*au-TV22YmnL7SoriMIuHTA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d12a47ecc955" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nocoding-ai/predicting-fuel-efficiency-of-cars-d12a47ecc955">Predicting fuel efficiency of cars.</a> was originally published in <a href="https://medium.com/nocoding-ai">NOCODING AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stock Exchange Price]]></title>
            <link>https://medium.com/nocoding-ai/stock-exchange-price-e17abe9d5677?source=rss-b15b67a554de------2</link>
            <guid isPermaLink="false">https://medium.com/p/e17abe9d5677</guid>
            <dc:creator><![CDATA[NOCODING AI]]></dc:creator>
            <pubDate>Wed, 01 Feb 2023 01:59:47 GMT</pubDate>
            <atom:updated>2023-02-06T08:59:57.636Z</atom:updated>
            <content:encoded><![CDATA[<p>for more info =&gt; pro.nocodingai.com</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pdc8_WAndQd0R8qoYaiuTA.jpeg" /></figure><p>This tutorial is an implementation based on an article posed in TOWARDS DATA SCIENCE<br>Please check the link below for more details.</p><p><a href="https://towardsdatascience.com/stock-price-prediction-system-using-1d-cnn-with-tensorflow-js-machine-learning-easy-and-fun-fe5323e68ffb">https://towardsdatascience.com/stock-price-prediction-system-using-1d-cnn-with-tensorflow-js-machine-learning-easy-and-fun-fe5323e68ffb</a></p><p>Presentation</p><p>In this tutorial, we want to train an artificial intelligence model that predicts the stock price of D+1 using the convolutional layer.</p><p>Let us follow these steps:</p><p>1- Loads the data required for training.<br>2- Process the loaded data to fit the model through a data preprocessor.<br>3- Defines the architecture of the model.<br>4- Train the model, monitor the process.</p><p>Things you will learn:</p><p>- How to preprocess data in nocodingAI<br>- How to define an artificial intelligence model architecture in nocoding AI<br>- To infer using models trained in nocodingAI<br>- A necessary thing<br>- Latest version of chrome or other newer browsers<br>- Be familiar with the basic usage of nocoding AI.<br>- Refer to the Getting Started Guide for basic usage introduction or learning. <br>- Create Project<br>- First, create a new project.</p><p>Click App Builder in the left menu to go to the project screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NGfxRMj-UaMynYwyLm3wUw.png" /></figure><p>Then, select Create New.</p><p>At this page, fill the blank title as “stock_price” and Descriptions as “Stock price model using CNN”. Then, click on Create empty.</p><p>NB: you can fill the blanks as you see fit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Is63IG5sJvUVCgDd5jJobg.png" /></figure><p>Great !</p><p>Now, it is time to upload your data. Clean on Data Cleaner on the left side bar. Then, click on Create New button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wld7gzrZsA00eg3YIhU9yQ.png" /></figure><p>On the Create Dataset, fill the Dataset Name with let’s say stock_close_price. The description blank is up to you. Then, select the Data type as CSV.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3K3AY17QfCqEReeQpkMYeA.png" /></figure><p>You can now see the Dataset of Apple Inc. Close price. Click on Use sample.</p><p>Success ! You have created your dataset.</p><p>Now open it. You will now access all the data and choose to display it in 10,30,50 or even 500 rows.</p><p>In that case, our data is already preprocessed. Therefore we do not need to set the Preprocessing parameters.</p><p>Click on the disquette icon to save your work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rkX-FJfE8VBhLWYZ9yLuSg.png" /></figure><p>Almost set !</p><p>Now we need to build the AI model that will analyze and process your data.</p><p>Click on Model Designer on the left side bar and on Create New.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TED2KF-nLhU39xaG8DAc8w.png" /></figure><p>Fill the Model Name and Description blanks and click on Create empty button inside the Empty Model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F37ygs-hV2Nsg1XbmKSEpg.png" /></figure><p>Success ! Continue.</p><p>On the following screen, click on Datasets to acess My Datasets and click on stock_close_price.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uy4saxozAuteN6dEwCwQEQ.png" /></figure><p>On the left side, roll down until Input/Output and click-&gt; ‘InputLayer’ and ‘Output’, check new nodes, and input 7,1 to the shape box on ‘InputLayer’ node.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jjtmww0X6HUypfE-efBQCA.png" /></figure><p>Keep rolling down unril you reach Convolutional. Click on Conv1D and the node will appear on the right part.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CFHeB6sRDjmHcunxAG-2ig.png" /></figure><p>The architecture is ‘Inputlayer’ -&gt; ‘conv1d’ -&gt; ‘averagePooling1d’ -&gt; ‘conv1d’ -&gt; ‘averagePooling1d’ -&gt; ‘flatten’ -&gt; ‘dense’ -&gt; ‘Output’. So, on the left side, click ‘Convolutional’ -&gt; ‘conv1d’, ‘Pooling’-&gt; ‘averagePooling1d’, ‘Basic’ -&gt; ‘flatten’, ‘Basic’ -&gt; ‘Dense’, check nodes and make a connection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5y1w8LpWFza8KS2VELUKUA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gr-v8D6vrSrOyVVU1wir4A.png" /></figure><p>Last part !</p><p>Finally, click on Start Training. You should get the following screen:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ksVwFV7SEa2mJ60BzVJ6dQ.png" /></figure><p>The final stage is setting Training Parameters. Set the parameters as on the screenshot. Input Type and Output Type should be as TEXT, optimizer as ‘ADAM’, Loss Function as ‘meanSquaredError’ and Metrics as ‘mse’ (‘meanSquaredError’). Also, adjust the learning rate on 0.001, epochs on 100, and Batch size on 128. Turn on ‘Use GPU’.</p><p>Then click ‘Start Training’ button.</p><p>Success ! Continue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PeKjuvdrKNAXXY56gNYjDQ.png" /></figure><p>Our model stock_price has been trained !</p><p>Now let us go back to App Builder and open stock_price.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LldpKDALh8264fqGmFEUrA.png" /></figure><p>Time to drag&amp;drop!</p><p>Select Input(Text) in Input methods, and drop it onto the Empty Screen. You should get something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fvFoniECX_Z60z_AIYlshA.png" /></figure><p>On the right side, in the Model Detail part, click on the green button select. We are going to select which data we want. It is better to select Epoch 100 because the last data is the better trained.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YgETXK0olaOCCSuxD2oybw.png" /></figure><p>Once you selected your Epoch, you must set Use Input under each col-number and type manully the following values : 174.56 for col-0, 179.45 for col-1, 175.74 for col-2, 174.33 for col-3, 179.30 for col-4, 172.26 for col-5 and 171.14 for col-6.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pgsXlLZ5a5m1PF3QzzuAuQ.png" /></figure><p>Then, under the Input type title, click on the text bar besides TEXT and choose ab7a3887 beneath Select Input ID.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LY3mJz0qTDZwJimgPJGRAw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HDoKrUJXDAv-wnQEdfjJvQ.png" /></figure><p>You should now have all the value of your 6 columns appear on the Input component.</p><p>Now back to the Element side column. Drag &amp;Drop the Output(Rows) node below the Input node.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kRd2oktwF9XN9-bJvpcxVg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q4re6g2lYV---nphRf1noQ.png" /></figure><p>Now, under the Output type (right part), select 75b9ebb2 on the text bar besides TEXT</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GVeQZ7Xd3krkOJeqEe0mPg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FjEZ804q9duZqzxmTpqz7g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c_3GvaEJMuLqpTMMCwhjTQ.png" /></figure><p>Now you need your dataset values. Click on Data Cleaner and select your dataset. Pick one line. Let us say line 2. The value for col-0 is 0.05132711996560706, the value for col-1 is 0.05127591231650066, etc</p><p>you will need these values for later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mgSqwQHqNnoLwG5JnRbfyQ.png" /></figure><p>then go back to App Builder et click on the Published node with the icon.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jFzcqfvsWEc-MF8UTOEIww.png" /></figure><p>You will access the screen below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DXXAnfNScLBPR4SWl7w5xg.png" /></figure><p>Remember the dataset values ? You will enter them in the blank bars accordingly:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EklnIT8-cwIjSrkxmFgb5g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t6Ojjpy-NqNJ_MLqo4BJHg.png" /></figure><p>That’s it ! You don’t have to type a single line of code.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e17abe9d5677" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nocoding-ai/stock-exchange-price-e17abe9d5677">Stock Exchange Price</a> was originally published in <a href="https://medium.com/nocoding-ai">NOCODING AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Heart Disease Prediction Model]]></title>
            <link>https://medium.com/nocoding-ai/heart-disease-prediction-model-5e74d6b0d79a?source=rss-b15b67a554de------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e74d6b0d79a</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[no-coding]]></category>
            <category><![CDATA[nocoding-ai]]></category>
            <dc:creator><![CDATA[NOCODING AI]]></dc:creator>
            <pubDate>Fri, 27 Jan 2023 01:30:23 GMT</pubDate>
            <atom:updated>2023-01-27T01:34:23.348Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xfqFaTHJevfNRQxX3odm3g.jpeg" /></figure><p>This tutorial uses the Heart Disease dataset provided by the Kaggle Datasets to implement an artificial intelligence model that predicts heart disease with no coding AI.</p><h3>Experience nocoding AI</h3><p><a href="http://www.nocodingai.com/">https://www.nocodingai.com</a></p><h3>Introduction</h3><p>In this tutorial, we train models that predict “heart disease” through patient medical data.<br>To this end, we will go through the following steps.</p><p>Load the original data required for training.<br>The loaded data is processed through a data preprocessor.<br>Define the architecture of the model.<br>The model is trained and trained to deduce whether there is heart disease or not.</p><h3>Learning</h3><ul><li>How to preprocess data in nocodingAI</li><li>How to Define Artificial Intelligence Model Architecture in NodingAI</li><li>a method of reasoning using a model trained in nodingAI</li></ul><h3>A necessary thing</h3><p>latest version of <a href="https://www.google.com/chrome/?brand=BNSD&amp;gclsrc=ds&amp;gclsrc=ds">chrome web browser</a> or other latest browser<br>Be familiar with the basic usage of nocodingAI.<br>If you need to introduce or learn basic usage, please refer to the nocodingAI Getting Started Guide.</p><h3>데이터 다운로드</h3><p>The dataset to be used in this tutorial is the HeartDisease dataset.<br>The HeartDisease dataset is a collection of information on heart disease patients at the Hungarian Heart Disease Research Institute, Zurich University Hospital in Switzerland, Basel University Hospital in Switzerland, and VA Medical Center, with their names and resident registration numbers deleted.</p><p>Please go to the link below, examine the data carefully, and click the download button to get the ‘heart.csv’ file.</p><p><a href="https://www.kaggle.com/datasets/johnsmith88/heart-disease-dataset">Heart Disease Dataset</a></p><p>This is medical data including age, gender, presence of angina, resting blood pressure, cholesterol level, blood sugar level, electrocardiographic results, and maximum heart rate. For more details, please check the link above.</p><h3>Import Data</h3><p>First, please access the NOCODING AI page and sign up and log in.</p><p>Then, select Data Cleaner from the left menu and click on Create New.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bk9VnQsig6kbZi9MUP4nig.png" /></figure><p>In Create Dataset, please enter a name and description for the dataset and change the Data type to CSV. Click on Empty Dataset to create an empty dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-bhoYgmjutz0foRgzWFh9A.png" /></figure><p>By using Drag and Drop, you can import ‘heart.csv’ and the data will be imported as shown below. You can preview the data and also change the name of the columns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_MqALodat-0KPk_WAQQE2g.png" /></figure><p>The data provided by Kaggle is already cleaned, so there is no need to make any modifications.</p><p>If there is a need to remove null values or zeroes from the data, you can use the Preprocessing tool to clean the data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7gwrQ3JO7FAUSBj9XeSwVQ.png" /></figure><p>Press the floppy disk shaped save button to save the dataset.</p><h3>Create Model Architecture</h3><p>In this section, we will introduce how to configure the model architecture. The model architecture represents the structure that ‘what functions are executed when the model runs’ or ‘the algorithm that the model uses to calculate the answer’.</p><p>In the model designer, click on Create Model, enter the model name and select Empty Model to create an empty model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oVuIqcON9AzLMUX3dFsx1g.png" /></figure><p>On the left side of the model designer screen, there is My Datasets where you can find the datasets you created. Click on it and set the ratio of the data used for Training and Validation in the dataset. The default value is 9:1. Let’s make it 8:2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*P63K0WUxHb_SFn8NGvGGDQ.png" /></figure><p>Move to the Layers tab. You will see the Keras Layers provided for creating layers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*BTdnNI94-UFpd5r7NVCtCw.png" /></figure><p>Scroll down the mouse wheel to find Input/Output and place Input Layer and Output Layer.</p><p>In the shape of the Input layer node, enter 13. This is because we will use 13 columns from the Heart Disease Dataset as input values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/845/1*qiKkCP7RQinW4wc-sP01ZQ.png" /></figure><p>Next, we will add a Dense Layer from the Basic group. Dense Layer is a layer used in multi-layer perceptron networks, which connects both input and output. Even if you don’t know about it, you can think of it as a layer that transforms the input shape into the specified number of units.</p><p>First, create 7 Dense Layers and then connect them from Input to Output in the middle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/987/1*23lbTo-ZMleRbWKfeYieKw.png" /></figure><p>Click on Advanced for each node and set the parameters as follows.</p><ul><li>Set the first Dense Layer to units: 20, activation: relu.</li><li>Set the second Dense Layer to units: 40, activation: relu.</li><li>Set the third Dense Layer to units: 60, activation: relu.</li><li>Set the fourth Dense Layer to units: 40, activation: relu.</li><li>Set the fifth Dense Layer to units: 20, activation: relu.</li><li>Set the sixth Dense Layer to units: 10, activation: relu.</li><li>Set the last Dense Layer to units: 1, activation: sigmoid.</li></ul><p>The reason why the units in the last Dense Layer is 1 is because it only indicates whether there is heart disease or not. This model classifies heart disease as a probability.</p><p>The activation function is used for backpropagation training and extracting feature values in deep learning. Here, we put in the specified values</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*nA-9oeKYUHYYp_VzckVgSQ.png" /></figure><p>The model architecture is now ready. Press the save button to save the created model architecture and prevent it from disappearing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*9S38gNoHTt5iIJHPYUtDxw.png" /></figure><p>Press ‘Start Training’. A pop-up window will appear where you can set the training parameters as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/467/1*zXk0DQo-mkn4JFss_RdJyA.png" /></figure><p>In this section, we will set the training parameters. Since the input type is CSV, we will change the InputType and OutputType to text. We will set the optimizer to ADAM, the loss to binaryCrossentropy, and the metrics to accuracy. The learning rate is set to 0.001. This value should not be too low or too high, as a low learning rate will cause the training time to be too long, and a high learning rate may prevent the training from progressing at all.</p><p>In this step, we set the number of times we will train the entire dataset, known as epochs, to 200. The batch size determines how many data points will be used in one training iteration; a larger batch size uses more memory. A suitable batch size is needed, we set it to 32. We select 13 data points from the xColumn as the training data and one data point from the yColumn as the result label.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/1*lYqGjgZbIVqesR99pR2cGg.png" /></figure><p>Select the target column as the y value (label) and set the rest as the x value (input values), and then click OK.</p><p>It takes quite a long time, so use a GPU with faster speed.</p><p>Training has started. You can see the current situation by clicking on Training Results. The status shows that it is starting training. GPU usage GREDIT is deducted after training starts. After waiting for a little while, training will begin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/1*E9tX4b7bxo6L-HbUscMoOw.png" /></figure><p>You can check the training graph by clicking on the Training Graph button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5j3s6QoD_NAmRU3PBkEwUQ.png" /></figure><p>After training, use the trained model to create a web app from the App Builder menu.</p><h3>Creating a web app</h3><p>Create a Blank Project by entering a Title and Description, just as before.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XRIgd4jqk-ff02TuR0PcRw.png" /></figure><p>This is the default screen</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XCdQSg6cKKwTiLYpyuGXaA.png" /></figure><p>First, select the model you want to connect to. In the AI Models group, select the model we just trained. Select the model named Heart Disease, and the model details will appear in the right tab. You can view the graph and select the desired epoch with the desired value</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/346/1*3RodgJA355hw4XzZVV0Dzw.png" /></figure><p>We will select the 192nd epoch as it has an accuracy of 0.9461.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*K2kDlOodCY9lzxhw6BN3WA.png" /></figure><p>We will now add a Title and Text element from the Element group and place them on the screen. Then, we will customize the content of the elements in the right-hand side Customizing tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9iAd6mkE8UjWdHoR5AVMJA.png" /></figure><p>Drag and drop Input(Text) and Output(Rows) from the Input group onto the screen to place them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*Y-2KJJd4fl_wt78QRCuwbA.png" /></figure><p>In the model details, select the component ID for the text that will go into the Input and the component ID for the output to automatically convert it to the appropriate data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/295/1*iMy-bgFISE_FoeLn3DTKiA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KEo4rr2trvkbm5jchC6n8A.png" /></figure><p>Now let’s press the Publish button to deploy the web app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/506/1*Zcn7hMjzHYk_DFAn5tL22g.png" /></figure><p>If successful, a web address will appear as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_SIb-LmZq3oM68sQVm1Dgg.png" /></figure><p>Copy the URL and open it in a new window.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mCnaqN0CIcceNNipgfZdDw.png" /></figure><p>Enter the values of the existing data to perform the inference.</p><p>If you have data that can be verified, you can try inferencing by entering one by one.</p><p>That’s it. You don’t have to know about a single word of code.</p><p>Happily use nocodingAI. thanks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e74d6b0d79a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nocoding-ai/heart-disease-prediction-model-5e74d6b0d79a">Heart Disease Prediction Model</a> was originally published in <a href="https://medium.com/nocoding-ai">NOCODING AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Model training for classifying varieties of irises.]]></title>
            <link>https://medium.com/nocoding-ai/model-training-for-classifying-varieties-of-irises-dba647556585?source=rss-b15b67a554de------2</link>
            <guid isPermaLink="false">https://medium.com/p/dba647556585</guid>
            <category><![CDATA[ai-builder]]></category>
            <category><![CDATA[ai-maker]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning-tools]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[NOCODING AI]]></dc:creator>
            <pubDate>Thu, 19 Jan 2023 23:54:00 GMT</pubDate>
            <atom:updated>2023-01-27T01:36:07.131Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0oXOL2-9ZAHWKpd8tY-umg.jpeg" /></figure><p>classify into setosa, versicolor, and virginica</p><blockquote><strong><em>Experience nocoding AI ➟ https://pro.nocodingai.com</em></strong></blockquote><h3>Introduction</h3><p>In this tutorial, we train an artificial intelligence model that classifies three varieties of irises with statistical data measuring the calyx of irises, the length and width of petals.<br>To this end, we will go through the following steps.</p><ul><li>Load the original data required for training.</li><li>The loaded data is processed and normalized to fit the model through a Data Cleaner</li><li>Build the architecture of the model.</li><li>Monitor performance during model training.</li></ul><h3>Things to learn</h3><ul><li>How to preprocess data in nocoding AI.</li><li>How to build an artificial intelligence model architecture using nocoding AI.</li><li>How to infer result using trained model in nocoding AI</li></ul><h3>Necessary</h3><ul><li>Latest version of <a href="https://www.google.com/chrome/">Chrome</a> or other latest browser.</li><li>You should be familiar with the basic usage of nocoding AI.<br>If you need an introduction to the basic usage, please refer to former articles.</li></ul><h3>Download and modify CSV data</h3><p>The dataset to be used in this tutorial is the IRIS dataset.<br>IRIS dataset is a set of statistical data of sizes of different parts of the iris measured in the 1930s and is frequently used in machine learning and statistics.</p><p>First, go to the following <a href="https://storage.googleapis.com/download.tensorflow.org/data/iris_training.csv"><em>link</em></a> to download the dataset.</p><p>Then open the downloaded CSV file with a text editor such as a notepad.</p><p>The csv file shows tabular data through commas and line breaks.<br>It can be seen that line breaks and commas separate rows and columns, respectively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/0*jyx_06eBn_V0jMxY.png" /></figure><p>If you open the file, you can see that it is in the same form as above.<br>Table data consisting of 120 rows and 5 columns.</p><p>You might get the overall information about the dataset in the top row. It shows that the dataset has 120 rows and 4 columns of input data and classifies three varieties: Setosa, Bersicolor, and Virginica.</p><p>However, this information alone does not tell what each column of the dataset means, so let’s change the contents of the top row.</p><p>Each column of this dataset means sepal length, sepal width, petal length, petal width, and variety.<br>To indicate this, we will change the contents of the top row as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iZSPJNLRy-u1vPDyrmCLAg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XiG4nwej6k0ffb4pKLBcRA.png" /></figure><p>At the Data Cleaner, Create new empty dataset. Note the Data type is ’CSV’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4PoI0T8sfBmFlfNRUGsHwQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K3D-ydZDfdQn8wbqNm8GDA.png" /></figure><p>Click the green csv icon to import your dataset. Change the column name to [sepal length, sepal width, petal length, petal width, Variety].</p><p>Do not forget to ‘save’ the data. Press floppy disk button to save.</p><h3>Create a model architecture</h3><p>This section introduces how to configure the model architecture. The model architecture is a structure that represents <em>“what functions will run when the model runs”</em> or <em>“an algorithm that the AI model will use to calculate the answer.”</em></p><p>At the Model Designer, create new empty model to construct model architecture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*deUYeyXxgYSUGnK96TuEGQ.png" /></figure><p>Go to the Layers tab at the left menu. You can check some layers here. Let’s make a simple AI model with 3 Dense layers.</p><ul><li>Create Input Layer and Output Layer.</li><li>Create a total of three Dense layers.</li><li>Connect the layers in the order of Input-Dense-Dense-Dense-Output.</li></ul><p>Yon can drag and drop to switch the layer’s location. Each layers top and bottom, there are small circle. Bottom circle is that layers output socket, and Top circle is that layer’s input socket. Click and drag former layer’s bottom socket to next layer’s top socket. If they connected by a line, you successfully build a AI model architecture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9DuzUE_e_-ya4DtbBsR-gg.png" /></figure><p>Now, We will enter a value for each layer.</p><ul><li>Enter 4 in the Shape of Input Layer. This means four values that measure each part of the iris.</li><li>Click Advanced and Set the first and second Dense as follows. (units : 10, activation : relu)</li><li>Set the last Dense as follows. (units : 3, activation : softmax)</li></ul><p>You don’t have to change other default setting values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*mNFZ8-95E1P_7Yv9y6uhhA.png" /></figure><p>The last Dense is a layer to indicate the result.</p><p>Enter the number of types to be classified in the units value of this Dense.<br>The artificial intelligence model we’re going to train classifies irises into three varieties, so we put 3 in the Unit value.</p><p>When all inputs are finished, save the model.</p><h3>Model training</h3><p>Now, we will train the model through the following process.</p><ol><li>Input my Datasets to model</li></ol><p>Click the dataset(iris, it’s my custom name that made just before. choose your dataset) at Datasets menu. It will make a block of ‘Dataset’. In this block, you can adjust Training, Validation ratio. Default ratio is Training:Validation = 90:10.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*65Hh0-kekLP1HSOOg6BJJw.png" /></figure><p>2. Start Training</p><p>Press ‘Start Training’ button, and set the inputType, outputType, optimizer, loss value, and etc as follows. select X columns to 4 variables, and Y columns to Variety. If you want to train faster, choose ‘Use GPU’ options(It will pay 1 Gredit per minutes).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/476/1*tG2z5vsXMC8imgYYRa-ySQ.png" /></figure><p>3. Monitoring the Trainging process and Result</p><p>When training begins, you can check the training result and figures on a graph.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/1*KnGEIPFaENY6_tkM803yxw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PskCGn9bp9lmzXpKFMoVUQ.png" /></figure><p>Loss represents the loss value of the model, and acc represents the accuracy. If the loss decreases and the acc increases, it can be seen that the training is going well.</p><p>This is the result of training completion.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Uxht1VuSXSZfKSZ_D0g1Pw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KvQ5Imq35ryiyAmHXlEYCA.png" /></figure><h3>App Building</h3><p>Now that the model training is completed, you can classify the varieties of irises using the trained model.</p><p>Go to App Builder and create new. There are some menus on the left side. Click to open the menus.</p><p>‘Element’ is composed of layout element that can be customized. ‘AI Models’ have AI Models that you already created and trained. Drag and drop to blank canvas. You can customize each element like Title, Text and so on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7pI8hGhZ8KVoOSkWdPHfRQ.png" /></figure><p>After designing your own Web App, you can select the best model to publish. At the right side, check the model detail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/345/1*0Y0iAezGe2AIFMNptqXD1g.png" /></figure><p>Below the model detail, you can choose input and output detail and labels. <br>Enter the label name [0: setosa, 1:versicolor, 2:virginica] to make it easy to know the result.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/351/1*_DKlji4nm68jdzmvpw_Ouw.png" /></figure><h3>Using AI web application</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B69aGRraskXbbZ3CYSTHAg.png" /></figure><p>Everything is done. Click the top right ‘Publish’ button, then you will see the URL and QR code to enter your web application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hCK4NYG7DBm6yPBCjE9hKw.png" /></figure><h3>Inference</h3><p>Since our model is ready for inference, let’s use it to classify variety of irises.</p><p>First, we will enter the following values corresponding to the columns of the dataset which the model was trained with: 6.2, 2.5, 6.1, 3.3. Our AI are inferring it as Virginica with a probability close to 100%.</p><p>Put any value that you want to inference the iris variety.</p><p>That’s it. You don’t have to know about a single word of code.</p><p>Happily use nocodingAI. thanks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dba647556585" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nocoding-ai/model-training-for-classifying-varieties-of-irises-dba647556585">Model training for classifying varieties of irises.</a> was originally published in <a href="https://medium.com/nocoding-ai">NOCODING AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dry_bean Variety Classification Model]]></title>
            <link>https://medium.com/@nocodingai/dry-bean-variety-classification-model-1f7f55b58d2?source=rss-b15b67a554de------2</link>
            <guid isPermaLink="false">https://medium.com/p/1f7f55b58d2</guid>
            <dc:creator><![CDATA[NOCODING AI]]></dc:creator>
            <pubDate>Thu, 19 Jan 2023 09:23:04 GMT</pubDate>
            <atom:updated>2023-01-19T09:23:04.958Z</atom:updated>
            <content:encoded><![CDATA[<h3>Experience nocoding AI</h3><p><a href="https://pro.nocodingai.com/">https://pro.nocodingai.com/</a></p><h3>Dry_bean Variety Classification Model Training</h3><p>This tutorial is implemented in nocodingAI using the Dry_Bean_Data_Set provided by the <a href="http://archive.ics.uci.edu/ml/datasets/Dry+Bean+Dataset">ULC Machine Learning Repository.</a></p><p>Table of Contents<br>Introduction<br>CSV Data Download<br>Data Loading<br>Data Normalization<br>Building a Model Architecture<br>Model Training<br>Inference</p><h3>Introduction</h3><p>This tutorial trains an artificial intelligence model that categorizes soybean varieties into seven categories with statistical data provided by Dry_Bean_DataSet.</p><p>To this end, we will go through the following steps.</p><p>Load the original data required for training.<br>The loaded data is processed and normalized according to the model through a data preprocessor.<br>Define the architecture of the model.<br>Train the model and monitor performance during training.</p><h3>Learning</h3><p>How to preprocess data in nocodingAI<br>How to Define Artificial Intelligence Model Architecture in NodingAI<br>How to deduce using a model trained in nocodingAI</p><h3>A necessary thing</h3><p>The latest version of <a href="https://www.google.com/chrome/">Chrome</a> or other latest browser.<br>Be familiar with the basic usage of nocodingAI.<br>If you need to introduce or learn basic usage, please refer to the nocodingAI Getting Started Guide.</p><h3>CSV Data Download</h3><p>The dataset to be used in this tutorial is the Dry_Bean dataset.<br>The Dry_Bean dataset is a dataset with 16 characteristics, identifying the characteristics of beans such as shape, type, and structure, and categorizing them into 7 types.</p><p>First, go to the following address to download the dataset.</p><p><a href="https://nocoding-ai.s3.ap-northeast-2.amazonaws.com/test/Dry_Bean_DataSet.csv/Dry_Bean_DataSet.csv">https://nocoding-ai.s3.ap-northeast-2.amazonaws.com/test/Dry_Bean_DataSet.csv/Dry_Bean_DataSet.csv</a></p><p>Please open the downloaded CSV file in a text editor such as Notepad.</p><p>A CSV file is a file that represents tabular data through commas and line breaks.<br>It can be seen that a line break and a comma separate rows and columns, respectively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*LzjlZ-e5bPZtSrTF.png" /></figure><p>If you open the file, you can see that it is in the same form as above.<br>Table data consisting of rows 13611 and 17 columns.</p><p>You can find simple information about this dataset in the top row. It means a dataset with 13611 rows and 17 columns of input data and categorized into 7 varieties.</p><h3>Data Loading</h3><p>I will now load the modified CSV data.<br>Go to the data cleaner page and press the create button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*F9VlaEfZsOQ7DIly.png" /></figure><p>You can give a name and a description to your dataset, here we will call it DryBeanDataSet and set the Data type as CSV. Then click on Create Empty. You can also use the pre-build dataset named bean classification data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*wGALxQsgxW76kKkf.png" /></figure><p>Once your empty dataset is created, you have to upload the CSV file. You can just drag and drop the file here, or use the button to open your files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*i9wjLNbfBkZ8XfJt.png" /></figure><p>After uploading the csv file, you can see your data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*O8CTIBQ6UuirIIFy.png" /></figure><p>If you have successfully loaded the data, we will now preprocess the data.</p><p>We want to normalize our data. To do so, we will just click on the select button corresponding, and select everything but the class column and confirm. After this, we can save the dataset and go back to the main menu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*wP_-apyPpHM_nNeq.png" /></figure><h3>Building a Model Architecture</h3><p>In this section, you will learn how to configure the model architecture. The model architecture says, “What functions will be executed when the model is executed?” Alternatively, it represents the algorithm that the model will use to calculate the answer.</p><p>To create your model, click on the model designer button and then create a new empty model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*S_d-1jcDtRznpr7u.png" /></figure><p>First create the different layers and connect them in this order:</p><p>Input / Dense / Dropout / Dense / Dropout / Dense / Dropout / Dense/ Dropout / Dense / Output</p><p>Add also the dataset previously created, ad keep the default training percentage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*Jepqn0ht_DkamgJ3.png" /></figure><p>Now, let’s enter weights for model learning for each layer.</p><p>First, set the unit item value in the advanced settings to 80 in the first Dense layer and give the activation item to relu.<br>For the dropout layer, select the rate in the advanced settings.I’ll give you a weight of .3</p><p>Second layer<br>dense = unit : 40, activation : relu<br>dropout = rate : .3</p><p>Third layer<br>dense = unit : 20, activation : relu<br>dropout = rate : .3</p><p>Fourth layer<br>dense = unit : 10, activation : relu<br>dropout = rate : .3</p><p>Last Dense layer<br>unit : 7, activation : softmax</p><p>For the unit value of the last Dense, enter the number of beans that need to be classified.<br>The artificial intelligence model we are training is classified into 7 varieties of beans, so we entered 7 as the unit value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*irJGBAfx3LTWavTN.png" /></figure><p>The model must look like this.</p><h3>Model Training</h3><p>Once the model architecture has been constructed and data preprocessed, everything is ready to train the model.</p><p>Click on Start Training button, and set the different settings.</p><p>Optimizer: Algorithm for optimizing the model.<br>Loss function: A loss function to determine whether a model is being trained well in the model training process.<br>Evaluation indicator: A value used to measure the training process.</p><p>Set the optimizer to Adam, the loss function to sparseCategoryCrossentry, and the evaluation index to accuracy.</p><p>Set the learning rate to 0.001, epoch to 100, and batch size to 256.</p><p>Epoch refers to the number of times a model is trained.<br>Batch size is a value that determines how many pieces of data you want to use.</p><p>For the X’s columns you should pick all the columns but Class, and for the Y’s Columns only the class column.</p><p>When everything is ready, press the ok button to proceed with the training.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*2wkFNiiWgSMq1Po9.png" /></figure><p>You can follow the training using the Training Graph button, like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*cmSKvDafhVBi6SDK.png" /></figure><h3>Inference</h3><p>Now that the model training has been completed, we will use the trained model to infer.</p><p>Go on the App builder menu and create a new empty project.</p><p>Add the model we just trained, an input text and output raw.</p><p>Change the id for the input and output, using the select bar under the TEXT label, and the name for the different columns of our dataset should appear for the input, and number from 0 to 6 for the output.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*gN-tEz9NczMS1HTD.png" /></figure><p>You can rename the output labels with the different bean variety to make it more clear.</p><p>The different variety from 0 to 6 are:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/139/0*JA4d2w-2ue8frC4a.png" /></figure><p>You can also add more content to make the design more pretty or add description.</p><p>Once you’re done, you can publish your project and click on the link to open it in a new tab. Now it’s open, you can infer with your model, just give some value normalized and it will predict the class of the bean. I tested it with the values of the first line of our dataset and the class is matching.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*Y7a8jYq34DBfQyFh.png" /></figure><p>This is the end of the tutorial, you can find many other tutorials to keep learning more about no-coding AI. Thank you for joining us.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1f7f55b58d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Objects classification without code — How to use shared dataset and model]]></title>
            <link>https://medium.com/nocoding-ai/objects-classification-without-code-how-to-use-shared-dataset-and-model-e218b3598529?source=rss-b15b67a554de------2</link>
            <guid isPermaLink="false">https://medium.com/p/e218b3598529</guid>
            <category><![CDATA[ai-applications]]></category>
            <category><![CDATA[no-code-development]]></category>
            <category><![CDATA[ai-maker]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[no-code-platform]]></category>
            <dc:creator><![CDATA[NOCODING AI]]></dc:creator>
            <pubDate>Wed, 18 Jan 2023 11:13:47 GMT</pubDate>
            <atom:updated>2023-01-18T11:13:47.953Z</atom:updated>
            <content:encoded><![CDATA[<h3>Objects classification without code — How to use shared dataset and model</h3><p>CIFAR 10 classification</p><blockquote><strong><em>Experience nocoding AI </em></strong><em>➟ </em><a href="https://pro.nocodingai.com/"><strong><em>https://pro.nocodingai.com</em></strong></a></blockquote><p>Well-trained AI can discriminate what is the object. Today, we have 10 different objects(airplane, automobile, bird, cat, deer, dog, frog, horse, ship ans truck) to train AI. This is the classic problem of AI classification, known as ‘CIFAR10’.</p><p>We will start a tutorial with shared dataset and model.</p><p>Sign in NocodingAI platform(<a href="https://pro.nocodingai.com/"><strong><em>https://pro.nocodingai.com</em></strong></a><strong><em>)</em></strong> and go to the menu ‘Dataset’. At the first time, you will see the page below. Press ‘Create New’ button and follow instructions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*w4XgCdPjU-OOkgX3.png" /></figure><p>After entering Dataset Name and Description, select below dataset card ‘cifar10’. It has 10,000 images of 10 objects, each object has 1,000 images.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*PeW_OchPKYtTkVT7.png" /></figure><p>Now you can check out the images of 10 classes. Each class is devided by folders. By clicking folder name, you can see which images in it.</p><p>Don’t be embarrased that image looks blurry. This raw image is very tiny(32 by 32 pixels).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*mg62hhJ3lqR2SL9S.png" /></figure><p>(futher explanation — add image to dataset)</p><p>Let me show you other high-resolution image preview. From folder name, right click to add image. For example, I added a cat image which is 1,440 by 1,080 pixels.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*rR7dcks-nYapT_Ay.png" /></figure><p>Click the image to enlarge. The bigger the cuter. Yes, It’s my cat. Note that for the better training result, all the images should be sized equally (or similar sized image to resize). Just remove the added image than, click floppy disk icon to save.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*Cj4IZfIRsBZFnd__.png" /></figure><p>Now, Move to Model menu. Srcoll down the ready-made model card, you can find ‘cifat10 classification’. Use the sample model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*ifFiN7Kn9iM6KPSD.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*A5Dik5mQtVO-x9xb.png" /></figure><p>There are connected layers. We will study later what is this layer, the way to change layers. Till now, please click the top right button ‘Start Training’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*Y6IduYZWJgaL8o3z.png" /></figure><p>Change the ‘OutputType’ to TEXT. Enter 32 for the ‘width’ and ‘height’. finally change ‘channel’ to 3. (If you want faster training, turn on the ‘Use GPU’. See our Cloud GPU subscription plan at MYPAGE)</p><p>Done! Press ‘OK’ button and monitor the results and graph.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*Zl0HvvukzsouMdRQ.png" /></figure><p>Status changes : PENDING -&gt; PREPROCESSING -&gt; RUNNING (by epochs)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*6pHF3EMnPSq3lgXd.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*J_QwY12hL5UI6L2G.png" /></figure><p>The training is over. You can use this trained-model to build your own application in Project menu.</p><p>Next time, we will study how to upload customized datasets.</p><p>Thank you, please subscribe this series.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e218b3598529" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nocoding-ai/objects-classification-without-code-how-to-use-shared-dataset-and-model-e218b3598529">Objects classification without code — How to use shared dataset and model</a> was originally published in <a href="https://medium.com/nocoding-ai">NOCODING AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>