<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Alex Troitsky</title>
    <description>The latest articles on DEV Community by Alex Troitsky (@alextroitskyai).</description>
    <link>https://dev.to/alextroitskyai</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3665673%2F298172aa-1080-451e-987f-a1145535ec5f.jpeg</url>
      <title>DEV Community: Alex Troitsky</title>
      <link>https://dev.to/alextroitskyai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/alextroitskyai"/>
    <language>en</language>
    <item>
      <title>Stop Guessing AI Metrics: Regression Explained with MSE, RMSE, MAE, R &amp; MAPE</title>
      <dc:creator>Alex Troitsky</dc:creator>
      <pubDate>Tue, 16 Dec 2025 22:50:04 +0000</pubDate>
      <link>https://dev.to/alextroitskyai/stop-guessing-ai-metrics-regression-explained-with-mse-rmse-mae-r2-mape-596f</link>
      <guid>https://dev.to/alextroitskyai/stop-guessing-ai-metrics-regression-explained-with-mse-rmse-mae-r2-mape-596f</guid>
      <description>&lt;h2&gt;
  
  
  What is regression?
&lt;/h2&gt;

&lt;p&gt;A regression task in machine learning is a type of AI learning where a model is trained on data with a continuous value and learns to predict that value based on one or more input features.&lt;/p&gt;

&lt;p&gt;The key difference between regression and classification is that regression predicts continuous values (for example, house price, temperature, number of sales), while classification predicts categorical labels (for example, yes/no, red/blue/green).&lt;/p&gt;

&lt;p&gt;In other words, a regression task predicts a number, while a classification task is like choosing an answer from multiple options in a test.&lt;/p&gt;

&lt;h2&gt;
  
  
  Example
&lt;/h2&gt;

&lt;p&gt;Let’s imagine that we run a classifieds platform similar to Idealista. We want to suggest to users, directly in the interface, the best price at which they should list their apartment, based on many factors, such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Apartment location&lt;/li&gt;
&lt;li&gt;Size&lt;/li&gt;
&lt;li&gt;Floor&lt;/li&gt;
&lt;li&gt;Renovation quality&lt;/li&gt;
&lt;li&gt;Year the building was constructed&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;As a result, we show the user a recommended price in euros.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Febq30nrp4heazcz34tqt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Febq30nrp4heazcz34tqt.png" alt=" " width="800" height="346"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We predicted the prices for 10 apartments, and a month later we learned the actual prices at which they were sold.&lt;/p&gt;

&lt;p&gt;Next, we will perform some simple calculations with these results:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Subtract the actual price from the predicted price (first column)&lt;/li&gt;
&lt;li&gt;Square this difference (second column) &lt;/li&gt;
&lt;li&gt;Take the square root of this value (third column) &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This gives us the following results for our example:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foo35aqq7evm7t92931aw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foo35aqq7evm7t92931aw.png" alt=" " width="800" height="435"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  MSE
&lt;/h2&gt;

&lt;p&gt;If we take the second column from the green table above, add up all the values in it, and then divide by the number of values (i.e., take the average), we get MSE, or Mean Squared Error.In our case:&lt;/p&gt;

&lt;p&gt;MSE = 3,353,809,295&lt;/p&gt;

&lt;p&gt;That’s a big number! Because of its scale, it’s hard to interpret from a business perspective. MSE is more often used during model development, where it’s important to penalize large errors more heavily than small ones, since the error grows quadratically. This makes MSE sensitive to outliers. MSE is useful when large errors are unacceptable and should strongly affect the model.&lt;/p&gt;

&lt;h2&gt;
  
  
  RMSE
&lt;/h2&gt;

&lt;p&gt;RMSE, or Root Mean Squared Error, is the younger brother of MSE. To calculate it, you simply take the square root of MSE.&lt;/p&gt;

&lt;p&gt;In our case, it equals 57,912.&lt;/p&gt;

&lt;p&gt;RMSE also penalizes large errors, but unlike MSE, the scale of the error is the same as the original data, which makes it easier to interpret. This makes RMSE a good choice for many practical tasks where interpretability matters.&lt;/p&gt;

&lt;h2&gt;
  
  
  MAE
&lt;/h2&gt;

&lt;p&gt;MAE, or Mean Absolute Error, is calculated using the third column of the green table above. You take the sum of the square roots of the squared differences between the predicted and actual prices and divide it by the number of observations. In simple terms, you take the average of the third column.&lt;/p&gt;

&lt;p&gt;In our example, MAE = 49,243.&lt;/p&gt;

&lt;p&gt;MAE is less sensitive to outliers compared to MSE and RMSE. This makes it a preferred option when outliers exist in the data but should not have a strong impact on the overall performance of the model.&lt;/p&gt;

&lt;p&gt;Let’s make our green table a bit more complex&lt;/p&gt;

&lt;p&gt;To understand how R-squared and MAPE are calculated, we need to add two more columns to our green table:&lt;/p&gt;

&lt;p&gt;Subtract the mean predicted pricefrom the predicted price and square the result (the fourth green column).P.S. Don’t ask why this is needed or what the practical meaning is — just do it 🙂&lt;/p&gt;

&lt;p&gt;Divide the third green column by the predicted apartment price from the yellow table. In other words, divide the absolute difference between the predicted and actual price by the predicted apartment price (the fifth green column).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp86unt3bgi94ax00pnqf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp86unt3bgi94ax00pnqf.png" alt=" " width="800" height="264"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Coefficient of Determination (R-squared)
&lt;/h2&gt;

&lt;p&gt;To calculate it, we subtract from 1 the ratio of the sum of the second and the fourth green columns:&lt;/p&gt;

&lt;p&gt;R-squared = 1 − (sum of column 2 / sum of column 4)&lt;/p&gt;

&lt;p&gt;In our case, R-squared = 85.2%.&lt;/p&gt;

&lt;p&gt;R-squared measures how much of the variability of the dependent variable is explained by the independent variables in the model. It’s a good way to evaluate how well the model fits the data: the closer the value is to 1, the better the model explains the data. R-squared is best suited for comparing models trained on the same dataset.&lt;/p&gt;

&lt;h2&gt;
  
  
  MAPE
&lt;/h2&gt;

&lt;p&gt;Mean Absolute Percentage Error (MAPE) is simply the average of the fifth green column.&lt;/p&gt;

&lt;p&gt;In our case, MAPE = 14.2%.&lt;/p&gt;

&lt;p&gt;MAPE measures how far predictions deviate from actual values in percentage terms and is a good choice when you need an easily interpretable error expressed as a percentage. However, MAPE can be unreliable when the data contains zero or very small values.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Congratulations! You’ve learned about the core metrics used in regression problems.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>The 11 Largest AI Companies in the World (December 2025 Edition)</title>
      <dc:creator>Alex Troitsky</dc:creator>
      <pubDate>Tue, 16 Dec 2025 22:00:10 +0000</pubDate>
      <link>https://dev.to/alextroitskyai/the-11-largest-ai-companies-in-the-world-december-2025-edition-3de4</link>
      <guid>https://dev.to/alextroitskyai/the-11-largest-ai-companies-in-the-world-december-2025-edition-3de4</guid>
      <description>&lt;p&gt;Hey everyone! It's my first post here, so I'm a bit excited! &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff10lzd37x54m2n1tipqa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff10lzd37x54m2n1tipqa.png" alt=" " width="800" height="444"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;AI became a thing just 3-4 years ago, and by now we see startups pilled with cash from bigtech giants making 100mln ARR in less than a year with new cool models and application. In this article I tried to summarize data from open source to make a list of the biggest AI companies as by now (December 2025).&lt;/p&gt;

&lt;h2&gt;
  
  
  What’s the methodology behind this?
&lt;/h2&gt;

&lt;p&gt;This ranking includes only AI-first companies—organizations whose core business model is developing and monetizing their own foundation models (LLMs, multimodal models, code models, image/video generators, or autonomous AI systems).&lt;/p&gt;

&lt;h2&gt;
  
  
  To be included, a company must:
&lt;/h2&gt;

&lt;p&gt;Sell direct access to its models through subscriptions or API usage&lt;br&gt;
Generate the majority of its revenue from those models&lt;br&gt;
Have a publicly reported or credibly estimated annual recurring revenue (ARR) above $100M as of the second half of 2025&lt;br&gt;
I intentionally excluded:&lt;/p&gt;

&lt;p&gt;Big Tech companies like Google, Meta, Microsoft, Amazon, and Apple, because AI is not their primary revenue driver, even though they produce world-class models.&lt;br&gt;
I also excluded infrastructure providers, consulting firms, and startups that rely solely on open-source models without monetizing their own. ARR data comes from verified reports, executive interviews, investor briefings, and reputable financial journalism—including Reuters, The Information, TechCrunch, and VC research platforms.&lt;br&gt;
Below is a breakdown of the 11 biggest AI-first companies in the world, ranked by their most recent ARR (second half of 2025). Numbers are based on public statements, financial reports, and reputable media analysis.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. OpenAI — $13–20 Billion ARR
&lt;/h2&gt;

&lt;p&gt;OpenAI is the unchallenged leader of the AI-first economy.&lt;br&gt;
Fueled by ChatGPT, GPT-4.1, enterprise contracts, and a massive API ecosystem, the company scaled from $1B ARR to over$13B in roughly two years—and is now approaching $20B.&lt;/p&gt;

&lt;p&gt;With more than 800 million weekly active users, OpenAI has the largest distribution channel in the history of software. Its enterprise suite, now used by over a million businesses, is the engine behind the explosive revenue growth.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Anthropic — $7–9 Billion ARR
&lt;/h2&gt;

&lt;p&gt;Anthropic, creator of Claude, is the fastest-growing enterprise AI provider ever recorded.&lt;br&gt;
By late 2025, its ARR jumped to$7B, with internal forecasts nearing $9B.&lt;/p&gt;

&lt;p&gt;Claude’s reputation for reliability and long-context reasoning made it the preferred option in finance, legal, and security sectors. The company reports that 80% of revenue comes from enterprise API deals—illustrating how deeply AI has penetrated core business operations.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Midjourney — ~$500 Million ARR
&lt;/h2&gt;

&lt;p&gt;The most profitable creative AI company in the world.&lt;br&gt;
Midjourney built a $500M+ ARR business withno venture capital, a team of fewer than 50 people, and a fanatically loyal creative community.&lt;/p&gt;

&lt;p&gt;Their image-generation models (V6, V7) set the quality bar for the entire industry. With subscription-only revenue and zero enterprise sales, Midjourney remains one of the purest product-market-fit success stories in modern tech.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Cursor (Anysphere) — $500+ Million ARR
&lt;/h2&gt;

&lt;p&gt;Cursor is the breakout star of the AI coding revolution (“vibe-coding”).&lt;br&gt;
In 2025 it became the fastest-growing developer tool ever, passing$500M ARR and securing a valuation near $30B.&lt;/p&gt;

&lt;p&gt;Cursor combines a lightweight IDE with a powerful AI pair programmer built on frontier models, enabling developers to modify multi-file projects, refactor code, and even generate full systems.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. xAI — ~$500 Million ARR
&lt;/h2&gt;

&lt;p&gt;Elon Musk’s xAI went from zero to half-a-billion ARR in under a year.&lt;br&gt;
Its model Grok, integrated deeply into X (Twitter), created a massive built-in distribution channel, while government and enterprise contracts added predictable revenue streams.&lt;/p&gt;

&lt;p&gt;xAI’s fundraising—over $10B in 2025—ensures it will remain a major contender in frontier model development.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Replit — ~$150 Million ARR
&lt;/h2&gt;

&lt;p&gt;Replit transformed from an online coding sandbox into a fully AI-powered app creation platform.&lt;br&gt;
In less than a year, the company jumped from ~$3M ARR to$150M+, driven by its AI agent that can build, run, and deploy applications with minimal human intervention.&lt;/p&gt;

&lt;p&gt;Replit democratizes software creation, bringing coding capabilities to millions who never wrote code before.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Hugging Face — ~$130 Million ARR
&lt;/h2&gt;

&lt;p&gt;The open-source powerhouse of the AI ecosystem.&lt;br&gt;
Hugging Face does not rely on a single model; instead, it monetizesinfrastructure, enterprise hosting, private model hubs, model inference, and professional AI tooling.&lt;/p&gt;

&lt;p&gt;With over 100,000 organizations using its platform and ARR exceeding $130M, Hugging Face has become the GitHub of AI.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. Cohere — $100–150 Million ARR
&lt;/h2&gt;

&lt;p&gt;Cohere dominates the enterprise private-LLMsegment.&lt;br&gt;
Trusted by banks, governments, and regulated industries, Cohere provides models that run privately—on a company’s own servers or cloud.&lt;/p&gt;

&lt;p&gt;By focusing on privacy, security, and sovereignty rather than mass adoption, Cohere reached $100M ARR by mid-2025 and now pushes toward the $150M mark.&lt;/p&gt;

&lt;h2&gt;
  
  
  9. Lovable — ~$100 Million ARR
&lt;/h2&gt;

&lt;p&gt;Lovable became a phenomenon in the “vibe coding” wave.&lt;br&gt;
In under a year, the company grew from zero to$100M ARR, turning app creation into a creative, remixable experience.&lt;/p&gt;

&lt;p&gt;Beyond writing code, Lovable generates full application structures—frontend, backend, and deployment—making it one of the fastest-scaling SaaS products in AI history.&lt;/p&gt;

&lt;h2&gt;
  
  
  10. AI21 Labs — ~$100 Million ARR
&lt;/h2&gt;

&lt;p&gt;AI21 Labs specializes in long-context reasoning and enterprise-grade text models.&lt;br&gt;
Known for its Jamba and Jurassic families of LLMs, the company secured major partnerships with NVIDIA and Google, pushing revenue toward the$100M mark.&lt;/p&gt;

&lt;p&gt;Its orchestration engine, Maestro, positions AI21 as a precision-focused alternative to giants like OpenAI and Anthropic.&lt;/p&gt;

&lt;h2&gt;
  
  
  11. Stability AI — &amp;lt; $100 Million ARR (but influential)
&lt;/h2&gt;

&lt;p&gt;Stability AI, creator of Stable Diffusion, is the only company on this list not above $100M ARR—yet its impact on the generative ecosystem remains unmatched.&lt;/p&gt;

&lt;p&gt;Despite a challenging transition from open-source diffusion models to enterprise monetization, the company continues to innovate across image, audio, and video generation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Follow me — check my profile for links to get more news and insights about AI and how it actually works!
&lt;/h2&gt;

</description>
      <category>news</category>
      <category>ai</category>
      <category>startup</category>
      <category>datascience</category>
    </item>
  </channel>
</rss>
