<?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 raghavb on Medium]]></title>
        <description><![CDATA[Stories by raghavb on Medium]]></description>
        <link>https://medium.com/@raghavb?source=rss-6b8d5e1a3b3f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*cg2E3aoNhViHeEEe.jpg</url>
            <title>Stories by raghavb on Medium</title>
            <link>https://medium.com/@raghavb?source=rss-6b8d5e1a3b3f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 19:33:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@raghavb/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[Getting hired at a startup]]></title>
            <link>https://medium.com/@raghavb/getting-hired-at-a-startup-89a51de681c9?source=rss-6b8d5e1a3b3f------2</link>
            <guid isPermaLink="false">https://medium.com/p/89a51de681c9</guid>
            <category><![CDATA[hiring]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[raghavb]]></dc:creator>
            <pubDate>Tue, 05 Feb 2019 06:43:56 GMT</pubDate>
            <atom:updated>2019-02-05T12:37:02.433Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Startup founders are always hiring, and finding the right talent is hard. We need some help. Please make it easy to find you :)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C8sCpGE0iOhFqFilnrt-Lw.jpeg" /></figure><p>Hiring for tech roles is easy! said no founder ever. Every time you start with “hiring” fellow founder sighs even before you complete the sentence. So there is no hiring playbook as such. Before you get any more ideas, this blog does not attempt to offer any playbook either :) The simple advice we get is “keep at it,” well that applies to everything at a startup.</p><p>There are a lot of engineers (I am using this term broadly, applies to anyone working tech irrespective of their formal vocation) for tech roles, and there are quite a few startups who are looking to hire good talent. There is a market, but the market-making is hard! There is no simple solution, but if both participants, i.e., aspirants and startups, put in some more work maybe it can become a little easier.</p><p>Below are a collection of thoughts based on two-and-half years (and rolling) of hiring for all roles from internships to platform engineers. There is some advice for aspirants, startups (including information for self) and an appeal to the unicorns/soonicorns, etc.</p><h3>What can aspirants do?</h3><p>Going through a hiring process is hard. We try to be very empathetic throughout the process. We were aspirants at some point too. So we ask what we will tell 20-yo selves if we were applying to startups today? Just three things.</p><h4>Build and share — resumes are no longer fashionable</h4><p>We want to hire people sincerely, but resume tells us nothing! In a world data-driven world, mere words do not help. Be an engineer:</p><ul><li>Build something interesting, share your code (GitHub, Bitbucket, et al.),</li><li>Talk about your code (meetup talks),</li><li>Share your thoughts on technology (blog) or have a website (it’s easy with <a href="https://pages.github.com/">Github Pages</a>)</li><li>Participate in community discussions (StackOverflow et al.)</li></ul><p>It’s a process! Start early, practice, and you will reap the benefits soon. You can read this short article by <a href="https://amitkaps.com/">Amit Kapoor</a> on <a href="https://amitkaps.com/learning-data-science">Learning Data Science</a>. Although written with DS in mind, it is applicable in general too. The more data points you share, brighter your chances of landing a good role. In our case, we expedite such applicants. Sometimes short-circuit interview rounds.</p><p>If you have done a nanodegree, MOOC, etc. great but build something outside of the course, get your hand dirty. Show everyone what you are curious about in tech.</p><p>Only a few people do all of the above on their own. We want more aspirants to do well in the future. <em>Let your work speak for you, no point saying “give me a chance, and you won’t regret it” or the proverbial “jaan laga denge” (we will work our ass off) </em>this does the exact opposite of what you intend. It’s a turn-off.</p><p>Finally, if a resume is a must, then please keep it <em>up-to-date, well formatted, buzzword-free and in PDF</em>!</p><h4>Know more about the startup</h4><p>During the interview process, you will talk to a lot of people within the startup. Evaluate if you like what you see, if not close the process sooner. We try and do it on our end.</p><p>Always research companies you want to apply, who are founders, do they have a digital footprint, what do they share, read the company blog, read their technical blog, find the team members, etc. This research helps you get more data points on the target. You will be spending a lot of time at work, so finding the right match is necessary.</p><p>Please do not spray your resume and put the entire burden of communication on the startup. We have been on many calls (scheduled with calendar invites) in which the aspirant had no clue who we are! Hygiene. <em>Cliches do not help, e.g., your company is very successful, and I want to be a part of it. At an early-stage no is successful :)</em></p><p>Working for a startup is hard, please be aware of it. It’s not as sexy as it is made out. You will learn a lot, you will be responsible for more critical pieces of the stack but your work environment with be fluid and there will be no hierarchies.</p><p><em>Please read this excerpt from Paul Buchheit’s (creator of Gmail) old interview on </em><a href="https://github.com/rorodata/careers/blob/master/joining-a-startup-motivation.md"><em>motivations to join a startup</em></a><em>.</em></p><h4>Write well, communicate better</h4><p>The interview process can be long, with multiple rounds. We restrict ourselves to three with one technical assignment and a Skype discussion on the same.</p><p>Open and candid communication is appreciated. Startup founders have a lot of follow-ups to do, be prompt and reduce some burden :) We value our time and yours too. So please take telephonic interview calls on the agreed time. Some change in schedule is fine.</p><p>Many companies have moved away from <a href="https://medium.freecodecamp.org/why-is-hiring-broken-it-starts-at-the-whiteboard-34b088e5a5db">whiteboard interviews</a>. We too try and avoid it as much possible and share interesting exercises. For brownies points, turn in assignments before the due date. If you need time, please communicate. Usually, people understand.</p><p>Even if you want to drop out of the process at the technical round, say so. <em>We once had a request to finish all rounds of interview and do the technical round last!</em></p><p>Communicating more is ok. Poor communication and laxity in adhering to timelines is a serious red flag, more so if the position is a remote one.</p><h3>What can startups do?</h3><p>I will try to be brief here; we anyways get a lot of advice :D</p><p>We too get a lot of rejections from candidates. Some refuse weeks after accepting the offer. It’s hard. But we try and look at it as a failure on our part to sell ourselves and communicate better. So what can we do fix this? <strong>Be visible.</strong> We trying hard to do this and hope to improve a lot in 2019</p><ul><li>Maintain a company blog and an engineering blog</li><li>Encourage the team to speak at meetups and conferences</li><li>Host meetups or actively participate</li><li>Contribute to open source and share about it</li></ul><p>Of, course <em>keep at it :)</em></p><p>Finally, an appeal to unicorns, soonicorns, etc. We have to sustain and grow the ecosystem, and so developer salaries have to be manageable. Girish Mathrubootam spoke about <em>Ethos </em>in his closing keynote at <a href="http://www.saasboomi.com/">SaaSBoomi</a> — think about the ecosystem and not disrupt it with a win at any cost approach. We really need more founders like Girish to build a product ecosystem in India.</p><p>So see you in the market :D Please ping if you any more suggestions and advice. Love to hear.</p><p><em>Of course, we are hiring for engineering roles. We are building an AI planning platform for enterprises to help them operate a data-driven, responsive and smart supply chain.</em></p><p><em>We have some exciting pieces of technology in the works — we are building a Kubernetes powered ML platform for training and deployment, highly available and scalable feature store for models, and frontend design system. We will be sharing more about it in our engineering blog in a few weeks. Please check our </em><a href="https://angel.co/rorodata/jobs/"><em>careers page</em></a><em> for more details.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89a51de681c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI in Healthcare, taking baby-steps in India]]></title>
            <link>https://medium.com/@raghavb/ai-in-healthcare-taking-baby-steps-in-india-aae11bb6c19b?source=rss-6b8d5e1a3b3f------2</link>
            <guid isPermaLink="false">https://medium.com/p/aae11bb6c19b</guid>
            <category><![CDATA[machine-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[healthcare]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[health-technology]]></category>
            <dc:creator><![CDATA[raghavb]]></dc:creator>
            <pubDate>Thu, 21 Sep 2017 10:34:11 GMT</pubDate>
            <atom:updated>2017-09-21T10:34:11.773Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Healthcare sector generates 65o GB data per million revenue. Startups are harnessing the knowledge in this data to build next generation of high impact products. Here is an overview of AI-based healthcare startups in India</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/895/1*KaxNz_PQR9JiC8LiVcfUTA.jpeg" /><figcaption>Source: Big Hero 6 | YouTube</figcaption></figure><p>I was introduced to the world of medical devices in 2009–10 when a client walked in with a go-to-market mandate for a “smart” stethoscope. When we looked at the device, it looks something like the image below. The smartness of the stethoscope lay in the fact that it could also take an Electrocardiogram (ECG). The rationale for the product was quite novel, faster turnaround of prognosis by eliminating multiple runs to a diagnostic center. The tiny form factor made it suitable for intense use on the field, especially remote rural locations. The product seemed exciting, but there were some interesting challenges:</p><ul><li>It was still not solving the last-mile problem — the target user for the product was a <a href="https://en.wikipedia.org/wiki/General_practitioner">general practitioner</a> (GP), each user was expected to have medical degree to interpret the ECG</li><li>Irrespective positioning, the device was an alternative to a standard ECG machine, and this is a crowded space (GE was already in India with a frugal, compact, affordable <a href="http://www.business-standard.com/article/companies/ge-healthcare-launches-low-cost-portable-ecg-109112400032_1.html">3-channel ECG</a> machine)</li><li>The price was somewhere in the neighborhood of $550–650 (maybe a little more too), which was 25–30x the price of a regular stethoscope. GPs were unwilling to make any heavy upfront investments without a clear ROI</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iYnD7hyQWeSfv_uy5SxQKQ.png" /><figcaption>Note: Just a sample image, not the exact device</figcaption></figure><p>Our research revealed that these challenges were not unique to this device alone. The medical device space was more hardware driven; the focus was on making devices compact, portable and affordable. Large companies dictate the innovation agenda in this area. There are startups in the space who did reasonably well, e.g., <a href="http://www.perfinthealthcare.com/">Perfint</a> but they focused mostly on higher-end equipment.</p><p>But everything changed in the “software is eating the world” paradigm. The intelligence engine of medical devices expeditiously moved from hardware to software. This software could run on mobile phones or smaller hardware boards, of course, advances in processor tech and cloud tech worked as a catalyst. Suddenly space opened up. With software, it was now <em>“easier”</em> to build a prototype, test a new technique, and experiment with new platforms.</p><h4>Software is eating healthcare</h4><p>I observed this “software is eating healthcare” phenomenon play out in front of me when I got a ringside view of another go-to-market for a medical device. The chatter this time around was more around machine learning, and how algorithms could learn with more data and software would improve with every data cycle.</p><p>The product in front of me was a handheld diagnostic device for eye-care. The device had a high-resolution <a href="https://en.wikipedia.org/wiki/Fundus_photography">fundus</a> camera with an onboard inference software. With the fundus image as input, the algorithms could detect anomalies and predict any possible medical condition, e.g., <a href="http://circ.ahajournals.org/content/133/16/1605">diabetic</a> retinopathy. It was incredible to see what this device could achieve. Just with an algorithm update, the device could detect more <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4112401/">anomalies/disease conditions</a>. No hardware upgrade! Sometimes, just a powerful smartphone is good enough. A move from hardware to software will flip the medical device market on its head.</p><p>Compared to the smart stethoscope discussed earlier, the eye-care diagnostic device one key differentiating factor. The target user for the device was non-doctors medical staff. Non-experts could use the device in the field and access the results instantly. The doctor, of course, received the results in real-time. What does this mean? You don’t need a doctor opinion for every scan; expert opinion can be sought only for borderline cases. Suddenly, this increases the capacity of a doctor by a sizable factor. In emerging economies, where <a href="http://data.worldbank.org/indicator/SH.MED.PHYS.ZS">doctor-to-population-ratio</a> is less than 1, such an approach democratizes both access and delivery of high-quality care.</p><p><em>Side-Note: Even in the case of the eye-care diagnostic device, the pricing strategy, and distribution design were critical for success. But these challenges were identified early. We will discuss some of these elements in later.</em></p><p>In the current landscape, we see many healthcare device start-ups coming up with a similar motive of democratizing access and delivery of high-quality care. Even biggies such as <a href="https://www.wired.com/2017/06/googles-ai-eye-doctor-gets-ready-go-work-india/">Google</a> too are trying their hand (although they may stop with API and not go down the hardware route).</p><p>So, where is artificial intelligence? Most of these new software-driven healthcare devices are powered <a href="https://en.wikipedia.org/wiki/Supervised_learning">supervised</a> machine learning (in some cases deep learning) algorithms at its heart. Data scientists use historical labeled data to train a prediction function (the algorithm), and with more data the prediction functions become accurate. Access to open source software tools in statistical machine learning (such as <a href="http://scikit-learn.org/">Scikit-learn</a>) and neural network software tools (such as <a href="https://www.tensorflow.org/">Tensorflow</a>, <a href="https://keras.io/">Keras</a>, <a href="http://pytorch.org/">Pytorch</a>, <a href="http://mxnet.io/">Mxnet</a>) coupled with access to <a href="https://archive.ics.uci.edu/ml/datasets.html?format=&amp;task=&amp;att=&amp;area=life&amp;numAtt=&amp;numIns=&amp;type=&amp;sort=nameUp&amp;view=table">public</a> and private datasets has made prototyping, and experimentation easier.</p><p><em>Side-Note: There is also something called unsupervised learning which does not require a labeled data. But this technique is still under active research, and it will be a few years before it matures and becomes mainstream.</em></p><h4>Mapping the Healthcare AI startup landscape in India</h4><p>Based on data from Angelist and few other startup databases, the number of startups in the space is estimated to be 25.</p><p><em>Disclaimer: I’ve considered all healthcare start-ups that have an explicit AI-first approach and others that have a stated AI strategy and a team to pull it off. There may be many more startups in stealth mode which I have not covered.</em></p><p>Instead of segmenting these startups vis-a-vis human anatomy, I decided to segment them on three value chains (1) <em>care,</em> i.e., outpatient or inpatient care (2) <em>drugs</em>, i.e., drug discovery, trials or distribution (3) <em>finance</em>, i.e., insurance. The value chain approach helps us spot competitive sub-segments and white-spaces.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A1_eoB_4AqQ4RdFwuHTR3w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E_99OzDxNWiq1CbQMu37LA.png" /></figure><p>It’s interesting to see that there is a lot of action in the Quantified Self, Outpatient, and Diagnostics sub-segments. Diagnostic sub-segment alone accounts for 12 (48%) of the 25 all healthcare AI startups. Vintage-wise, no AI healthcare cos are more than two years old.</p><p>There is hardly anything happening in-patient onwards, not much action in drugs or insurance either. These are tough markets, at times capital intensive and require significant research and development talent. Startups such as <a href="http://www.logistimo.com/">Logistimo</a> has been working hard on optimising last-mile drug supply; it takes years to fine tune algorithms and fine-tunes solutions.</p><p>Large companies such as GE, Siemens, Philips still dominate the inpatient medical device market.</p><p><em>Side-Note: Going forward, I believe that hospitals are better placed to lead the AI-based medical device innovation across the entire care value chain. Hospitals have access to large repositories of quality data. Moreover, they have all the domain experts. Whether hospitals should go alone, partner with startup or corporates will be a function of strategy. But it’s a great avenue that hospitals must actively pursue.</em></p><h4><strong>Diagnostics dominate the Healthcare AI in India</strong></h4><p>Diagnostics is the most frequently used service in the care value chain. We all have gone through this at some point; a doctor recommends multiple tests before zeroing on a treatment path. But this is also a thing that sucks up a lot of time. Why so? Because the entire process is manual, there is human at every level. So, the throughput of a diagnostic center is a function of its workforce efficiency. In some cases, the techniques used may be slow as well, for example, chemical-based blood/urine test.</p><p>Test turnaround time is crucial, so any technology that can expedite the process is a boon. That’s why we see a lot of action in the space. So why AI in the space? Well, because every diagnostic report is a prediction! A summary of vital parameters (vis-a-vis normal levels) will point to potential disease condition(s). Data-driven predictions are squarely the domain of AI.</p><p><em>Side-Note: Most healthcare startups are hardware startups. With rapid advances in sensor technologies, we observe that many startups experimenting with non-invasive test techniques, replacing old, painful, invasive ones. A side benefit of non-invasiveness is that anyone can use it with limited training. So you will see startups with AI+Non-invasive+Smaller Form-factor pattern a lot in the diagnostics space.</em></p><p>Favourable demand-supply dynamics and slow incumbents mean this market is perfect for startups. But, there are some more reasons why I feel there are more diagnostics startups:</p><ul><li>Mobile phones have become powerful computers and cameras, and work as high-end data capture device. Of course there is willingness to use it for medical purpose</li><li>Data storage has become cheaper, encouraging everyone to digitize and store every data point</li><li>High speed compute, e.g., GPU is accessible at lower cost</li><li>Increasing variety of robust sensors which are replacing traditional chemical methods</li><li>Regulatory approvals for non-invasive medical devices is less onerous than invasive ones</li><li>Focus on user interface design which enables even less-skilled personnel to operate a device</li></ul><p>We’re merely scratching the surface; there is a lot expected from this sub-segment. As new devices reach gold-standard levels, they will replace the traditional approaches.</p><h4><strong>Labeled datasets — fuel for the diagnostic engine</strong></h4><p><em>Data is the new oil</em> is a big cliche in the big data world. With the rise of machine learning, the mantle of the proverbial oil has now been passed on to <em>labeled data</em>. Supervised learning is the most preferred paradigm in machine learning. Algorithms in this approach need a significant amount of labeled or annotated historical datasets as inputs. You can pick any well-funded AI product to validate this trend. So now, <em>labeled data</em> is now considered the <em>“new new” oil</em>.</p><p>In the healthcare AI space (actually all of the AI product landscape) algorithms are a commodity, access to or ownership of labeled data is the key differentiator. Startups who have proprietary data or have built strong data partnerships will create wider moats. Take the example of Sigtuple, the company spent significant resources forging data partnerships with diagnostic labs, and you can read more about it <a href="https://factordaily.com/ai-medical-diagnostics-sigtuple/">here</a>.</p><p>Everyone is hunting for labeled datasets. Public datasets such as UCI are a good starting point for experimentation, but access to proprietary data is essential to build a sustainable business.</p><p>Unlike other use-cases such as fashion and retail, creating labeled datasets for healthcare is quite expensive. You need specialists, doctors to spend time in creating this data. None of these resources are cheap.</p><p>In the current landscape, the innovation is led by tech startups, but in the recent future, I would expect hospitals to lead the charge. Hospitals have troves of data and the workforce to create labeled datasets. All hospitals need is a good AI strategy to productize some of this data to improve their care delivery. Some of these products can be released to the market as well. There is going to be a lot of activity in the space.</p><p><em>Side-Note: So here’s another idea for a startup — a solution that allows hospital’s to anonymize the data and make it available as an API. Hospitals can either use the API themselves or collaborate with startups. This is like banks sharing their SDK with fintech cos.</em></p><h4>We still need human-in-loop</h4><p>Doctors make predictions on disease type and treatment path based on symptoms and reading of vital parameters from a diagnostic report. Any error in diagnosis or an incorrect treatment can yield disastrous results.</p><p>When doctors use AI generated diagnostic reports, it’s important that reports are very accurate. Most AI-powered devices always have a human-in-loop element to ensure accuracy. e.g., in case of blood test, it will be a pathologist. With every iteration (influx of new data) the errors are expected to decline gradually, and at some point, we may not need a human-in-loop.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jAt5MlT0Ju2z_Zi9N45ByQ.png" /></figure><p>Often this higher accuracy comes at the expense of interpretability, i.e., we are not able to fully explain the reason for the prediction. This tradeoff sometimes limits the use of machine learning models in mission-critical healthcare use-cases. For AI in healthcare ability to understand, validate, edit, and trust a learned machine model is important.</p><p>Lot more research will be hitting mainstream over the next few years, and we may see this trade-off waning away. Until then we will have human-in-loop models at work.</p><h4>Loose ends</h4><p>I want to close this post by talking a little bit about revenue model, pricing, and distribution.</p><p>We have seen many a great product fail because founders underestimated the complexity of revenue model, pricing, and distribution trio. <a href="https://a16z.com/2017/06/09/distribution-model-sales-channels/">a16z</a> podcast has some great ideas on the topic.</p><p>I’m summarizing some of the trends I noticed in the healthcare AI landscape, I’ll write a lit more in detail about this in a later post maybe.</p><ul><li>Razor-Razorblade Model — works better for bigger companies with an established distribution channel. Startups may new onboard customers, but it may be difficult to retain and service consumables at a lower cos</li><li>App Store Model — this is a variation of the razor-razorblade model, in which the hardware sells for a discount but the subsequent software or app upgrade comes for a price. With a well-designed hardware, this can work wonders</li><li>API Model — charge for API access and works with established players to produce the device. In this case, startup can work on the API and transfer the hardware risk to a partner</li><li>Financing is an important aspect of distribution, many times ignored. EMI’s work everywhere, so right financial partners are key.</li><li>A tie-up with a corporate company for extended distribution reach. We have seen a few cases, but the results are quite mixed. Setting-up a distribution channel from scratch is challenging, and it takes time to build trust across the value chain.</li></ul><p>I’m sure there will be more innovative revenue models, distribution approaches. It will be good to share and learn from other successful models.</p><p>So, is AI taking over healthcare or diagnostics? Well, note yet. There is a long way to go.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aae11bb6c19b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Firefly: Building Block for ML-DL Deployment]]></title>
            <link>https://medium.com/rorodata/firefly-building-block-for-model-deployment-62b852b7ba88?source=rss-6b8d5e1a3b3f------2</link>
            <guid isPermaLink="false">https://medium.com/p/62b852b7ba88</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[raghavb]]></dc:creator>
            <pubDate>Mon, 17 Jul 2017 10:39:53 GMT</pubDate>
            <atom:updated>2017-12-29T09:57:39.040Z</atom:updated>
            <content:encoded><![CDATA[<p>Demo</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4fr6nzPlFB7LeLdIWxFsdA.jpeg" /></figure><p>Building machine learning models is hard, deploying them in production environments is even <a href="http://ocadotechnology.com/blog/building-ml-models-is-hard-deploying-them-in-real-business-environments-is-harder/">harder</a>. If a model does not work in production, then it’s worth nothing. We all know of the famous Netflix case-study, the winning model was so complex that it was never deployed in production.</p><p>“Productionizing” machine learning requires nuanced understanding of data science, software engineering and DevOps. We too have data scientists on our team, we know that this is not an easy undertaking. Of course, we can hire but this is easier said than done.</p><p>In order to help data scientists productionize their work faster, we’re building a data science platform, rorodata. The aim is to abstract and automate all the non-data science workflows and provide a simple API to data scientists. Think of us as heroku for data scientists, on-premise and on-cloud.</p><p><a href="https://github.com/rorodata/firefly">Firefly</a>, is building block in our model deployment service. This is under active development. Here we’re presenting the slides from our founder, <a href="http://anandology.com/">Anand Chitipothu</a>’s lightening talk on Firefly at Europython 2017.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fspeakerdeck.com%2Fplayer%2Fe6c904947e92496587da9531ca12950d&amp;url=https%3A%2F%2Fspeakerdeck.com%2Fanandology%2Ffirefly-deploying-functions-made-easy&amp;image=https%3A%2F%2Fspeakerd.s3.amazonaws.com%2Fpresentations%2Fe6c904947e92496587da9531ca12950d%2Fslide_0.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=speakerdeck" width="710" height="463" frameborder="0" scrolling="no"><a href="https://medium.com/media/92e20c79bdadf0dbda306a4ac29206a5/href">https://medium.com/media/92e20c79bdadf0dbda306a4ac29206a5/href</a></iframe><p>Try it out and we’d love to hear your views and feedback. You can more via any of the following means:</p><ul><li>Visit us at <a href="http://rorodata.com/">http://rorodata.com</a></li><li>Checkout our repo <a href="https://github.com/rorodata">https://github.com/rorodata</a></li><li>Join the discussion on slack <a href="http://slack.rorocloud.io/">http://slack.rorocloud.io/</a></li></ul><p><em>Yes, we’re </em><a href="https://angel.co/rorodata/jobs"><em>hiring</em></a><em> for both full-time positions and long-term internships.</em></p><p><em>If you liked this piece, click the ❤ below so other people on Medium will see this here. Also, if you have any question or suggestion, please leave us a comment</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=62b852b7ba88" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rorodata/firefly-building-block-for-model-deployment-62b852b7ba88">Firefly: Building Block for ML-DL Deployment</a> was originally published in <a href="https://medium.com/rorodata">rorodata</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dodging spam in web apps with captcha]]></title>
            <link>https://medium.com/@raghavb/dodging-spam-in-web-apps-with-captcha-82bf498e02ff?source=rss-6b8d5e1a3b3f------2</link>
            <guid isPermaLink="false">https://medium.com/p/82bf498e02ff</guid>
            <category><![CDATA[captcha]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[wagtail]]></category>
            <category><![CDATA[django]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[raghavb]]></dc:creator>
            <pubDate>Sat, 10 Sep 2016 17:04:30 GMT</pubDate>
            <atom:updated>2016-09-10T17:04:30.639Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XTcd9yZ8Od5vtI1WAX1YuA.jpeg" /></figure><p>Web apps these days are quite interactive, which means they have a lot of i/o functionalities. One of the most common input channel on web apps is “a form”. Form is quite a simple input channel, but brings in a lot of spam if not handled well. Just check your google analytics for bots that hit your website.</p><p>Amateur developers (including me) build many small apps and it is important that we secure our apps against spam. Unless you like cleaning spam :) One of the simplest solutions to prevent spam submissions is a “captcha”. Over time, captcha tech has matured and it is now easy for us amateurs to incorporate them in our apps. Here is one solution by Google, <a href="https://www.google.com/recaptcha/intro/index.html">reCaptcha</a>. I recently used reCaptcha in my small side project for Design Sprint (more on this in a separate post), you can check here <a href="http://www.minteller.com/">www.minteller.com</a> I built this app using a brand new Django-based CMS <a href="http://wagtail.io/">Wagtail</a>. Wagtail is awesome! for django developers this is very to pick and get going.</p><p>In this post I will describe how easy it is to include captcha in your forms and get rid of any spam submissions. I will be using wagtail example, but this can be easily integrated into any django project.</p><p>Step 1: Add the wagtailcaptcha (same steps will apply to the django-recaptcha as well)package to your project</p><pre>pip install wagtailcaptcha</pre><pre>pip freeze &gt; requirements.txt <br># adds the recaptcha app to the requirements file, used for remote deployments</pre><p>Step 2: Include the app “wagtailcaptcha” (for django-recaptcha it will be “captcha”)in the INSTALLED_APPS list in the appropriate settings file base.py (this is default file) or dev.py</p><pre>INSTALLED_APPS = [<br>…,<br>‘wagtailcaptcha’,<br>…,<br>]</pre><p>Step 3: Get the public and private API keys for the captcha service. Open login to the recaptcha service of google, <a href="https://www.google.com/recaptcha/intro/index.html">reCaptcha</a> and click on “Get reCaptcha”, and scroll to the following form</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DFGKzRXMstgW5hwRrXqtQw.png" /></figure><p>Add appropriate label, and include all the domains on which the target form is expected to appear. On submission you will get the Site Key and Secret Key</p><p>Step 4: Add the Site Key (SITE_KEY) and the Secret Key (PRIVATE_KEY) to the environment variables. Do not include the key’s directly in your settings files i.e. base.py or dev.py</p><p>Step 5: Provide all the captcha settings in the settings files base.py or dev.py (or production.py, whatever is being used for final settings)</p><pre>RECAPTCHA_PUBLIC_KEY = os.environ[‘SITE_KEY’]<br>RECAPTCH_PRIVATE_KEY = os.environ[‘PRIVATE_KEY’]</pre><pre># include nocaptcha recaptcha setting</pre><pre>NOCAPTCHA = True</pre><pre># enable SSL flag, if the data exchange needs to be secure. Not needed for small apps</pre><pre>RECAPTCHA_USE_SSL = False</pre><pre># local proxiy settings if necessary, do not set this flag to true for remote deployments</pre><pre>RECAPTCHA_PROXY = &#39;http://127.0.0.1:8000&#39;</pre><p>Ok now all the settings are in place, not time to include the captcha is forms. From hereon the procedure for wagtailrecaptcha and django-recaptcha are different. In case of django-recaptcha you have to include a recaptcha field in the form model i.e. captcha = ReCaptchaField()</p><p>Step 6: In case of wagtail, we just import the WagtailCaptchaForm and use it to sub-class our form. That’s it, we’re done!</p><pre>from wagtailcaptcha.models import WagtailCaptchaForm<br><br>class FormPage(WagtailCaptchaForm):<br>    body = RichTextField(blank=True)<br>    thank_you_text = RichTextField(blank=True)</pre><p>When form fields are displayed in browser, we get a wonderful working captcha. Say no to spam :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-AYrDKZSgoDYDVEFYAnCxg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=82bf498e02ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[We have a few Yes Men! in Kolhapur]]></title>
            <link>https://medium.com/@raghavb/we-have-some-maverick-bankers-in-kolhapur-9c04363f5adf?source=rss-6b8d5e1a3b3f------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c04363f5adf</guid>
            <category><![CDATA[india]]></category>
            <category><![CDATA[women-in-business]]></category>
            <category><![CDATA[msmes]]></category>
            <category><![CDATA[maharashtra]]></category>
            <category><![CDATA[finance]]></category>
            <dc:creator><![CDATA[raghavb]]></dc:creator>
            <pubDate>Sat, 13 Aug 2016 08:05:51 GMT</pubDate>
            <atom:updated>2016-08-19T01:36:45.146Z</atom:updated>
            <content:encoded><![CDATA[<p><em>In the movie “Yes Man”, Jim Carrey’s character Carl Allen makes numerous unsecured small loans to small businesses in the bank’s neighborhood. All this because he can’t say “No”. The bets come good and banks promotes him and creates a new business vertical. This piece is to see if we such Carl Allens in Maharashtra, and boy there are some in Kolhapur</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*nfxxDHJdnNBf5w_j_S5oRQ.jpeg" /></figure><p>While I explore the overall small business or MSME market in Maharashtra, I will have a minor focus on women MSMEs and finance access to them. Women-owned MSMEs is a very interesting segment, highly overlooked, but with super potential. I have some knowledge on the topic, but there was desire to explore further. I remembered that I was sitting on this raw data from the GOI on MSME Census 2007 for while. I thought may be I will look at this data for some trends women MSME finance. This was the primary motive to start looking at this data set. Along the way, I came across other interesting trends which I will share in this post.</p><p>The raw MSME data is available state-wise in separate excel files on the Government website. I could have done the analysis at an all-India data, but constrained by hardware I decided to explore only one state. Anyways, if things are interesting then open other state sets and join to form an all-India picture.</p><p><em>Caveat 1: First, This data set is quite old, 2007 that was the last census. The current census is underway and we should have fresh data by 2017 sometime. Second, this data is only for registered enterprises and there are 1.5 million of them across India. There is sample for unregistered enterprises (there are around 29 million in total), but thats a separate data set.</em></p><p><em>Caveat 2: The data set allows you split the women MSMEs by men-managed and women-managed. I’ve decided to not consider this distinction for the sake this post. If there is something interesting there, I will share in a separate post.</em></p><p>Why Maharashtra? Ok, there is no interesting story here. The Maharashtra data sets was one of the lightest in the high MSME density states :) The other heavy weights are Tamil Nadu, Andhra Pradesh (no Telangana in 2007), Karnataka and Gujarat.</p><p>While focus on women MSME in general, some smaller trends I’m looking for include the following (a) Is the MSME density higher in key cities such as Mumbai, Pune, or there are other places? (b) Which districts lead in women MSME finance? (c) Impact of age of the enterprise on access to finance (d) Need to maintain accounts to access finance from formal/institutional sources (e) Impact of clusters on access to finance (f) Who is a better customer? Women or Men?</p><h4>Is the MSME density higher in key cities such as Mumbai, Pune, or there are other places?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/733/1*U0Cr3Q6SJIEJZyzGXay0Bg.png" /><figcaption>GOP = Gross Output, EMP_TOTAL = Total Employment Size of the bubble = No. Enterprises</figcaption></figure><p>We can see that cities neighboring Mumbai and Pune lead in the MSME density. This is a bit natural, given that cities are largely crowded and these new places were designed for more industrial growth. But two interesting cities in the top 5 are Kolhapur and Solapur. Kolhapur is quite an industrious place, southern most district in Maharashtra. it is dominated by sugarcane and dairy but there is textile as well. We will see more on women MSME in Kolhapur below. Solapur, a little east from Kolhapur, is dominant for textile, mostly bed sheets etc.</p><p><em>So we expect a similar distribution in case of women MSMEs in Maharashtra?</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*JgjKvk9YY81N6FFUgsJK9g.png" /><figcaption>GOP = Gross Output, EMP_TOTAL = Total Employment Size of the bubble = No. Enterprises</figcaption></figure><p>Ok, it’s quite different. Mumbai fades quite significantly, but Aurangabad comes in the top 5. Aurangabad as many of you know is an auto dominant region and it’s quite possible that there are women-owned auto ancillary units.</p><p>There are some interesting trends we can spot in the chart. Note the position of Kolhapur, Pimpri-Chinchwad, and Solapur bubbles. Kolhapur has smaller number of women MSMEs but significantly higher output per employee as compared to Pimpri-Chinchwad. It’s possible that industries in Kolhapur are more mature, advanced in terms of technology or they are by default high output industries. Industry distribution in Kolhapur and Pimpri-Chinchwad is quite different (see below), but in Kolhapur and Solapur it’s quite similar (both textile dominant). So in a head-to-head, Kolhapur textile more efficient than Solapur.</p><p>The other interesting trend is that, contrary to popular belief leading women enterprises are in the manufacturing space and not so much in services.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/749/1*UfJFHLVKFNcGbcryYXhzyw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/1*ILi-mN6IXkq9JlG2dVDoeQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/734/1*N9haEDXKhZRM45xdULJjjQ.png" /></figure><h4>Which districts lead in women MSME finance?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*0qINm1XNXK9bXc1qUwWUyQ.png" /><figcaption>GOP = Gross Output, EMP_TOTAL = Total Employment Size of the bubble = Total loans disbursed</figcaption></figure><p>The scene changes again! Kolhapur is way ahead compared to others.</p><blockquote>We have some rockstar bankers in the region, we will more evidence of maverick bankers in the some trends to follow</blockquote><p>On an average loan disbursed per enterprise, Aurangabad leaves the the likes of Pimpri-Chinchwad behind. Similarly, among the low MSME density districts, financing in Nandurbar seems quite significant. Nandurbar is dominated by food processing and textile units, more details <a href="http://dcmsme.gov.in/dips/DIPS%20Nandurbar.pdf">here</a>.</p><p>From the chart below, it’s interesting to note that too many enterprises in Nandurbar raised same/similar amount of debt. This could be an error in data collection or possible that loans are disbursed as per some program that provides a fixed quantum to everyone. We don’t have more data evaluate this further.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/1*6njKflbOT5w-JwOWQlHhHw.png" /></figure><h4>What is the impact of enterprise age on access to finance?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/743/1*NlaFDcmHmjuz0jJ9DCGrpg.png" /></figure><p>I was expecting a smooth upward (ultimately flattening out) trending curve. What I see is enterprises with operating history of less than 3 years have access to debt. We can classify this as “startup debt” or what banks call “project finance”. Lower levels of overall disbursal in older firms could be because there are few such firms. Possibly many older firms, shrink in size or die.</p><p>On the point of debt, Rockstar bankers? wait, source of the loans could be non-banks or non-institutions/unregistered lenders/FFFs. Let’s check!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*DkxR6Tdo0UQt5whtxbxnzg.png" /></figure><p>There is some non-institutional activity, but institutional finance providers (banks and NBFCs) dominate!</p><p>So, how is this trend for women MSMEs in Maharashtra?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*GJtKBR7QL1bzaVcOLMPjlw.png" /></figure><p>Not very different from the overall picture. Just that, they mostly get finance from one of the source and not both.</p><blockquote>This could also be because women owners are more loyal to one finance provider who works with them. This is aspect is widely talked about with regards to women owner, this trends suggests some to that end.</blockquote><h4>Do we need to maintain accounts to get finance?</h4><p>Maintaining accounts is very critical and MSME owners must never overlook this aspect. It’s hygiene in business. Let’s see how access to finance and maintaining accounts stacks up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*dpwNCno_hLLfgcon5LIXAw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/741/1*vHT2RjmLH7fjvGPiDlwHRg.png" /></figure><p>So now, we have some rockstar banker or what? Although the share of finance to MSMEs with no accounts is &lt;=10% it is still more than zero?</p><p>Clearly internet and mobile data were not all pervasive before 2007. This is pre-iPhone era, when smart phones were not that smart and also expensive. So what data did bankers use to make the decision? Bankers, and many customers value relationships. In many cases, bankers bet on enterprises similar to angels/venture capitalists.</p><blockquote>Taking a risky bet is a skill. But, this is increasingly a rare breed of bankers. Most bankers are highly risk averse.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*LgSIpWBkSkN0DcXUCRr3bg.png" /><figcaption>In the movie Yes Man. Jim Carrey approves many small loans because he can’t say NO — Wins!</figcaption></figure><p>Drilling-down one more level to see the impact of accounting books on access to finance to women MSME. Story is no different!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/739/1*tbQXVitc6SWqZ_KKuDMzAA.png" /></figure><h4>Being part of a industry cluster enables easier access to finance?</h4><p>Data indicates thats enterprises that are not in a cluster (natural or artificial) is 3–5x the number in a cluster. For women MSMEs, this is 3.6x. Naturally the quantum of finance (cumulative loans disbursed) is higher for non-cluster.</p><p>Even an estimate of average finance per enterprise in an cluster is no different from an enterprise outside the cluster. Average loan per-enterprise is approx. INR 20L.</p><p>Being part of a cluster may have other benefits that impact operations and hence profits and cash flow. There is data in the MSME census, unfortunately it is not clean (or correct).</p><p>So, cluster financing may way different regular finance. Just that it may reduce some acquisition cost for the financial institution.</p><p><strong>Who defaults often? Women MSMEs or Men MSMEs?</strong></p><p>Unfortunately, there is limited data on the aspect. This will need a little more evaluation. But some early analysis suggests that 23% of women MSMEs delayed payments of loans, same number for men MSMEs is 10%.</p><p>The data available at hand did not capture an default data. Hence, we cannot say anything beyond delays.</p><p>Overall, there is finance being directed towards women MSMEs. But we need more. The average loan per enterprise for women is lower than similar men-owned MSMEs (more on this in subsequent posts, time permitting). There are more women in services than in 2007, so we need new products for such enterprises as well. But, let’s not forget women in manufacturing sector.</p><p>There is more information available on enterprises. With higher mobile and web penetration, there are now more way of capturing data on enterprises that can aid credit underwriting. Financial institutions must focus on this segment. We need more rockstar bankers.</p><p>Any comments, suggestions on other data sets drop me a line on my twitter handle <a href="https://medium.com/u/6b8d5e1a3b3f">raghavb</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c04363f5adf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>