Ripple’s stablecoin RLUSD could take a substantial European market share off Tether’s USDT as the former navigate regulatory waters. Speculations have swarmed the crypto space on the status of USDT in Europe after the rollout of the Markets in Crypto Asset (MiCA) regulation. The race for stablecoin dominance remains competitive as new tokens joined the […]
O Coin ($O) is reshaping the relationship between artificial intelligence and blockchain technology. Designed to support the world’s first Sovereign Super AI, O, the token ensures independence, fostering innovation and ethical development without reliance on external funding. With its unique deflationary model, transparent governance, and versatile utilities, $O is set to redefine how decentralized ecosystems […]
How can numerical user metrics, such as “3 visits in the past week,” be transformed into a personalized assessment of whether this behavior is typical or unusual for the user?
Cover, image by Author
In almost any digital product, analysts often face the challenge of building a digital customer profile — a set of parameters that describe the customer’s state and behavior in one way or another.
What are the potential applications of these metrics?
Gaining insights into user behavior
Leveraging as features in ML models
Developing business rules for personalized offers
A simple example is e-commerce, with metrics like those listed in the table below.
Image by Author
These metrics are used everywhere, but what is the problem with them? They don’t take into account the specific user’s history or the dynamics of this particular metric. Is $200 spend a lot for user 1? It’s unclear. Yet this distinction significantly influences the business decision we make next.
Even within the context of a single user, $200 can have a different meaning for the business depending on the user’s stage in their lifecycle with the product. $200 spent during the user onboarding, pick activity and re-activation are different.
User journey, image by Author
We’d like to have some normalized metrics to be able compare them between users. Something like this:
Image by Author
So how can we move from a numerical description of customer behavior to a more characteristic representation? For instance, how can the fact that “a customer hasn’t made a transaction for 7 days” be translated into an individualized assessment of whether this is unusual or typical for that specific customer? The challenge is to achieve this without losing interpretability, preserving business relevance, and avoiding black-box models.
A simple approach is to analyze the distribution of the metric and determine the probability of observing the current result (i.e., calculate the p-value). This helps us understand how extreme the value is compared to the user’s history.
Normal distribution, image by Author
But what’s the challenge here? In most cases, the distribution of metrics is not normal, making p-value calculations more complex.
The random metric probably would have a distribution similar to this one:
PDF, image by Author
We can apply some small trick and to transform Probability Density Function to Cumulative Distribution Function (CDF). Calculating p-value in this case is much easier.
CDF, image by Author
So, we simply need to reconstruct the CDF from the user’s metric, which can be done efficiently using splines. Let’s create a toy example.
Imagine you are an e-commerce platform aiming to personalize your email campaigns based on user activity from the past week. If a user has been less active compared to previous weeks, you plan to send them a discount offer.
You’ve gathered user statistics and noticed the following for a user named John:
John visited the platform for the first time 15 days ago.
During the first 7 days (days 1–7), he made 9 visits.
During the next 7 days (days 2–8), he made 8 visits.
Totally we have 9 values.
Now, you want to evaluate how extreme the most recent value is compared to the previous ones.
Not bad. But we observe a small problem between red dots — the CDF must be monotonically increasing. Let’s fix this with Piecewise Cubic Hermite Interpolating Polynomial.
CDF with Piecewise Cubic Hermite Interpolating, image by Author
Alright, now it’s perfect.
To calculate p-value for our current observation (6 visits during the last week) we need to calculate the surface of filled area.
Critical area, image by Author
To do so let’s create a simple function calculate_p_value:
def calculate_p_value(x): if x < values.min(): return 0 elif x > values.max(): return 1 else: return spline_monotonic(x)
p_value = calculate_p_value(num_visits_last_week) print(f"Probability of getting less than {num_visits_last_week} equals: {p_value}")
Probability of getting less than 6 equals: 0.375
So the probability is quite high (we may compare it to a threshold 0.1 for instance) and we decide not to send the discount to John. Same calculation we need to do for all the users.
Conclusion
In this article, we have seen how transforming raw user metrics into personalized assessments can lead to more effective business decisions. By using statistical methods like CDF and spline interpolation, we can better understand the context behind user actions and provide personalized, relevant offers that are informed by data.
Apple has reportedly fired around 50 employees for misusing a charitable grants program, taking the funds for themselves as extra pay.
Apple Park
Apple, like other major employers, offer various grants and programs to help employees and charities. After an investigation, it appears that some employees have decided to misappropriate grant funds to line their pockiets.
Around 50 employees were fired from Apple’s Cupertino headquarters, for misusing the Matching Gifts program. A corporate social responsibility initiative, it is intended to match the donations of employees to non-profit organizations.
Apple’s AirTag is the best Bluetooth tracker for iPhone users, and if you’ve been thinking about picking some up, now would be a good time to do so. A four-pack of AirTags has dropped to $70, which is $29 off the regular price. That marks a return to a record-low price for the bundle.
If you’d rather buy just one AirTag for now to test it out, there’s some good news on that front as well. A single AirTag will currently run you $23. That’s six bucks off the usual price.
AirTags take just seconds to set up using an iPhone. They are integrated into the Find My network, so you don’t have to register for another service or download a separate app. AirTags also support the ultra-wideband wireless protocol. When your iPhone gets within roughly 25 feet of a linked AirTag, you’ll see directional arrows and an approximate distance meter to help you locate it.
On top of that, Apple recently revealed that several major airlines are adding support for AirTag tracking to their systems. The idea is to help you (and your airline) more easily locate any missing bag that has an AirTag inside.
Meanwhile, you might be interested in picking up some AirTag accessories to, say, more easily attach them to your keychain. We’ve got you covered there too, thanks to our round-up of the best AirTag accessories.
Follow @EngadgetDeals on Twitter and subscribe to the Engadget Deals newsletter for the latest tech deals and buying advice.
This article originally appeared on Engadget at https://www.engadget.com/deals/a-four-pack-of-apple-airtags-has-dropped-to-70-150049936.html?src=rss
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
Cookie
Duration
Description
cookielawinfo-checkbox-analytics
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional
11 months
The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy
11 months
The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.