<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>MachineLearning &amp;mdash; Love.Law.Robots. by Ang Hou Fu</title>
    <link>https://write.as/houfu/tag:MachineLearning</link>
    <description></description>
    <pubDate>Wed, 26 Aug 2026 02:36:47 +0000</pubDate>
    <image>
      <url>https://i.snap.as/jvl6aNdV.png</url>
      <title>MachineLearning &amp;mdash; Love.Law.Robots. by Ang Hou Fu</title>
      <link>https://write.as/houfu/tag:MachineLearning</link>
    </image>
    <item>
      <title>Christmas won&#39;t be here for a while</title>
      <link>https://write.as/houfu/christmas-wont-be-here-for-a-while?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[Houfu dreams of having his #MachineLearning tool for years but will still have to wait longer.&#xA;&#xA;Screenshot from Prodigy showing a/b testing of prompts&#xA;&#xA;!--more--&#xA;&#xA;Back in the pre-#ChatGPT days, I had long wanted to make my machine-learning model but eventually never got around to it because of the lack of data I had. In this sense, &#34;lack of data&#34; didn&#39;t mean I was stuck in a desert. There was lots of data lying around; it just didn&#39;t make sense because it was trapped in scanned PDFs.&#xA;&#xA;Another aspect of this problem was that it had to be adequately annotated before the machine could detect information like named entities or classify them. For that #annotation work, I have dreamt of using #Prodigy, from the makers of #spaCy. I still have the four-button sticker which you use to confirm your annotation!&#xA;&#xA;In another quaint example of how ChatGPT has upended this field, annotation is now less important since large language models are pretty good at classification, sentiment analysis or detecting entities in a few-shot or zero-shot scenario.&#xA;&#xA;Unfortunately, this large language model has created a new problem. I don&#39;t know how to handle all my creativity regarding #prompts. If I don&#39;t commit them to git, I will lose them quite quickly. Even if I remember all of them, how do I know which prompt was effective? It would be good to collect them so I can also test them on a new model.&#xA;&#xA;Currently, it&#39;s still rather ad-hoc. I... I keep them in my #Notion and rate them with my notes on what I thought of their effectiveness and room for improvement. &#xA;&#xA;Screenshot of a Notion page used to keep my notes on the prompts I have used&#xA;&#xA;It turned out to be tedious and quite hard to improve. It reminded me of a spellbook filled with incantations. &#xA;&#xA;So it was heartening to see that the new version of Prodigy has some new workflows for prompt engineering:&#xA;&#xA;https://twitter.com/explosionai/status/1676876788570681346?s=20&#xA;&#xA;The idea of a prompt tournament and generating tests with OpenAI integration will help check how effective my prompts can be. &#xA;&#xA;Alas, the USD390 price tag is still putting me off all these years. I know it&#39;s value for money, but I can&#39;t pay for it. However, it&#39;s great knowing they are going in the right direction. Maybe when they have added more prompt engineering and LLM solutions (and a healthy dose of inflation), I will no longer be able to resist it. &#xA;&#xA;In any case, this must be a clear sign that prompt engineering is here to stay, and rather than a mysterious art, it can be a science too.&#xA;&#xA;img src=&#34;https://res.cloudinary.com/lovelawrobots/image/upload/fauto,qauto/v1/blog-images/photo2023-06-3023-47-38_ozpz52&#34; alt=&#34;Author Portrait&#34; width=&#34;320&#34;/&#xD;&#xA;Love.Law.Robots. - A blog by Ang Hou Fu&#xD;&#xA;&#xD;&#xA;a href=&#34;https://remark.as/p/houfu/christmas-wont-be-here-for-a-while&#34;Discuss.../a this Post&#xD;&#xA;If you found this post useful, or like my work, a tip is always appreciated:  script type=&#34;text/javascript&#34; src=&#34;https://cdnjs.buymeacoffee.com/1.0.0/button.prod.min.js&#34; data-name=&#34;bmc-button&#34; data-slug=&#34;damonhoufbq&#34; data-color=&#34;#BD5FFF&#34; data-emoji=&#34;&#34;  data-font=&#34;Poppins&#34; data-text=&#34;Buy me a coffee&#34; data-outline-color=&#34;#000000&#34; data-font-color=&#34;#ffffff&#34; data-coffee-color=&#34;#FFDD00&#34; /script&#xD;&#xA;Follow this blog on the Fediverse&#xD;&#xA;Contact me:&#xD;&#xA;     Email&#xD;&#xA;     Github &#xD;&#xA;     Personal Mastodon&#xD;&#xA;     LinkedIn&#xD;&#xA;     Twitter&#xD;&#xA;&#xD;&#xA;!--emailsub--&#xD;&#xA;&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p><em><strong>Houfu dreams of having his <a href="https://write.as/houfu/tag:MachineLearning" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">MachineLearning</span></a> tool for years but will still have to wait longer.</strong></em></p>

<p><img src="https://res.cloudinary.com/lovelawrobots/image/upload/f_auto,q_auto/Screenshot_2023-07-07_at_00-14-50_Built-in_Recipes_Prodigy_An_annotation_tool_for_AI_Machine_Learning_NLP_fmy9fa" alt="Screenshot from Prodigy showing a/b testing of prompts"/></p>



<p>Back in the pre-<a href="https://write.as/houfu/tag:ChatGPT" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">ChatGPT</span></a> days, I had long wanted to make my machine-learning model but eventually never got around to it because of the lack of data I had. In this sense, “lack of data” didn&#39;t mean I was stuck in a desert. There was lots of data lying around; it just didn&#39;t make sense because <a href="mining-pdfs-to-obtain-better-text-from-decisions" rel="nofollow">it was trapped in scanned PDFs</a>.</p>

<p>Another aspect of this problem was that it had to be adequately annotated before the machine could detect information like named entities or classify them. For that <a href="https://write.as/houfu/tag:annotation" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">annotation</span></a> work, I have dreamt of <a href="https://prodigy.ai/" rel="nofollow">using <a href="https://write.as/houfu/tag:Prodigy" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Prodigy</span></a>, from the makers of <a href="https://write.as/houfu/tag:spaCy" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">spaCy</span></a></a>. I still have the four-button sticker which you use to confirm your annotation!</p>

<p>In another quaint example of how ChatGPT has upended this field, annotation is now less important since large language models are pretty good at classification, sentiment analysis or detecting entities in a few-shot or zero-shot scenario.</p>

<p>Unfortunately, this large language model has created a new problem. I don&#39;t know how to handle all my creativity regarding <a href="https://write.as/houfu/tag:prompts" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">prompts</span></a>. If I don&#39;t commit them to git, I will lose them quite quickly. Even if I remember all of them, how do I know which prompt was effective? It would be good to collect them so I can also test them on a new model.</p>

<p>Currently, it&#39;s still rather ad-hoc. I... I keep them in my <a href="https://write.as/houfu/tag:Notion" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Notion</span></a> and rate them with my notes on what I thought of their effectiveness and room for improvement.</p>

<p><img src="https://res.cloudinary.com/lovelawrobots/image/upload/f_auto,q_auto/v1/blog-images/ph3ntyl50kqvlfqfpa2u" alt="Screenshot of a Notion page used to keep my notes on the prompts I have used"/></p>

<p>It turned out to be tedious and quite hard to improve. It reminded me of a spellbook filled with incantations.</p>

<p>So it was heartening to see that the new version of Prodigy has some new workflows for prompt engineering:</p>

<p><a href="https://twitter.com/explosion_ai/status/1676876788570681346?s=20" rel="nofollow">https://twitter.com/explosion_ai/status/1676876788570681346?s=20</a></p>

<p>The idea of a prompt tournament and generating tests with OpenAI integration will help check how effective my prompts can be.</p>

<p>Alas, the <a href="https://prodi.gy/buy" rel="nofollow">USD390 price tag</a> is still putting me off all these years. I know it&#39;s value for money, but I can&#39;t pay for it. However, it&#39;s great knowing they are going in the right direction. Maybe when they have added more prompt engineering and LLM solutions (and a healthy dose of inflation), I will no longer be able to resist it.</p>

<p>In any case, this must be a clear sign that prompt engineering is here to stay, and rather than a mysterious art, it can be a science too.</p>

<p><img src="https://res.cloudinary.com/lovelawrobots/image/upload/f_auto,q_auto/v1/blog-images/photo_2023-06-30_23-47-38_ozpz52" alt="Author Portrait" width="320"/>
<strong>Love.Law.Robots. – A blog by Ang Hou Fu</strong></p>
<ul><li><a href="https://remark.as/p/houfu/christmas-wont-be-here-for-a-while" rel="nofollow">Discuss...</a> this Post</li>
<li>If you found this post useful, or like my work, a tip is always appreciated:  </li>
<li>Follow [this blog on the Fediverse]()</li>
<li>Contact me:
<ul><li><a href="mailto:houfu@lovelawrobots.com" rel="nofollow">Email</a></li>
<li><a href="https://github.com/houfu" rel="nofollow">Github</a></li>
<li><a href="https://kopiti.am/@houfu" rel="nofollow">Personal Mastodon</a></li>
<li><a href="https://www.linkedin.com/in/hou-fu-ang-0a6851113/" rel="nofollow">LinkedIn</a></li>
<li><a href="https://twitter.com/houfu" rel="nofollow">Twitter</a></li></ul></li></ul>


]]></content:encoded>
      <guid>https://write.as/houfu/christmas-wont-be-here-for-a-while</guid>
      <pubDate>Thu, 06 Jul 2023 16:49:01 +0000</pubDate>
    </item>
    <item>
      <title>I wouldn’t use GitHub Copilot</title>
      <link>https://write.as/houfu/i-wouldnt-use-github-copilot?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[Feature image&#xA;&#xA;In 2021, I discovered something exciting — an application of machine learning that was both mind-blowing and practical.&#xA;&#xA;The premise was simple. Type a description of the code you want in your editor, and GitHub Copilot will generate the code. It was terrific, and many people, including myself, were excited to use it.&#xA;&#xA;  🚀 I just got access to @github Copilot and it&#39;s super amazing!!! This is going to save me so much time!! Check out the short video below! #GitHubCopilot I think I&#39;ll spend more time writing function descriptions now than the code itself :D pic.twitter.com/HKXJVtGffm&#xA;    -- abhishek (@abhi1thakur) June 30, 2021&#xA;&#xA;The idea that you can prompt a machine to generate code for you is obviously interesting for contract lawyers. I believe we are getting closer every day. I am waiting for my early access to Spellbook.&#xA;&#xA;As a poorly trained and very busy programmer, it feels like I am a target of Github Copilot. The costs was also not so ridiculous. (Spellbook Legal costs $89 a month compared to Copilot&#39;s $10 a month) Even so, I haven&#39;t tried it for over a year. I wasn’t comfortable enough with the idea and I wasn’t sure how to express it.&#xA;&#xA;Now I can. I recently came across a website proposing to investigate Github Copilot. The main author is Matthew Butterick. He’s the author of Typography for Lawyers and this site proudly uses the Equity typeface.&#xA;&#xA;GitHub Copilot investigation · Joseph Saveri Law Firm &amp; Matthew ButterickGitHub Copilot investigation&#xA;&#xA;In short, the training of GitHub Copilot on open source repositories it hosts probably raises questions on whether such use complies with its copyright licenses. Is it fair use to use publicly accessible code for computational analysis? You might recall that Singapore recently passed an amendment to the Copyright Act providing an exception for computational data analysis. If GitHub Copilot is right that it is fair use, any code anywhere is game to be consumed by the learning machine.&#xA;&#xA;Of course, the idea that it might be illegal hasn’t exactly stopped me from trying.&#xA;&#xA;The key objection to GitHub Copilot is that it is not open source. By packaging the world’s open-source code in an AI model, and spitting it out to its user with no context, a user only interacts with Github Copilot. It is, in essence, a coding walled garden.&#xA;&#xA;  Copi­lot intro­duces what we might call a more self­ish inter­face to open-source soft­ware: just give me what I want! With Copi­lot, open-source users never have to know who made their soft­ware. They never have to inter­act with a com­mu­nity. They never have to con­tribute.&#xA;&#xA;For someone who wants to learn to code, this enticing idea is probably a double-edged sword. You could probably swim around using prompts with your AI pair programmer, but without any context, you are not learning much. If I wanted to know how something works, I would like to run it, read its code and interact with its community. I am a member of a group of people with shared goals, not someone who just wants to consume other people’s work.&#xA;&#xA;Matthew Butterick might end up with enough material to sue Microsoft, and the legal issues raised will be interesting for the open-source community. For now, though, I am going to stick to programming the hard way.&#xA;&#xA;#OpenSource #Programming #GitHubCopilot #DataMining #Copyright #MachineLearning #News #Newsletter #tech #TechnologyLaw&#xA;&#xA;img src=&#34;https://res.cloudinary.com/lovelawrobots/image/upload/fauto,qauto/v1/blog-images/photo2023-06-3023-47-38ozpz52&#34; alt=&#34;Author Portrait&#34; width=&#34;320&#34;/&#xD;&#xA;Love.Law.Robots. - A blog by Ang Hou Fu&#xD;&#xA;&#xD;&#xA;a href=&#34;https://remark.as/p/houfu/i-wouldnt-use-github-copilot&#34;Discuss.../a this Post&#xD;&#xA;If you found this post useful, or like my work, a tip is always appreciated:  script type=&#34;text/javascript&#34; src=&#34;https://cdnjs.buymeacoffee.com/1.0.0/button.prod.min.js&#34; data-name=&#34;bmc-button&#34; data-slug=&#34;damonhoufbq&#34; data-color=&#34;#BD5FFF&#34; data-emoji=&#34;&#34;  data-font=&#34;Poppins&#34; data-text=&#34;Buy me a coffee&#34; data-outline-color=&#34;#000000&#34; data-font-color=&#34;#ffffff&#34; data-coffee-color=&#34;#FFDD00&#34; /script&#xD;&#xA;Follow this blog on the Fediverse&#xD;&#xA;Contact me:&#xD;&#xA;     Email&#xD;&#xA;     Github &#xD;&#xA;     Personal Mastodon&#xD;&#xA;     LinkedIn&#xD;&#xA;     Twitter&#xD;&#xA;&#xD;&#xA;!--emailsub--&#xD;&#xA;&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p><img src="https://images.unsplash.com/photo-1509541206217-cde45c41aa6d?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=MnwxMTc3M3wwfDF8c2VhcmNofDZ8fENvcGlsb3R8ZW58MHx8fHwxNjY2MjcwNTk3&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" alt="Feature image"/></p>

<p>In 2021, I discovered something exciting — an application of machine learning that was both mind-blowing and practical.</p>

<p>The premise was simple. Type a description of the code you want in your editor, and <a href="https://github.com/features/copilot/" rel="nofollow">GitHub Copilot</a> will generate the code. It was terrific, and many people, including myself, were excited to use it.</p>

<blockquote><p>🚀 I just got access to <a href="https://twitter.com/github?ref_src=twsrc%5Etfw" rel="nofollow">@github</a> Copilot and it&#39;s super amazing!!! This is going to save me so much time!! Check out the short video below! <a href="https://twitter.com/hashtag/GitHubCopilot?src=hash&amp;ref_src=twsrc%5Etfw" rel="nofollow"><a href="https://write.as/houfu/tag:GitHubCopilot" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">GitHubCopilot</span></a></a> I think I&#39;ll spend more time writing function descriptions now than the code itself :D <a href="https://t.co/HKXJVtGffm" rel="nofollow">pic.twitter.com/HKXJVtGffm</a></p>

<p>— abhishek (@abhi1thakur) <a href="https://twitter.com/abhi1thakur/status/1410325529950097421?ref_src=twsrc%5Etfw" rel="nofollow">June 30, 2021</a></p></blockquote>

<p>The idea that you can prompt a machine to generate code for you is obviously interesting for contract lawyers. I believe we are getting closer every day. I am waiting for my early access to <a href="https://www.spellbook.legal/" rel="nofollow">Spellbook</a>.</p>

<p>As a poorly trained and very busy programmer, it feels like I am a target of Github Copilot. The costs was also not so ridiculous. (Spellbook Legal costs $89 a month compared to Copilot&#39;s $10 a month) Even so, I haven&#39;t tried it for over a year. I wasn’t comfortable enough with the idea and I wasn’t sure how to express it.</p>

<p>Now I can. I recently came across <a href="https://githubcopilotinvestigation.com/" rel="nofollow">a website proposing to investigate Github Copilot</a>. The main author is <a href="https://matthewbutterick.com/" rel="nofollow">Matthew Butterick</a>. He’s the author of Typography for Lawyers and this site proudly uses the Equity typeface.</p>

<p><a href="https://githubcopilotinvestigation.com/" rel="nofollow">GitHub Copilot investigation · Joseph Saveri Law Firm &amp; Matthew ButterickGitHub Copilot investigation<img src="https://githubcopilotinvestigation.com/img/og-image.gif" alt=""/></a></p>

<p>In short, the training of GitHub Copilot on open source repositories it hosts probably raises questions on whether such use complies with its copyright licenses. Is it fair use to use publicly accessible code for computational analysis? You might recall that Singapore recently passed an amendment to the Copyright Act providing <a href="/ready-to-mine-free-online-legal-materials-in-singapore-not-so-fast/" rel="nofollow">an exception for computational data analysis</a>. If GitHub Copilot is right that it is fair use, any code anywhere is game to be consumed by the learning machine.</p>

<p>Of course, the idea that it might be illegal hasn’t exactly stopped me from trying.</p>

<p>The key objection to GitHub Copilot is that it is not open source. By packaging the world’s open-source code in an AI model, and spitting it out to its user with no context, a user only interacts with Github Copilot. It is, in essence, a coding walled garden.</p>

<blockquote><p>Copi­lot intro­duces what we might call a more self­ish inter­face to open-source soft­ware: <strong>just give me what I want!</strong> With Copi­lot, open-source users never have to know who made their soft­ware. They never have to inter­act with a com­mu­nity. They never have to con­tribute.</p></blockquote>

<p>For someone who wants to learn to code, this enticing idea is probably a double-edged sword. You could probably swim around using prompts with your AI pair programmer, but without any context, you are not learning much. If I wanted to know how something works, I would like to run it, read its code and interact with its community. I am a member of a group of people with shared goals, not someone who just wants to consume other people’s work.</p>

<p>Matthew Butterick might end up with enough material to sue Microsoft, and the legal issues raised will be interesting for the open-source community. For now, though, I am going to stick to programming the hard way.</p>

<p><a href="https://write.as/houfu/tag:OpenSource" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">OpenSource</span></a> <a href="https://write.as/houfu/tag:Programming" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Programming</span></a> <a href="https://write.as/houfu/tag:GitHubCopilot" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">GitHubCopilot</span></a> <a href="https://write.as/houfu/tag:DataMining" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">DataMining</span></a> <a href="https://write.as/houfu/tag:Copyright" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Copyright</span></a> <a href="https://write.as/houfu/tag:MachineLearning" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">MachineLearning</span></a> <a href="https://write.as/houfu/tag:News" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">News</span></a> <a href="https://write.as/houfu/tag:Newsletter" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Newsletter</span></a> <a href="https://write.as/houfu/tag:tech" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">tech</span></a> <a href="https://write.as/houfu/tag:TechnologyLaw" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">TechnologyLaw</span></a></p>

<p><img src="https://res.cloudinary.com/lovelawrobots/image/upload/f_auto,q_auto/v1/blog-images/photo_2023-06-30_23-47-38_ozpz52" alt="Author Portrait" width="320"/>
<strong>Love.Law.Robots. – A blog by Ang Hou Fu</strong></p>
<ul><li><a href="https://remark.as/p/houfu/i-wouldnt-use-github-copilot" rel="nofollow">Discuss...</a> this Post</li>
<li>If you found this post useful, or like my work, a tip is always appreciated:  </li>
<li>Follow [this blog on the Fediverse]()</li>
<li>Contact me:
<ul><li><a href="mailto:houfu@lovelawrobots.com" rel="nofollow">Email</a></li>
<li><a href="https://github.com/houfu" rel="nofollow">Github</a></li>
<li><a href="https://kopiti.am/@houfu" rel="nofollow">Personal Mastodon</a></li>
<li><a href="https://www.linkedin.com/in/hou-fu-ang-0a6851113/" rel="nofollow">LinkedIn</a></li>
<li><a href="https://twitter.com/houfu" rel="nofollow">Twitter</a></li></ul></li></ul>


]]></content:encoded>
      <guid>https://write.as/houfu/i-wouldnt-use-github-copilot</guid>
      <pubDate>Thu, 20 Oct 2022 14:01:26 +0000</pubDate>
    </item>
    <item>
      <title>How Data and the Law Interact: A Book Review</title>
      <link>https://write.as/houfu/how-data-and-the-law-interact-a-book-review?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[Feature image&#xA;&#xA;I love playing with legal data. For me, books specialising in legal data are uncommon, especially those dealing with what’s available on the wild world of the internet today.&#xA;&#xA;That’s why I snapped up Sarah Sutherland’s &#34;Legal Data and Information in Practice&#34;. Ms Sutherland was CEO of CanLII, one of the most admirable LIIs. CanLII is extensive, comprehensive, and packed with great features like noting up and keywords. It even comes in two languages.&#xA;&#xA;Legal Data and Information in Practice: How Data and the Law InteractLegal Data and Information in Practice provides readers with an understanding of how to facilitate the acquisition, management, and use of legal data in organizations such as libraries, courts, governments, universities, and start-ups.Presenting a synthesis of information about legal data that will…Routledge &amp; CRC PressSarah A. Sutherland&#xA;&#xA;The book’s blurb recommends that it is “ essential reading for those in the law library community who are based in English-speaking countries with a common law tradition ”.&#xA;&#xA;Since finishing the book, I found the blurb’s focus way too narrow. This is a book for anyone who loves legal data.&#xA;&#xA;For one, I enjoyed the approachable language. My interaction with legal data has always been pragmatic. Either I was studying for some course, or I needed to find an answer quickly. It will be enough to appreciate the book if you’ve done any of those things. I liked that it didn’t baffle me with impossible or theoretical language. I found myself nodding at several junctures as I reflected on my experience of interacting with legal data as well.&#xA;&#xA;Furthermore, it’s effectively a primer:&#xA;&#xA;  It’s short. I took a month to finish it at a leisurely place (i.e., in between taking care of children, making sure the legal department runs smoothly, and programming). Oh, and unlike most law books, it has pictures.&#xA;  It effectively explains a broad range of topics. It talks about the challenges of AI and the political and administrative backgrounds of how legal data is provided without overwhelming you. More impressively, I found new areas in this field that I didn’t know about before reading the book, such as the various strategies to acquire legal data and an overview of statistical and machine learning techniques on data.&#xA;&#xA;So, even if you are not a librarian or a legal technologist by profession, this book is still handy for you. I would love more depth, and maybe that’s some scope for a 2nd edition. In any case, Sarah Sutherland’s &#34;Legal Data and Information in Practice” is a great starting point for everyone. Reading it will level up your ability to discuss and evaluate what’s going on in this exciting field.&#xA;&#xA; &#xA;&#xA;I am sorry for being a sucker — I am the kind of guy who watches movies to swoon at sweeping visages of my home jurisdiction, Singapore. I enjoyed Crazy Rich Asians, even though it’s fake.&#xA;&#xA;So, I couldn’t resist looking for references to Singapore in the book. Luckily for me, Singapore is mentioned several times in the book. It’s described as “an interesting example of what can happen if a government is willing to invest heavily in developing capacity in legal computing and data use”. I’m not convinced that LawNet is like an LII, but among other points raised, such as the infrastructure, availability and formats are still much better here than in the rest of the common law world.&#xA;&#xA;The more interesting point is that Singapore, as a small jurisdiction, would usually find its dataset smaller. That’s why experimenting on making models trained on other kinds of data effective on yours is crucial. (I think the paper cited in the book is an excellent example of this.) Other facets are relevant when you have fewer data and resources: what kinds of legal data should one focus on and the strategies to acquire them.&#xA;&#xA;The challenges of a smaller dataset seem to be less exciting because fewer people are staring at them. However, I would suggest that these challenges are more prevalent than you would expect — companies and organisations also have smaller datasets and fewer resources. What would work for Singapore should be of interest to many others.&#xA;&#xA;There’s always something to be excited about in this field. What do you think?&#xA;&#xA;#BookReview #ArtificalIntelligence #DataMining #Law #LegalTech #MachineLearning #NaturalLanguageProcessing #Singapore #TechnologyLaw&#xA;&#xA;img src=&#34;https://res.cloudinary.com/lovelawrobots/image/upload/fauto,qauto/v1/blog-images/photo2023-06-3023-47-38ozpz52&#34; alt=&#34;Author Portrait&#34; width=&#34;320&#34;/&#xD;&#xA;Love.Law.Robots. - A blog by Ang Hou Fu&#xD;&#xA;&#xD;&#xA;a href=&#34;https://remark.as/p/houfu/how-data-and-the-law-interact-a-book-review&#34;Discuss.../a this Post&#xD;&#xA;If you found this post useful, or like my work, a tip is always appreciated:  script type=&#34;text/javascript&#34; src=&#34;https://cdnjs.buymeacoffee.com/1.0.0/button.prod.min.js&#34; data-name=&#34;bmc-button&#34; data-slug=&#34;damonhoufbq&#34; data-color=&#34;#BD5FFF&#34; data-emoji=&#34;&#34;  data-font=&#34;Poppins&#34; data-text=&#34;Buy me a coffee&#34; data-outline-color=&#34;#000000&#34; data-font-color=&#34;#ffffff&#34; data-coffee-color=&#34;#FFDD00&#34; /script&#xD;&#xA;Follow this blog on the Fediverse&#xD;&#xA;Contact me:&#xD;&#xA;     Email&#xD;&#xA;     Github &#xD;&#xA;     Personal Mastodon&#xD;&#xA;     LinkedIn&#xD;&#xA;     Twitter&#xD;&#xA;&#xD;&#xA;!--emailsub--&#xD;&#xA;&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p><img src="https://raw.githubusercontent.com/houfu/lovelawrobots-content/master/2022/05/feat1.png" alt="Feature image"/></p>

<p>I love playing with legal data. For me, books specialising in legal data are uncommon, especially those dealing with what’s available on the wild world of the internet today.</p>

<p>That’s why I snapped up Sarah Sutherland’s “<a href="https://www.routledge.com/Legal-Data-and-Information-in-Practice-How-Data-and-the-Law-Interact/Sutherland/p/book/9780367649883" rel="nofollow">Legal Data and Information in Practice</a>”. Ms Sutherland was CEO of <a href="https://www.canlii.org/" rel="nofollow">CanLII</a>, one of the most admirable LIIs. CanLII is extensive, comprehensive, and packed with great features like noting up and keywords. It even comes in two languages.</p>

<p><a href="https://www.routledge.com/Legal-Data-and-Information-in-Practice-How-Data-and-the-Law-Interact/Sutherland/p/book/9780367649883" rel="nofollow">Legal Data and Information in Practice: How Data and the Law InteractLegal Data and Information in Practice provides readers with an understanding of how to facilitate the acquisition, management, and use of legal data in organizations such as libraries, courts, governments, universities, and start-ups.Presenting a synthesis of information about legal data that will…<img src="https://www.routledge.com/favicon.ico" alt=""/>Routledge &amp; CRC PressSarah A. Sutherland<img src="https://images.routledge.com/common/jackets/crclarge/978036764/9780367649883.jpg" alt=""/></a></p>

<p>The book’s blurb recommends that it is “ <em>essential reading for those in the law library community who are based in English-speaking countries with a common law tradition</em> ”.</p>

<p>Since finishing the book, I found the blurb’s focus way too narrow. This is a book for anyone who loves legal data.</p>

<p>For one, I enjoyed the approachable language. My interaction with legal data has always been pragmatic. Either I was studying for some course, or I needed to find an answer quickly. It will be enough to appreciate the book if you’ve done any of those things. I liked that it didn’t baffle me with impossible or theoretical language. I found myself nodding at several junctures as I reflected on <a href="__GHOST_URL__/data-science-with-judgement-data-my-pdpc-decisions-journey/" rel="nofollow">my experience of interacting with legal data as well</a>.</p>

<p>Furthermore, it’s effectively a primer:</p>
<ul><li>It’s short. I took a month to finish it at a leisurely place (i.e., in between taking care of children, making sure the legal department runs smoothly, and programming). Oh, and unlike most law books, it has pictures.</li>
<li>It effectively explains a broad range of topics. It talks about the challenges of AI and the political and administrative backgrounds of how legal data is provided without overwhelming you. More impressively, I found new areas in this field that I didn’t know about before reading the book, such as the various strategies to acquire legal data and an overview of statistical and machine learning techniques on data.</li></ul>

<p>So, even if you are not a librarian or a legal technologist by profession, this book is still handy for you. I would love more depth, and maybe that’s some scope for a 2nd edition. In any case, Sarah Sutherland’s “<a href="https://www.routledge.com/Legal-Data-and-Information-in-Practice-How-Data-and-the-Law-Interact/Sutherland/p/book/9780367649883" rel="nofollow">Legal Data and Information in Practice</a>” is a great starting point for everyone. Reading it will level up your ability to discuss and evaluate what’s going on in this exciting field.</p>
<ul><li>* *</li></ul>

<p>I am sorry for being a sucker — I am the kind of guy who watches movies to swoon at sweeping visages of my home jurisdiction, Singapore. I enjoyed <a href="https://www.imdb.com/title/tt3104988" rel="nofollow">Crazy Rich Asians</a>, even though it’s fake.</p>

<p>So, I couldn’t resist looking for references to Singapore in the book. Luckily for me, Singapore is mentioned several times in the book. It’s described as “an interesting example of what can happen if a government is willing to invest heavily in developing capacity in legal computing and data use”. I’m <a href="www.lovelawrobots.com/its-open-its-free-public-legal-information-in-singapore/" rel="nofollow">not convinced that LawNet is like an LII</a>, but among other points raised, such as the infrastructure, availability and formats are still much better here than in the rest of the common law world.</p>

<p>The more interesting point is that Singapore, as a small jurisdiction, would usually find its dataset smaller. That’s why experimenting on making models trained on other kinds of data effective on yours is crucial. (I think <a href="https://arxiv.org/abs/1904.06470" rel="nofollow">the paper cited in the book </a>is an excellent example of this.) Other facets are relevant when you have fewer data and resources: what kinds of legal data should one focus on and the strategies to acquire them.</p>

<p>The challenges of a smaller dataset seem to be less exciting because fewer people are staring at them. However, I would suggest that these challenges are more prevalent than you would expect — companies and organisations also have smaller datasets and fewer resources. What would work for Singapore should be of interest to many others.</p>

<p>There’s always something to be excited about in this field. What do you think?</p>

<p><a href="https://write.as/houfu/tag:BookReview" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">BookReview</span></a> <a href="https://write.as/houfu/tag:ArtificalIntelligence" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">ArtificalIntelligence</span></a> <a href="https://write.as/houfu/tag:DataMining" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">DataMining</span></a> <a href="https://write.as/houfu/tag:Law" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Law</span></a> <a href="https://write.as/houfu/tag:LegalTech" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">LegalTech</span></a> <a href="https://write.as/houfu/tag:MachineLearning" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">MachineLearning</span></a> <a href="https://write.as/houfu/tag:NaturalLanguageProcessing" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">NaturalLanguageProcessing</span></a> <a href="https://write.as/houfu/tag:Singapore" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Singapore</span></a> <a href="https://write.as/houfu/tag:TechnologyLaw" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">TechnologyLaw</span></a></p>

<p><img src="https://res.cloudinary.com/lovelawrobots/image/upload/f_auto,q_auto/v1/blog-images/photo_2023-06-30_23-47-38_ozpz52" alt="Author Portrait" width="320"/>
<strong>Love.Law.Robots. – A blog by Ang Hou Fu</strong></p>
<ul><li><a href="https://remark.as/p/houfu/how-data-and-the-law-interact-a-book-review" rel="nofollow">Discuss...</a> this Post</li>
<li>If you found this post useful, or like my work, a tip is always appreciated:  </li>
<li>Follow [this blog on the Fediverse]()</li>
<li>Contact me:
<ul><li><a href="mailto:houfu@lovelawrobots.com" rel="nofollow">Email</a></li>
<li><a href="https://github.com/houfu" rel="nofollow">Github</a></li>
<li><a href="https://kopiti.am/@houfu" rel="nofollow">Personal Mastodon</a></li>
<li><a href="https://www.linkedin.com/in/hou-fu-ang-0a6851113/" rel="nofollow">LinkedIn</a></li>
<li><a href="https://twitter.com/houfu" rel="nofollow">Twitter</a></li></ul></li></ul>


]]></content:encoded>
      <guid>https://write.as/houfu/how-data-and-the-law-interact-a-book-review</guid>
      <pubDate>Mon, 07 Mar 2022 03:14:00 +0000</pubDate>
    </item>
  </channel>
</rss>