<?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 Donald Koech on Medium]]></title>
        <description><![CDATA[Stories by Donald Koech on Medium]]></description>
        <link>https://medium.com/@donaldintech?source=rss-e6c09d47caf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*uJNWXBc6TkUI2amzAVocrQ.jpeg</url>
            <title>Stories by Donald Koech on Medium</title>
            <link>https://medium.com/@donaldintech?source=rss-e6c09d47caf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 19:14:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@donaldintech/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[AI finally accepted in 2024?]]></title>
            <link>https://donaldintech.medium.com/ai-finally-accepted-in-2024-98a2f12f89ad?source=rss-e6c09d47caf------2</link>
            <guid isPermaLink="false">https://medium.com/p/98a2f12f89ad</guid>
            <category><![CDATA[ai-2024]]></category>
            <dc:creator><![CDATA[Donald Koech]]></dc:creator>
            <pubDate>Fri, 19 Jan 2024 20:49:05 GMT</pubDate>
            <atom:updated>2024-01-19T20:49:05.881Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gJUofBLCMe97GXzw" /><figcaption>Photo by <a href="https://unsplash.com/@iammottakin?utm_source=medium&amp;utm_medium=referral">Mojahid Mottakin</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Like any new technology introduced to the masses, AI has had its fair share of obstacles and hurdles to overcome, but the road seems smoother in the coming year. From the ’50s until now ,it’s about time everyone learns to live with this interesting yet ‘dangerous’ ‘monster’.</p><p>Just this year, the 1st ever AI summit was held in the United Kingdom, on 1–2 November, signaling the growing acceptance, acknowledgement and at the same time fear and caution for those involved directly with the technology. And it doesn’t stop there; many summits are expected to be hosted by South Korea in mid-2024, followed by France around late-2024.</p><p>While the most pressing issue seems to be safety of AI and its impact on existing technology and infrastructure, the irony comes in when the same players need to workout a game-plan to deploy the same AI to revolutionize some strategic sectors like transport and health-care.Take for example Elon Musk (who happens to be my tech dad); he constantly keeps reminding us of how dangerous AI would be in certain conditions ,yet he needs the same for self driving cars…but of course he has a plan, like always.</p><p>AI in 2024 may thus face a few more challenges in regards to safety if governments and institutions step up their effort .I however think this makes it even more suitable and popular among users, as all the good traits are enhanced while capping the unpleasant ones.</p><p>Still with the transport industry, you might have heard of flying taxis. One company here in Europe (Volocopter) is about to make it possible, just in time for the Paris Olympics 2024.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/0*LTFiUKTqHCDsPzi-" /><figcaption>Photo by (Euronews) showing proposed taxi stops</figcaption></figure><p>Of course as with any technology, and with a crazy one as flying taxis; regulators must be involved to keep stakeholders in check, and users safe.</p><p><em>“Our first priority today — and what we’re all working towards and devoting all our resources to — is certification of the machine.” -Jean-Christophe Drai, Sales Director of Volocopter France.</em></p><p><strong>Generally AI can be a tool to reduce carbon emissions while assisting humans towards full potential, but why is it still not being used by everyone?</strong></p><ul><li>Few fully understand it-Education might be of help here</li><li>Lack of trust-many cannot trust other people, so why would they trust a machine model?</li><li>Lack of good implementation strategies and technical abilities-Again,education and consultations with experts surely help.</li></ul><p>In <strong>conclusion</strong>,2024 promises to be a year which AI wins more hearts and surely would be a big step towards a universal acceptance and implementation. Stakeholders, experts, regulators and end users just have to up their game to ensure we reap big from this alleged ‘Monster’.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=98a2f12f89ad" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Demystifying Pulse Width Modulation(PWM)]]></title>
            <link>https://donaldintech.medium.com/demystifying-pulse-width-modulation-pwm-ee00404a1a4e?source=rss-e6c09d47caf------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee00404a1a4e</guid>
            <category><![CDATA[pwm]]></category>
            <category><![CDATA[pwm-controller]]></category>
            <dc:creator><![CDATA[Donald Koech]]></dc:creator>
            <pubDate>Sun, 16 Jul 2023 18:52:48 GMT</pubDate>
            <atom:updated>2023-07-16T18:52:48.195Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qs5r5dn5GmB1pC44" /></figure><p>I thought to write about one of the topics that has been a little mystery to me yet so important and exciting,the Pulse Width Modulation,or popularly referred to as PWM.</p><p>The easiest definition I could find and have used to date since I first met these three letters but with so much significance is ;A technique of obtaining analog values from digital ones,sounds easy right?</p><p>Well it <a href="http://is.it/">is.It</a> just comes with so much confusion but its applications sound much better than just the definition.Let’s dive right into it.</p><p><strong>Working Principle</strong></p><p>PWM is a way of getting analog outputs by quickly varying the Pulse width.Pulse width is the duration of on time taken for a signal to peak and fall,and not to be confused with <em>frequency</em> which simply means number of cycles in a second(Hertz).</p><p>Another terms often used is the Duty cycle which is the percentage of on/off time i.e 50% duty cycle implies the signal is on for half and off for the other half.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NcRO0ll_BP6jjr4L" /></figure><p><em>fig.1 shows PWM signal,different duty cycles and pulse width.</em></p><p>Digital signals usually represent an on/off state or high/low or 1/0 value.Some applications are not favored by these 2 extreme states since we could use the values along the way for complete control,be it in the speed of motor or as simple as controlling the brightness of a bulb.</p><p>So basically PWM is a type of signal that is generated by tweaking duty cycles to kind of imitate analog signals ,since analog signals basically represents changes over time.</p><h3>Generation of PWM</h3><p>There are several methods to generate PWM signals, depending on the specific application and available resources. Here are some common techniques:</p><ol><li><em>Hardware-Based PWM Generation:</em></li></ol><ul><li>Timer/Counter Modules: Many microcontrollers and digital signal processors (DSPs) have built-in hardware modules specifically designed for generating PWM signals. These modules often include dedicated timers and comparators, making them efficient and reliable for generating precise PWM signals.</li><li>Analog Comparators: Analog comparators can be used to compare a varying input voltage with a reference voltage. By toggling the output based on the comparison result, a PWM signal can be generated.</li></ul><p><em>2.Software-Based PWM Generation:</em></p><ul><li>General-Purpose Input/Output (GPIO): In software-based approaches, a microcontroller’s GPIO pins can be used to generate PWM signals. By toggling the pin state at specific time intervals, the duty cycle of the PWM signal can be controlled. However, the accuracy and resolution of software-based PWM may be limited compared to hardware-based methods.</li><li>Pulse-Generation Libraries: Many programming languages and development platforms provide libraries or functions specifically designed for generating PWM signals. These libraries utilize the underlying hardware resources of the microcontroller or development board to generate accurate PWM signals.</li></ul><p><em>3.Digital-to-Analog Converter (DAC) PWM:</em></p><ul><li>In some cases, a digital-to-analog converter (DAC) can be used to generate a PWM-like signal. By varying the output voltage of the DAC in a step-wise manner, an approximate PWM signal can be obtained. However, this method may not be as precise as dedicated PWM generation techniques.</li></ul><p><em>4.Programmable Logic Devices (PLDs) and Field-Programmable Gate Arrays (FPGAs):</em></p><ul><li>PLDs and FPGAs offer high flexibility in generating PWM signals. These devices allow for the implementation of custom PWM generation algorithms using hardware description languages (HDLs) like VHDL or Verilog. This approach is particularly useful for complex and specialized PWM applications.</li></ul><p>It’s worth noting that the selection of a PWM generation method depends on factors such as the complexity of the application, available hardware resources, desired accuracy, and the capabilities of the microcontroller or development platform being used.</p><p><em>We’ll cover the first and second methods for now.</em></p><p><strong><em>1.</em>Hardware-Based PWM Generation:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/0*O-RfjI9Q0vIi4Ycu" /></figure><p><em>fig.2 shows how PWM is generated using a comparator.</em></p><p>The message signal and the carrier waveform is fed to a modulator which generates a PAM signal. This pulse amplitude modulated signal is fed to the non-inverting terminal of the comparator.</p><p>A ramp signal generated by the sawtooth generator is fed to the inverting terminal of the comparator.</p><p>These two signals are added and compared with the reference voltage of the comparator circuit. The level of the comparator is so adjusted to have the intersection of the reference with the slope of the waveform.</p><p>Check out the signals produced by each component below,courtesy of <a href="https://electronicscoach.com/pulse-width-modulation.html">electronics coach</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/929/0*nZVzN_aNFeOJU2GN" /></figure><p><em>fig.3 a)sinusoidal modulating signal by carrier wave,(b)pulsed message wave,©PAM signal and (d)RAMP signal from Sawtooth generator.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/839/0*Pc1HFyX8FIcyW3Q3" /></figure><p><em>fig.4 e)shows the comparison of the preset comparator to the input signal to produce a PWM signal</em></p><p><em>2.</em><strong>Software-Based PWM Generation:</strong></p><p>Anyone who’s played around with MCU boards like Arduino have probably come across PWM pins.</p><p>With all the Hardware doing the background work,it becomes easy to just set a desired analog value between 0 and 255 (0 representing 0 volts and 255 being the highest voltage signal like 5V etc.)</p><p>Learn more about Arduino <a href="http://arduino.cc/">here</a>.</p><p>Arduino has 6 dedicated pins for PWM and can be used by the function;</p><p>analogWrite(pin, value)</p><p>Perhaps the basic application is the dimming of an LED when you need a value in between total on /off state.</p><p>I used 3 LEDs and wrote the code below which controls the brightness using pin 3,</p><pre>int led=3;<br>int max=255;<br>int min=0;<br>int i;<br>void setup(){<br>pinMode(led,OUTPUT);<br>}<br>void loop(){<br>for(i=min;i&lt;=max;i++){<br>  analogWrite(led,i);<br>  delay(10);<br>}<br>for(i=max;i&gt;=min;i--){<br>  analogWrite(led,i);<br>  delay(10);<br>}}</pre><p>For demo check <a href="https://github.com/Donnybroke/fading_lights">here</a></p><p><em>Another typical application is the motor control,but that’s for another day.</em></p><p><strong>Advantages of PWM</strong></p><ol><li>It is more immune to channel induced noise.</li></ol><p>2 . Reconstruction of PWM signal to remove noise from the distorted PWM signal is easy.</p><p>3. The transmission and reception does not need to be synchronized.</p><p><strong>Disadvantages of Pulse Width Modulation</strong></p><ol><li>Due to changing width of the pulses, variation in transmission power is also noticed.</li></ol><p><em>That’s all the basics,still not simple but this article definitely goes a long way to demystify PWM.</em></p><p>For more blogs check <a href="https://donaldintech.hashnode.dev/">https://donaldintech.hashnode.dev/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee00404a1a4e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Top 5 Emerging Technologies!]]></title>
            <link>https://donaldintech.medium.com/the-top-5-emerging-technologies-a837226574ee?source=rss-e6c09d47caf------2</link>
            <guid isPermaLink="false">https://medium.com/p/a837226574ee</guid>
            <category><![CDATA[emerging-technology]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Donald Koech]]></dc:creator>
            <pubDate>Thu, 02 Mar 2023 21:53:13 GMT</pubDate>
            <atom:updated>2023-03-02T21:56:57.243Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5WA9A3ot7yt93lnA" /><figcaption>Photo by <a href="https://unsplash.com/@agk42?utm_source=medium&amp;utm_medium=referral">Alex Knight</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>As an Engineer,or rather an Engineering student[<em>Electrical &amp; Electronics</em>],I sometimes feel guilty for not talking so much about my field,I find myself working alot on many social activities which seem populated and fun,but hey,tech is Cool too!</p><p>So I ,with assistance of some resources here and there,compiled a list of new technologies to watch out for in the coming years,some being very new,others not;some very close while others remain a beautiful impression.</p><p><strong>6G internet</strong></p><p>It’s safe to say almost everyone has had some interaction with the internet and it has been getting better every time.Just recently,5G was launched and is still making its way in several parts of the world,and as if we’ve been sorted in matters speed,6G is starting to make news.</p><p>These wireless networks use radio waves with high frequencies to transmit data and several improvements are done on the 5G networks including integration of AI,expansion of spectral bandwidth as well as improved security,and increased speed of upto 1Tbps[100times 5G].Another major improvement is the lowered latency which is crucial for applications such as self driving cars and Augmented Reality.</p><p>It is estimated that 6G network will be rolled out by 2030 or sooner.</p><p><strong>Quantum Computing</strong></p><p>Quantum computing is a field of computing that utilizes the principles of quantum mechanics to process information. Unlike classical computers, which store and manipulate data using bits that can have a value of either 0 or 1, quantum computers use quantum bits or qubits, which can exist in a state of superposition where they can have a value of 0 and 1 simultaneously.</p><p>Its future is promising and several challenges and ideas are being on by researchers including scalability,quantum cryptography and machine learning.No certain time is projected to have this technology fully developed but it’s undoubtedly one of the most exciting fields.</p><p><strong>Metaverse</strong></p><p>Metaverse has recently been popularized especially by Meta,the parent company of Facebook.But it has been received with mixed reactions and I’ll give you my thoughts.</p><p>So basically the Metaverse is a different and virtual world where one can buy,own stuff and have a life that’s only virtual.It resembles a game where you have a character that you develop,arm and task to perform as if it were you ,except that in this Metaverse style,you’d actually feel inside the character’s world.</p><p>Critics have had their say about this concept including dilusional,health issues and social issues.</p><p>As for me I love the concept where you can creatively do something that would otherwise be hard here on earth but also would like to see alot of improvement on some of the hazards above.</p><p><strong>Space Travel and Colonization</strong></p><p>We’ve heard the likes of Elon Musk talking of colonizing Mars but this is more than that.As different technologies emerge and develop to full capacity,so as this phenomenom turned to reality.</p><p>Our future vacations might see destinations such as the International Space Station[I.S.S] become a norm but before then,a lot of optimism and cash must be invested.</p><p><strong>Transparent and Solar stickers</strong></p><p>Still on the topic of green energy,the Solar energy has been one form of energy under alot of research due to its potential,and recently one obstacle might have just been eliminated and that is the volume of the solar panels.</p><p>Stickers with photovoltaic cells are now being developed and tested where they can be installed easily on any surface such as windows and walls ,transparent solar panels are also one technology to check out as it saves space and very convinient to install.</p><p><strong>Maglev</strong></p><p>Maglev which stands for Magnetic Levitation,has been around since the ’70 s but has recently been the centre of attention when speedy transportation is concerned.</p><p>It is simply a system of train transport where magnets are used on railway lines to give an effect of repulsion and attraction therefore making trains float and eliminate resistance with the lines,thus high speeds of upto 600Km/h.</p><p>Currently six maglev systems are operational in China,South Korea and Japan,but as climate change and green energy is becoming a thing ,surely this technology is coming back to life and will be the future of transportation.</p><p><em>The author is a Kenyan living in Hungary and would love to connect with you on social media </em><a href="https://linktr.ee/koechdon"><em>here</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a837226574ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RIP to the talents we never discovered.]]></title>
            <link>https://donaldintech.medium.com/rip-to-the-talents-we-never-discovered-a2a3d27095ed?source=rss-e6c09d47caf------2</link>
            <guid isPermaLink="false">https://medium.com/p/a2a3d27095ed</guid>
            <category><![CDATA[talent-acquisition]]></category>
            <category><![CDATA[talent]]></category>
            <dc:creator><![CDATA[Donald Koech]]></dc:creator>
            <pubDate>Sat, 03 Sep 2022 20:30:46 GMT</pubDate>
            <atom:updated>2022-09-03T20:30:46.849Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*atQmvP-_VtXvXm_y" /><figcaption>Photo by <a href="https://unsplash.com/@michel_catalisano?utm_source=medium&amp;utm_medium=referral">Michel Catalisano</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In line with what society has come to accept as the general meaning of ‘talent’,I would like to take this opportunity to apologize for what never came to pass in terms of talent search.How would I meet the expectations of becoming the greatest f*********r of all time[GOAT ]when I can’t even grow a beard?Or simply can’t get a loyal childhood sweetheart ?How?</p><p>Contrary to such inhumane demands by the same society,where talent involves someone being on TV in some Olympic games or curtain raising the Oscars,the Gen Z have it all figured out ,but calling upon your suppport more than before.More than often have I met or seen some dance,broadcast or even art at the most unexpected surrounding dying for an audience,that never shows up.</p><p>And since we are not mummified and age is only a number for folks seeking their soulmates ,the bearers of such talents tend to slow down too and eventually disappear having benefitted no one.</p><p>For clarity ,talent is that ability that one can bring out so well and in a unique ,and also passionately.Must not be football or any other sport related skill.</p><p>To conclude,before I bury this one talent that I am yet to even discover,make sure you also play a part in making your abilities live on ,in a world where talented guys do not have to undergo the hassle of looking for enslaving ways to survive.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a2a3d27095ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Thank You 100 Followers!and a message to Medium]]></title>
            <link>https://donaldintech.medium.com/thank-you-100-followers-and-a-message-to-medium-718b4df9de94?source=rss-e6c09d47caf------2</link>
            <guid isPermaLink="false">https://medium.com/p/718b4df9de94</guid>
            <category><![CDATA[100-followers]]></category>
            <category><![CDATA[thank-you]]></category>
            <dc:creator><![CDATA[Donald Koech]]></dc:creator>
            <pubDate>Tue, 09 Aug 2022 09:07:16 GMT</pubDate>
            <atom:updated>2022-08-09T09:07:16.199Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kLJsmgMk8Rcfd1l6" /><figcaption>Photo by <a href="https://unsplash.com/@howier?utm_source=medium&amp;utm_medium=referral">Howie R</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>One thing about this platform is that every member has to announce any little or big achievement,in this case,100 follower milestone.Be it due to peer pressure or just a flex ,is yours to discern.</p><p>After a long layover trying to engage in political campaigns in my beloved country Kenya,(coincidentally elections is conducted today),I’m back to discover I achieved the highly coveted 100 follower status.For some It may be an easy and a need-for-concern stage in the blogging journey,but not to me!</p><p>For a long time I already knew about the highly controversial(or not for some in the rich countries) medium partner program,even before commencing my fun activity as a blogger.I already knew KENYA and many other countries don’t directly award the writers in this platform,but that’s not the issue.</p><p>As much as writing and blogging should depend on one’s psyche and passion to give out free information,education,advice and even opinions,I still think it would have been more fun to make rewards an open activity to all participants…even if the excuse of Stripe not being available in such regions is used.</p><p>It becomes uncool when you log on to a social media platform like Twitter only to find a video upload not being accessible in your location,Look ,we understand we are in 3rd world countries,but we’re great individuals with the same lifespan and contribution to this world as you folks!</p><p>Anyways my message was to thank my followers for finally getting me to somewhere I can reward myself and get the much needed energy to soldier on,MUCH LOVE!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=718b4df9de94" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Do this One thing to improve the world!]]></title>
            <link>https://donaldintech.medium.com/do-this-one-thing-to-improve-the-world-b46096ca0a8b?source=rss-e6c09d47caf------2</link>
            <guid isPermaLink="false">https://medium.com/p/b46096ca0a8b</guid>
            <category><![CDATA[help-others]]></category>
            <dc:creator><![CDATA[Donald Koech]]></dc:creator>
            <pubDate>Sun, 17 Jul 2022 19:56:05 GMT</pubDate>
            <atom:updated>2022-07-17T19:56:05.714Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lgy619tRvDWg6wbq" /><figcaption>Photo by <a href="https://unsplash.com/@anniespratt?utm_source=medium&amp;utm_medium=referral">Annie Spratt</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>We live in a world where infrastructure,technology and several other fields are taken a notch higher with every day that passes.However,it is also notable that human beings themselves are becoming miserable even with such advancements.</p><p>So how do we make this situation better if not best?I’m not asking anyone to be Elon Musk or Bill Gates,but if you have the ability then go for it.My suggestion is simple ,but not many find it a norm.</p><p>The ability and willingness to help other humans may seem vague and outdated but it’s important now than ever.A driver taking someone on the road is still an act of helping ,but that’s not what my plea is about in this article.You must have helped someone more than once in your lifetime,be it helping someone with their homework,crossing a busy road or even donating blood.How did you feel after such acts?Did you look forward to such opportunities in the future and did you feel worthy?</p><p>If your answers to such questions is yes,then you might have a gist on why I wrote this article.Helping someone especially directly is needed now more than ever.The world is experiencing major crises and most have turned to their gods ,but practically we only have fellow humans to turn to;whether to help,or get helped.</p><p>We recenly got images of James Webb Space Telescope(JWST),and we can only conclude how tiny our existences are and how only our cooperation as humans can effect anything of our own desires.Helping anyone in any situation positive or negative is the simplest and cheapest we can demand from ourselves.</p><p>Many humans waste their early years trying to find complex careers of their comfort and satisfaction,yet basing such dreams on supporting fellow humans in the simplest imaginable way,can just save their time and resources.</p><p>Finally,as much as I can preach on this platform for ages,I hope I’m directly trying to influence someone to notice how easy how lives could be if we have each other’s backs,in times of joy and despair.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b46096ca0a8b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You might have lived your Best Moment of your Lifetime]]></title>
            <link>https://donaldintech.medium.com/you-might-have-lived-your-best-moment-of-your-lifetime-393ef32ea753?source=rss-e6c09d47caf------2</link>
            <guid isPermaLink="false">https://medium.com/p/393ef32ea753</guid>
            <category><![CDATA[life]]></category>
            <category><![CDATA[best-moments]]></category>
            <dc:creator><![CDATA[Donald Koech]]></dc:creator>
            <pubDate>Fri, 08 Jul 2022 09:13:37 GMT</pubDate>
            <atom:updated>2022-07-08T09:13:37.171Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eww0VC5wcvjv4Es1" /><figcaption>Photo by <a href="https://unsplash.com/@robbie36?utm_source=medium&amp;utm_medium=referral">Robert Collins</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I recently attended a colorful wedding in my homecountry Kenya.We are a traditional lot ,so the event was by default full of traditional aspects;dishes,dresscode and the whole initiation generally.</p><p>Then came the moment of the ceremony and perhaps the moment of the young couples’ lives(exchanging vows).Everyone was in awe and could not stop discussions of how nice the 2 would settle and enjoy life.</p><p>As usual I had to organize my thoughts on how human lives,just like any other being,are uncertain.Suppose the marriage of the duo would not be as promising as had been portrayed during their big day.Suppose they could not agree on whether they would raise a certain number of kids,or whether to live in a city or suburb,then surely would their happy moments be behind them?</p><p>I’m not usually a pessimist but some issues need to be addressed so as to be reflected upon.Maybe one would take every promising moment as their last and make the most out of it.</p><p>But who said someone has to have only one best moment?Achievements may come in numerous proportions and one would easily find it diffucult to establish their peak.</p><p>It is important to note that not all achievements are happy moments for everyone;one’s peak might just be a normal day in office for someone else.This may depend on their past achievements,expectations or even your lifestyle generally.Someone may be aiming soo high that a usual peak moment isn’t enough for them.Also,one might have achieved soo much in the past that the only way they would consider themselves happy is by smashing their records.</p><p>Finally,I would like to say not all best moments must happen at a young vibrant age.According to your perception of life,your best moment might even show up in your 90s,when you greet your grandkids.So live your life accordingly, and take advantage of your joyous moments by making the most out of them!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=393ef32ea753" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Machine Learning in 7steps!]]></title>
            <link>https://donaldintech.medium.com/machine-learning-in-7steps-be40baf2f5e5?source=rss-e6c09d47caf------2</link>
            <guid isPermaLink="false">https://medium.com/p/be40baf2f5e5</guid>
            <category><![CDATA[learn-machine-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Donald Koech]]></dc:creator>
            <pubDate>Wed, 29 Jun 2022 17:06:41 GMT</pubDate>
            <atom:updated>2022-06-29T17:06:41.654Z</atom:updated>
            <content:encoded><![CDATA[<p>In the previous article on how machines learn(shallow end,I’ll keep getting deeper)</p><p><a href="https://medium.com/@Pacesetters/how-exactly-do-machines-learn-9c8c32a60037">How exactly do machines learn?</a></p><p>For any simple to complex ML project,a few processes must be followed,I hate rules!Anyway,they only make the model learn and produce the closest to what a human would produce as an end product.</p><ol><li><strong>Data Collection</strong></li></ol><p>Food to human is like data to ML models,it’s the most essential step.One has to import data from their external files be it excel,csv,json and many more ,into platforms where they can incorporate various libraries to work with the model such as notebooks and visual studio code.</p><p>2.<strong>Data Preparation</strong></p><p>After you have your data in place,you might want to make it easy for your model to learn faster and effectively ,so processes such as removal of duplicates,resolving missing sections and removing unnecessary sections ,are important.</p><p>This process is similar to taking your kid to a good learning environment and fewer distractions ,with better resources to enable better learning outcome.</p><p>3.<strong>Splitting the Data</strong></p><p>When everything is set,you will allocate a certain amount of the data for learning while the rest becomes evaluation data.This is done using various libraries(we’ll tackle them later😁)or by programming it all by yourself.</p><p>The data for training is usually around 3/4 of the total since a model needs to find various patterns and thus needs access to lots of data.</p><p>4.<strong>Build a Model</strong></p><p>Finally your baby is to be made here!Depending on your problem in question or objective at hand,a suitable algorithm is used .They include;K-means clustering,Linear and Logistic regression.If your data is so messy ,you might want to avoid logistic regression algo and try k-means instead.</p><p>If you’re wondering where such models come from,don’t worry.Luckily our brothers and sisters who study algebra and differential equations are to thank,several libraries exist nowadays to export from eg;scikit-learn,or you might want to program them yourself.</p><p>5.<strong>Training the Model</strong></p><p>Also one of the most important steps,the data is fitted into the model using various functions and thus training takes place.Behind the scenes,it acquires patterns and uses artificial intelligence to make use of the information.</p><p>6.<strong>Putting the model into action and evaluation</strong></p><p>After getting insights from the data fed to it,the model roles its sleeves and gets into work.Using the same functions,one is able to make a conclusion on how their baby fares and smile or otherwise.Several performance metrics exist such as Accuracy,precision and their mean called F1 score.Either way,you made it!</p><p>7.<strong>Actionable insights</strong></p><p>Based on the performance above,one can decide to make changes in the changeable parameters of the algo .For example,in K-Nearest Neighbor algorithm,k can be tuned.</p><p>One can also decide to incorporate other algos in what we call boosting,stacking and bagging which in general defines ways in which several methods can be used together to obtain a better ouput.</p><p>This is however not the end of your project as there’s always a room for improvement in performance and complexity.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be40baf2f5e5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How exactly do machines learn?]]></title>
            <link>https://donaldintech.medium.com/how-exactly-do-machines-learn-9c8c32a60037?source=rss-e6c09d47caf------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c8c32a60037</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[unsupervised-learning]]></category>
            <category><![CDATA[supervised-learning]]></category>
            <dc:creator><![CDATA[Donald Koech]]></dc:creator>
            <pubDate>Sun, 26 Jun 2022 06:46:48 GMT</pubDate>
            <atom:updated>2022-06-26T06:46:48.025Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Lqg58ye4WGdE6B7U" /><figcaption>Photo by <a href="https://unsplash.com/@ray30?utm_source=medium&amp;utm_medium=referral">ray rui</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Machine learning(ML) has become a popular term with anyone in the wide tech industry.It simply means teaching or putting a machine in an environment where it can learn and make conclusions on its own,yes ,just like you and me!</p><p>It is a field within the larger Artificial Intelligence(AI) ,the latter being a whole term used to refer how machines and computerized devices are made to think and perform ‘our’ functions.One day they may replace us(True story)</p><p>So how do they really get to the point of almost replacing us?First let me get into the various categories of ML.</p><ol><li><strong>Supervised ML</strong></li></ol><p>This branch simply means a machine taking its time to train using labeled data before getting to predict using the intelligence it has gathered ,not so simple eeh…It’s usually referred to as predictive approach to machine learning.So in short,a model is created ,data is fed into it,trains using a certain portion of the data and so it’s then evaluated according to its performance,thus the name ‘supervised’.</p><p><strong>Examples of algorithms</strong></p><p><em>Decision trees</em>-As the name suggests,the data is classified into trees after the machine model is trained.</p><p><strong>Applications</strong></p><ul><li>In chatbots where a model learns from previous data and makes prediction based on it.</li><li>In bank systems for loan management-models predict which customer is to be granted a certain loan based on previous history of similar customers.</li></ul><p><strong>2.Unsupervised ML</strong></p><p>As the name suggests,it is a branch that deals with unlabeled data ,and is often referred to as descriptive approach to machine learning.In simple terms,a machine uses algorithms to make sense of the data fed to it and identifies its own patterns,thus the word ‘unsupervised’.</p><p><strong>example of Algorithm</strong></p><ul><li><em>K-Means clustering</em>-a machine model is trained to decribe data in its own way therefore grouping data in clusters after learning of the characteristics of the data.</li></ul><p><strong>Applications</strong></p><ul><li><em>Anomaly detection</em>-model classifies data according to similar characteristics and thus ouliers are labeled as anomalies.</li><li><em>Clustering data</em>-in situations where large data with random characters are involved eg ;dogs in a shelter,ML models are used to group them.</li></ul><p><strong>3.Reinforcement Learning</strong></p><p>Perhaps still not heard by many,it is one of the most important one in terms of technological evolution and advancement.It is a branch of ML in which a model learns from interaction with the environment.The models (agent) maximises reward function either after every correct step or at the entirety of the process.</p><p>In RL,problems are represented mathematically using Markov Decision Process(MDV),while the Bellman’s equation is used to solve the MDV,in 2 ways;</p><p>a)<strong>Monte Carlo Method</strong></p><ul><li>This method has a reward after an episode and not after every step.</li><li>It also favours exploiting data and finding new insights</li></ul><p>b)<strong>Temporal Difference Method</strong></p><ul><li>unlike MCM,rewards are updated after every step and favours using continuous data.</li></ul><p><strong>Applications</strong></p><ul><li><em>In the world of Robotics</em>-the robot(agent) learns from the environment from its interaction and takes certain actions according to rewards given for every step.</li><li><em>autonomous vehicles</em>-several algorithms are incorporated as well as other fields such as deep learning to be applied in motion planning,dynamic pathing,controller optimization as well as policies like parking,overtaking and speeding.</li></ul><p>In general,although I made this article as simple as possible, ML is more complex and exciting than it seems.</p><p>As much as ML is realizing an increased application over the last few years,it might take a whole lot of decades to be anywhere near human intelligence.However it must be appreciated for the benefits that are visible for mankind and be embraced as a human invention for the better future.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c8c32a60037" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>