<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How do I auto-calculate precision and F1 score for models on imbalanced data? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45208#M25836</link>
    <description>&lt;P&gt;I like that JMP's prints a&amp;nbsp;confusion matrix and ROC for the logistic (Generalized) regression, but&amp;nbsp;some&amp;nbsp;important&amp;nbsp;metrics seem to be missing from the results: &lt;A href="https://en.wikipedia.org/wiki/Precision_and_recall" target="_blank"&gt;&lt;STRONG&gt;precision&lt;/STRONG&gt; &lt;/A&gt;and &lt;STRONG&gt;&lt;A href="https://en.wikipedia.org/wiki/F1_score" target="_blank"&gt;F1 score&lt;/A&gt;&lt;/STRONG&gt;.&amp;nbsp;Is there a way to auto-include these in the output? Or, have it be computed as "automatically" as possible when I re-run a new&amp;nbsp;classificaiton model.&amp;nbsp;I am trying to avoid manually recomputing these with each new model.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;UPDATE: Please post answers to the questions only. I am not looking for an opinion about whether I shall or shall not use Precision and F1. I am confidently looking for a way to compute these automatically in JMP. If you&amp;nbsp;are not aware of such technique, there is no reason to contemplate whether this is doable or not, or post anything below. Thank you :)&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 09-27-17 at 09.36 PM.PNG" style="width: 861px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/7804iB85BD4B1A36D2A54/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 09-27-17 at 09.36 PM.PNG" alt="Screen Shot 09-27-17 at 09.36 PM.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 23:24:23 GMT</pubDate>
    <dc:creator>Oleg</dc:creator>
    <dc:date>2023-06-09T23:24:23Z</dc:date>
    <item>
      <title>How do I auto-calculate precision and F1 score for models on imbalanced data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45208#M25836</link>
      <description>&lt;P&gt;I like that JMP's prints a&amp;nbsp;confusion matrix and ROC for the logistic (Generalized) regression, but&amp;nbsp;some&amp;nbsp;important&amp;nbsp;metrics seem to be missing from the results: &lt;A href="https://en.wikipedia.org/wiki/Precision_and_recall" target="_blank"&gt;&lt;STRONG&gt;precision&lt;/STRONG&gt; &lt;/A&gt;and &lt;STRONG&gt;&lt;A href="https://en.wikipedia.org/wiki/F1_score" target="_blank"&gt;F1 score&lt;/A&gt;&lt;/STRONG&gt;.&amp;nbsp;Is there a way to auto-include these in the output? Or, have it be computed as "automatically" as possible when I re-run a new&amp;nbsp;classificaiton model.&amp;nbsp;I am trying to avoid manually recomputing these with each new model.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;UPDATE: Please post answers to the questions only. I am not looking for an opinion about whether I shall or shall not use Precision and F1. I am confidently looking for a way to compute these automatically in JMP. If you&amp;nbsp;are not aware of such technique, there is no reason to contemplate whether this is doable or not, or post anything below. Thank you :)&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 09-27-17 at 09.36 PM.PNG" style="width: 861px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/7804iB85BD4B1A36D2A54/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 09-27-17 at 09.36 PM.PNG" alt="Screen Shot 09-27-17 at 09.36 PM.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:24:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45208#M25836</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2023-06-09T23:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I auto-calculate precision and F1 score for models on imbalanced data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45219#M25842</link>
      <description>&lt;P&gt;If JMP does not provide a specific statistic you want for a given analyses, my experience has been,&amp;nbsp;the developers at JMP have a good reason for having not included it. &amp;nbsp;This Discussion Group, while monitored by JMP, is not the best way to get your statistic included into a future release. &amp;nbsp;You need to send an enhancement request to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;support@jmp.com&lt;/P&gt;
&lt;P&gt;They have a formal tracking system for such items.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But now to the beauty of JMP.&amp;nbsp; Many times, the Discussion Community will have a solution to what you need.&amp;nbsp; But, since this topic has been discussed before, with no response on F1 etc.&amp;nbsp; I would assume the solution is not available.&amp;nbsp; However, many, if not most, of these requests can be added to your analysis through JSL. &amp;nbsp;So in response to your question, I am sure you could write a script to add these to your analysis.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 14:00:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45219#M25842</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-09-28T14:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I auto-calculate precision and F1 score for models on imbalanced data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45229#M25847</link>
      <description>&lt;P&gt;Hi, Oleg!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The F1 scores (and other "important" popular measures of accuracy) have been deprecated in some corners of the Machine Learning community for their&amp;nbsp;performance under bias. &amp;nbsp;Please reference the attached file, which suggests the utility of the Receiver Operating Curves and some other measures.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And like Jim notes, you can script anything your heart desires.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 14:54:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45229#M25847</guid>
      <dc:creator>Kevin_Anderson</dc:creator>
      <dc:date>2017-09-28T14:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I auto-calculate precision and F1 score for models on imbalanced data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45235#M25850</link>
      <description>&lt;P&gt;Hi Jim, your answer implies that&amp;nbsp;JMP is perfect and&amp;nbsp;contains just what it needs to have (up to a good reason). That is, anything missing in JMP&amp;nbsp;does not have a good reason to be in JMP. An interesting claim ;)&lt;/img&gt; The discussions themselves generate plenty of "good reasons" for new JMP features. A question was posted about F1 (not precision) and still remains unanswered, yet, these measures are widely discussed and used in scientifica publications.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;I like your suggestion of emailing the support, but they ask to&amp;nbsp;launch a discussion. My hope&amp;nbsp;is that the community will provide the answer, even if not right away.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you feel my question&amp;nbsp;can be improved, I welcome your suggestions.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 18:20:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45235#M25850</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2017-09-28T18:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I auto-calculate precision and F1 score for models on imbalanced data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45236#M25851</link>
      <description>&lt;P&gt;Hi Kevin, Thanks for the reply. I do not understand how&amp;nbsp;others' preference for the use of F1 score&amp;nbsp;shall affect my need for it in this discussion? :)&lt;/img&gt; Each and every metric has a bias.&amp;nbsp;&lt;A href="https://scholar.google.com/scholar?hl=en&amp;amp;as_sdt=1%2C5&amp;amp;q=f1+score+classification+model&amp;amp;btnG=" target="_self"&gt;There are thousands (more recent)&amp;nbsp;publications&lt;/A&gt;&amp;nbsp;praising the value of F1 and precision metric.&lt;/P&gt;&lt;P&gt;The bottom line,&amp;nbsp;in this discussion I seek assistance in auto-copmuting F1 and precision scores. Yes, it can be scripted; and I would greatly appreciate&amp;nbsp;an assistance from someone who has already implemeted it, so that this wheel is not reinvented.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Indeed, I am alreday using ROC, but I also need F1 and precision. At the very least, the answer (whenever discovered) to the question I asked shall help others to auto-compute not just F1 or precision score, but any metric. Please keep the bigger picture in mind :)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 16:54:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45236#M25851</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2017-09-28T16:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I auto-calculate precision and F1 score for models on imbalanced data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45241#M25852</link>
      <description>&lt;P&gt;My previous response was intended to be much simpler than it appears you have interpreted it.&lt;/P&gt;
&lt;P&gt;1. JMP is not perfect, but it is pretty good, and the developers really keep up with the areas they are working on, and therefore what they are presenting deserves a good look.&lt;/P&gt;
&lt;P&gt;2. Best way to make sure your request for an enhancement has made it to JMP is to send it to&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;support@jmp.com&lt;/P&gt;
&lt;P&gt;3. The request for F1 was already covered in a recent Discussion track, thus I assume there is not a user with a ready made solution.&amp;nbsp; Therefore, my encouragement that it can still be done in JMP, where you could code the solution using JSL&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 17:00:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45241#M25852</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-09-28T17:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I auto-calculate precision and F1 score for models on imbalanced data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45243#M25854</link>
      <description>&lt;P&gt;Jim,&amp;nbsp;&lt;A href="https://community.jmp.com/t5/Discussions/How-to-control-number-of-CPU-workers-in-JMP-Pro/m-p/45220/highlight/false#M25843" target="_blank"&gt;here is how a discussion&lt;/A&gt;&amp;nbsp;spawning "good reasons" for new features to be added to&amp;nbsp;JMP.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 18:22:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45243#M25854</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2017-09-28T18:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I auto-calculate precision and F1 score for models on imbalanced data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45244#M25855</link>
      <description>&lt;P&gt;Hi, Oleg!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the big picture: Jim Nelson has solved many, many problems in this community. &amp;nbsp;Please don't force your opinions on him.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here's my opinion: you may get more help with your scripting if you act like you've given it a try and ask for help with a little less arrogance. :)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 17:29:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45244#M25855</guid>
      <dc:creator>Kevin_Anderson</dc:creator>
      <dc:date>2017-09-28T17:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I auto-calculate precision and F1 score for models on imbalanced data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45248#M25858</link>
      <description>&lt;P&gt;Hi Kevin. I appreciate Jim's help and have given him Kudos and accepted his solutions whenever it was appropriate. However, I must not agree with him on every point. In this thread, I&amp;nbsp;expect answers to the questions asked, not opinions on what's fashionable in the ML world.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 18:23:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45248#M25858</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2017-09-28T18:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I auto-calculate precision and F1 score for models on imbalanced data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45249#M25859</link>
      <description>&lt;P&gt;Thanks Jim.&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;I agree&lt;/P&gt;&lt;P&gt;2. Support asks to use the discussion group, which is what I am trying.&lt;/P&gt;&lt;P&gt;3. Sure, JSL is a good direction. I was hoping that someone has already implemented it and can lead to an example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 18:04:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45249#M25859</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2017-09-28T18:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I auto-calculate precision and F1 score for models on imbalanced data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45250#M25860</link>
      <description>&lt;P&gt;Kevin, you may have misread my original question. I was hoping for &lt;SPAN style="font-family: inherit;"&gt;a built-in computation of&amp;nbsp;both&amp;nbsp;F1 and precision.&amp;nbsp;JSL is a reasonable alternative.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Do you have an example I can follow?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 18:02:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45250#M25860</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2017-09-28T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I auto-calculate precision and F1 score for models on imbalanced data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45254#M25862</link>
      <description>&lt;P&gt;Hi, Oleg!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps it is an unfamiliarity with the language, but the word Discussions (the name of this site in the Community) mean much more than just questions and answers. &amp;nbsp;It can rightfully include opinions, admonitions, pleas, rants, and many other forms of dialog, irrespective of your desires.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One of the many things I&amp;nbsp;love about statistics (and JMP!) is that the really great, inventive work seems to happen at the interface between the science of the applications&amp;nbsp;and the art. &amp;nbsp;See? &amp;nbsp;My opinion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 18:22:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45254#M25862</guid>
      <dc:creator>Kevin_Anderson</dc:creator>
      <dc:date>2017-09-28T18:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I auto-calculate precision and F1 score for models on imbalanced data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45255#M25863</link>
      <description>&lt;P&gt;Hi Kevin. :)&lt;/img&gt;&lt;/P&gt;&lt;P&gt;If this "Discussion" thread is anything like StackOverflow, then I would expect clear answers to clear questions. If I am mistaken, feel free to&amp;nbsp;guide me to the guidelines for posting to discussions. I can read other people's opinioins in news papers. However, in the context of science and in the spirit of "get it done", the clear and succinct answers are value-added.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Btw, did you just admit that&amp;nbsp;I recieved opinions to my question? LOL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyhow, it would be more effective to seek you help on this one.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you come across any JSL examples that would help me script F1 and Precision, and, preferrably, added it to the regression output page?&lt;/P&gt;&lt;P&gt;Cheers!&lt;BR /&gt;O.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 18:34:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45255#M25863</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2017-09-28T18:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I auto-calculate precision and F1 score for models on imbalanced data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45266#M25870</link>
      <description>&lt;P&gt;Hi, Oleg!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think I misread your original question...but that's just my opinion...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's an example for you to try:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take Big Class.jmp. &amp;nbsp;Run some ridiculously-overfit Neural Network analysis with Sex as the Response and Age, Height, and Weight as the factors. &amp;nbsp;Consider Female as the Positive case. :)&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got a Contingency Table that looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ridiculous Contingency.JPG" style="width: 235px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/7817i09E69EE77FED0FD8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Ridiculous Contingency.JPG" alt="Ridiculous Contingency.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Choose Make Into Data Table.&lt;/P&gt;&lt;P&gt;TP= 16. &amp;nbsp;FP=2. &amp;nbsp;FN=2.&lt;/P&gt;&lt;P&gt;F1 can be calculated by 2*TP/(2*TP+FP+FN). &amp;nbsp;I get F1=0.89.&lt;/P&gt;&lt;P&gt;This is a very easy thing to script (in my opinion :), and you can even automatically include this metric (and any other) on any of your output with a script. &amp;nbsp;Give it a shot, and I'll try to help you get it if you fail.&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 20:08:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45266#M25870</guid>
      <dc:creator>Kevin_Anderson</dc:creator>
      <dc:date>2017-09-28T20:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I auto-calculate precision and F1 score for models on imbalanced data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45271#M25874</link>
      <description>&lt;P&gt;Kevin,&amp;nbsp;thanks for the example.&lt;/P&gt;&lt;P&gt;I don't have a problem running a model and computing F1 and Precision scores by hand. But, is there an example to auto-compute&amp;nbsp;these&amp;nbsp;in JMP (which is what&amp;nbsp;I asked originally)?&lt;/P&gt;&lt;P&gt;In the meantime, I coded these Python, which took less time than posting a question. If someone provides an answer in the future, I'll gladly&amp;nbsp;give it another try.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 20:57:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45271#M25874</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2017-09-28T20:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I auto-calculate precision and F1 score for models on imbalanced data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45279#M25878</link>
      <description>&lt;P&gt;Examples are available in the File Exchange, the script examples installed when you install JMP, directly in the Scripting Guide book, also&amp;nbsp; installed when you install JMP, etc.&amp;nbsp; And on top of that, here is a sample script that reads from an output and displays it in a different form as part of an output.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\Big Class.jmp" );

// Run the Fit Y by X to get the XY plot
Biv = dt &amp;lt;&amp;lt; Bivariate( Y( :height ), X( :weight ) );

// Run the distributions to get the stats
Dis = dt &amp;lt;&amp;lt; Distribution( Continuous Distribution( Column( :height ) ), Continuous Distribution( Column( :weight ) ) );

// Extract the stats
heightMean = Report( dis )["Height"]["Summary Statistics"][Number Col Box( 1 )][1];
weightMean = Report( dis )["Weight"]["Summary Statistics"][Number Col Box( 1 )][1];

// Create the new display object
hlb = H List Box(
	Text Box( "Mean of Height = " ),
	Number Edit Box( heightMean ),
	Spacer Box( size( 30, 0 ) ),
	Text Box( "Mean of Weight = " ),
	Number Edit Box( weightMean )

);

// Add the new object to the plot
Report(Biv)[Outline Box(1)] &amp;lt;&amp;lt; Append( hlb );

Dis &amp;lt;&amp;lt; close window;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Sep 2017 22:31:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45279#M25878</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-09-28T22:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I auto-calculate precision and F1 score for models on imbalanced data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45282#M25881</link>
      <description>&lt;P&gt;Thanks Jim. A cocnrete example like this is what I was looking for. I've already reverted to Python, but I will give&amp;nbsp;your JSL example&amp;nbsp;a try later.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 22:40:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-auto-calculate-precision-and-F1-score-for-models-on/m-p/45282#M25881</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2017-09-28T22:40:51Z</dc:date>
    </item>
  </channel>
</rss>

