<?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 goedle.io on Medium]]></title>
        <description><![CDATA[Stories by goedle.io on Medium]]></description>
        <link>https://medium.com/@goedle_io?source=rss-8a82bab84fe0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1Hn7er_eabIMR5zWIhOsDw.png</url>
            <title>Stories by goedle.io on Medium</title>
            <link>https://medium.com/@goedle_io?source=rss-8a82bab84fe0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 08:50:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@goedle_io/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[Using Deep Neural Networks for Multivariate Purchase Predictions]]></title>
            <link>https://medium.com/@goedle_io/using-deep-neural-networks-for-multivariate-purchase-predictions-7da5506945e9?source=rss-8a82bab84fe0------2</link>
            <guid isPermaLink="false">https://medium.com/p/7da5506945e9</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ecommerce]]></category>
            <category><![CDATA[sales]]></category>
            <dc:creator><![CDATA[goedle.io]]></dc:creator>
            <pubDate>Thu, 03 Oct 2019 08:58:03 GMT</pubDate>
            <atom:updated>2019-10-03T08:58:03.230Z</atom:updated>
            <content:encoded><![CDATA[<p>Forecasting future purchases on a customer level offers businesses a great opportunity to personalize marketing efforts and to efficiently focus their resources. In many cases, historical customer data is readily available and Machine Learning methods can be utilized to make various valuable predictions, for example the time of a customer’s next order.</p><p>However, these methods usually only calculate a single variable for each customer. This is called a <strong>univariate </strong>prediction and <em>can</em> already be quite useful. But predicting several variables in a<strong> multivariate </strong>setting provides much greater detail and therefore possibilities for taking profitable actions. Multivariate predictions also offer a more precise explanation about the customer behavior.</p><p>In this blog post we explain how to use Machine Learning to perform multivariate purchase predictions on a real-world dataset. After describing the problem setup, our first approach will be to combine multiple univariate models. We will then make use of Deep Learning and Neural Networks with a particular architecture to develop a real multivariate model.</p><h3>Problem Setup</h3><p>Let’s see how we can set up a multivariate purchase prediction problem on a customer level.</p><p>We will use the ‘Acquire Valued Shoppers Challenge’ dataset which is provided by Kaggle and can be freely downloaded <a href="https://www.kaggle.com/c/acquire-valued-shoppers-challenge/">here</a>. This dataset contains detailed information about almost <strong>350 million</strong> transactions of over <strong>300,000</strong> unique customers over <strong>14 month</strong>, making it the ideal basis for constructing a multivariate purchase prediction problem.</p><p>For all customers we use <strong>one year </strong>of their transactions as information about their past buying behavior and predict in which of the following <strong>four weeks</strong> they will make a purchase. To be more precise, we predict <strong>four boolean target variables </strong>for each customer:</p><ul><li>Target 1: ‘Customer makes a purchase in the <strong>first</strong> week.’</li><li>Target 2: ‘Customer makes a purchase in the <strong>first</strong> <strong>two</strong> weeks.’</li><li>Target 3: ‘Customer makes a purchase in the <strong>first</strong> <strong>three</strong> weeks.’</li><li>Target 4: ‘Customer makes a purchase in the <strong>first four</strong> weeks.’</li></ul><p>You can take a look at the picture below to see how we use four weeks of purchase history to construct the target labels for three different customers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*8yOEBgxbvCWKMKoeP63nlQ.jpeg" /><figcaption>Purchases of customers C1, C2, and C3 are used to construct their respective target labels.</figcaption></figure><p>As features we use the available demographic data and derive additional features from the past transactions. These include simple statistics like the total number of purchases and the customer’s preferred product category, but also more complex features like ratios and trends. In total we use a combination of about <strong>30</strong> numerical and <strong>80</strong> categorical and boolean features. If you need some inspiration for your feature engineering, definitely consider reading <a href="https://www.kdd.org/kdd2016/papers/files/adf0160-liuA.pdf">this</a> great paper.</p><h3>Baseline Approach</h3><p>After setting up the problem, we now want to find out how hard to solve it actually is. The following baseline runs almost out of the box.</p><p>A simple approach for solving a multivariate prediction problem is to treat the different target variables independently and to use a univariate model for each of them. In our case we train <strong>four models</strong>, one for each of the <strong>four target variables</strong>.</p><p>Here, the main advantage is that we reduce the problem to the much easier and more common univariate case. This enables us to make use of the open-source implementations provided by libraries such as <a href="https://scikit-learn.org/stable/">sklearn</a> and <a href="https://xgboost.readthedocs.io/en/latest/index.html">XGBoost</a> which are highly optimized, making this approach a strong baseline.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*xF1Lh9YdByM71fTMwCyIFA.jpeg" /><figcaption>Input data is fed into four different models, each predicting one target.</figcaption></figure><h3>Common Sense</h3><p>Take a second to think about how the target variables interact with each other.</p><p>Imagine for example a customer who makes a purchase in the first week.</p><p>Well, then his variable for target 1 has to be <strong>True</strong>, since he made a purchase in the first week. But his other variables have to be <strong>True </strong>as well,because a purchase in the first week is <em>in particular </em>a purchase in the first two, three and four weeks.</p><p>Humans understand these connections naturally, but the baseline does not.</p><p>The models work independently and can not communicate with each other, and as a result they might output predictions which are self-contradictory.</p><p>So how can we incorporate this ‘common sense’ into our predictions?</p><p>This is the moment where we switch gears to <a href="https://en.wikipedia.org/wiki/Artificial_neural_network">Artificial Neural Networks</a> and start to build a single multivariate classifier.</p><h3>Why use Neural Networks?</h3><p>In the last years <a href="https://en.wikipedia.org/wiki/Deep_learning">Deep Learning</a> and in particular Neural Networks (NN) have had an enormous success dealing with a variety of Machine Learning problems, and arguably even <a href="https://en.wikipedia.org/wiki/Deep_learning#Applications">surpassing</a> human level performance in a few of them.</p><p>Part of that success stems from the ability to grasp more complex dependencies within data than traditional Machine Learning models. This makes them very well suited for our multivariate prediction problem, since capturing these dependencies — for example between the target variables — is exactly what we are looking for. Also NN’s architecture is incredibly versatile and flexible and we will now see how to make use of that.</p><h3>Neural Network Architecture</h3><p>Let’s take one step back for a moment and assume that we want to predict just a single boolean variable with our network. How would we do that?</p><p>Well, given an input vector<em>, </em>we would pass it through some hidden layersuntil it arrives at the output layer, where we have only two neurons — one indicating <strong>True </strong>and one indicating <strong>False</strong>. Intuitively we want the network to fire at the <strong>True </strong>output neuron, whenever we pass a <strong>positive</strong> sample and at the <strong>False </strong>output neuron for a <strong>negative</strong> sample.</p><p>Now think about the multivariate case where we want to predict <strong>four</strong> different boolean variables.</p><p>Again, we pass the input vector through the hidden layers, up to the last hidden layer, one step before the output layer. At this point, the Neural Network has already applied most of its knowledge. Using the trained parameters in the hidden layers, it has transformed the input vector into an internal representation which encodes the conclusions it has drawn so far.</p><p>Instead of giving this representation now to a single output layer of two neurons, we pass it to <strong>four</strong> output layers (two neurons each), one for each target variable. By sharing the hidden layers — and thus learning a single encoding — our predictions will be strongly linked together, while the respective output layers are still able to compute separate variables.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*CF9l8-b7M9EygQxqN8hnCw.jpeg" /></figure><h3>Training the Neural Network</h3><p>Training Neural Networks is <a href="https://machinelearningmastery.com/why-training-a-neural-network-is-hard/">hard</a>. There is a vast amount of parameters to tune, new techniques to test and using a custom architecture with multiple outputs surely doesn’t make life easier. Let’s quickly see how the training can be done.</p><p>For the output layers we used a <strong>softmax </strong>activation function and a <strong>binary cross entropy </strong>loss function. To back-propagate the gradients to the hidden layers, we simply averaged the gradients of the output layers.</p><p>For the hidden layers we found that a <strong>SELU </strong>activation function combined with <strong>Alpha-Dropout </strong>was superior to other approaches. To learn more about self-normalizing Neural Networks, checkout <a href="https://arxiv.org/abs/1706.02515">this</a> amazing paper.</p><p>For other parameters including learning rate, optimizer, training epochs, and batchsize we implemented a gridsearch with heuristical speedups. The Neural Network itself was implemented using the <a href="https://keras.io/models/model/">Keras Model API</a>. If you have troubles training your own net, <a href="https://machinelearningmastery.com/category/better-deep-learning/">this</a> might help you big time.</p><h3>Evaluation</h3><p>Following the <a href="https://blog.goedle.io/2019/09/02/using-deep-neural-networks-for-multivariate-purchase-predictions/#problem">problem description</a> above, we use a subset of the data to construct a train <strong>(~13.000 samples)</strong> and a test dataset <strong>(~5.500 samples)</strong>. We have to keep in mind, that considering multiple weeks for one target introduces an unbalance to the distribution of target variables: In the first week already about <strong>80%</strong> of the customers make a purchase, but within the four weeks for target 4, it is over <strong>98%</strong>. Since we have very few samples from the underrepresented target class to learn from, it will be challenging to predict them correctly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Xr0bVXhQ21QXTcra.png" /></figure><p>For the evaluation we will therefore compare the <a href="https://en.wikipedia.org/wiki/F1_score">F1-score</a> for the target labels separately. As a second metric we analyze the number of predictions, which are self-contradicting as described in the section <a href="https://blog.goedle.io/2019/09/02/using-deep-neural-networks-for-multivariate-purchase-predictions/#sense">Common Sense.</a></p><h3>Results</h3><p>As a baseline we trained <a href="https://en.wikipedia.org/wiki/Decision_tree">Decision Trees</a>, <a href="https://en.wikipedia.org/wiki/Random_forest">Random Forests</a> and <a href="https://en.wikipedia.org/wiki/Gradient_boosting">Gradient Boosted Trees</a> ( <a href="https://xgboost.readthedocs.io/en/latest/python/python_api.html">XGBoost implementation</a>) and used hyperparameter optimization techniques from sklearn. These algorithms are not only widely used and well studied, but have also proven to be successful in winning many <a href="https://www.kaggle.com/antgoldbloom/what-algorithms-are-most-successful-on-kaggle">Kaggle challenges</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JQqQZQRe0LeGdKeh.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*H3drpi0Xyc08K3Op.png" /></figure><p>As you can see the Neural Network is not quite able to surpass the baseline approach regarding the F1-score, especially not the XGBClassifier. Nevertheless, the Network is able to deliver competitive results and for the difficult <strong>False </strong>class it is never worse by more than <strong>0.02 </strong>compared to the best performing model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OEt4ozAow3Jigrqj.png" /></figure><p>On the other hand the Neural Network proves to be very strong in making consistent predictions.</p><p>Out of theabout <strong>5.500 </strong>predictions made on the test data, <strong>multiple hundreds</strong> are self-contradictory for the Decision Tree and the Random Forest, and still <strong>10</strong> for the XGBClassifier, while the Neural Network does not make a single one of those mistakes.</p><p>Generally speaking, we can conclude that Neural Networks are capable of making comparably good results, while delivering more consistent and interpretable predictions, than the baseline approach. When dealing with real-world problems self-contradicting predictions are hardly reasonable, therefore the Neural Network might be particularly useful in that setting.</p><h3>Conclusion</h3><p>In this blog post we have seen how to use a Neural Network to deal with a multivariate purchase prediction problem. While it does not yet prove to be superior in accuracy, only the Deep Learning approach is able to produce predictions without self-contradictions.</p><p>We do believe that further progress will be made in the future using improved network architectures or more sophisticated training and inference techniques, and we will keep working on that for a follow-up post.</p><p>If you think about doing purchase predictions as well, then you should definitely consider doing multivariate predictions. We would love to hear about your experiences and insights.</p><p>In contrast to <em>purchase prediction</em>, it is also possible to consider <em>churn prediction.</em> To learn more about this interesting topic checkout <a href="https://blog.goedle.io/2019/02/07/better-marketing-using-churn-prediction-and-game-data-mining/">this</a> blog-post which shows how to precisely forecast future churners in the online game <em>Blade &amp; Soul.</em></p><p>Also don’t forget to subscribe to our <a href="https://eepurl.com/djzuRH">newsletter</a> and follow us on <a href="https://twitter.com/goedle_io">Twitter</a>, <a href="https://www.facebook.com/goedle.io/">Facebook</a>, <a href="https://www.linkedin.com/company/goedle-io/">LinkedIn</a>, and <a href="https://www.xing.com/companies/goedle.iogmbh">XING</a>.</p><p>[The images may use icons made by <a href="https://www.flaticon.com/authors/dave-gandy">Dave Gandy</a> from <a href="http://www.flaticon.com/">www.flaticon.com</a>]</p><p><em>Originally published at </em><a href="https://blog.goedle.io/2019/09/02/using-deep-neural-networks-for-multivariate-purchase-predictions/"><em>https://blog.goedle.io</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7da5506945e9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mocking Web Requests in Unity — Fake it until you make it!]]></title>
            <link>https://medium.com/@goedle_io/mocking-web-requests-in-unity-fake-it-until-you-make-it-98496e859c94?source=rss-8a82bab84fe0------2</link>
            <guid isPermaLink="false">https://medium.com/p/98496e859c94</guid>
            <category><![CDATA[game-industry]]></category>
            <category><![CDATA[unity]]></category>
            <category><![CDATA[sdk]]></category>
            <category><![CDATA[integration]]></category>
            <dc:creator><![CDATA[goedle.io]]></dc:creator>
            <pubDate>Mon, 06 Aug 2018 13:26:18 GMT</pubDate>
            <atom:updated>2018-08-06T13:27:57.142Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Unity Test Runner with HTTP mocking" src="https://cdn-images-1.medium.com/max/640/0*DxbYbXRsa8Sm0UBA.gif" /><figcaption>Executing the unit test with the mocked HTTP client</figcaption></figure><p>Recently, we faced the problem of creating unit tests for our Unity tracking SDK (<a href="https://github.com/goedleIO/sdk_unity">GitHub</a> | <a href="https://www.gamecomponents.eu/content/565">RAGE Framework</a> | <a href="https://http//blog.goedle.io/2017/05/30/start-your-turbine-engines-goedle-io-now-supports-unity-and-offers-a-unity-tracking-sdk/?utm_source=blog&amp;utm_medium=textlink&amp;utm_campaign=unityunittest">Introduction</a>). The SDK enables game developers to transmit telemetric data to the goedle.io tracking API. To us, it is of great importance to ship reliable software. On the one hand, our customers have to trust our SDKs. On the other hand, if our SDKs or other components crash, we lose data and our algorithms only have access to incomplete data. Test-driven development cannot guarantee an error-free software but it helps a lot to develop high-quality software.</p><p>In my opinion, when I started coding for Unity, I had the impression that unit testing in Unity can be very complicated, especially after the Unity Test Tools are no longer available. A very helpful introduction into unit testing in Unity can be found on the <a href="https://blogs.unity3d.com/2014/05/21/unit-testing-part-1-unit-tests-by-the-book/">Unity Blog</a>. As well as a really great introduction into unit tests with <a href="http://nsubstitute.github.io/">NSubstitute</a> in Unity can be found <a href="https://blogs.unity3d.com/2014/07/28/unit-testing-at-the-speed-of-light-with-unity-test-tools/">here</a>. We were searching for an option to test keys and values in a JSON object as part of the as payload sent to our API. We were not able to mock these HTTP request with the UnityWebRequest with NSubstitute. We also didn’t find an applicable solution to stub the HTTP requests.</p><p>Our first step was to look out for HTTP mocking tools. Unity is always special because of the .NET runtime 3.5. One is able to use C# 6 with .NET 4.6 runtime but this does currently not hold for the default case and is experimental in Unity. A lot of Unity projects are based on the .NET 3.5 runtime. Our SDK, which should support as many applications as possible, has to be compatible with mainstream Unity projects. Therefore, we are already limited in the frameworks which are out there. Indeed, there are frameworks which could mock HTTP requests in C#, also for older .NET runtime versions. However, Unity does not natively support the <a href="https://msdn.microsoft.com/en-us/library/system.net.httpwebrequest(v=vs.110).aspx">C# HTTP request</a> and we wanted to use the <a href="https://docs.unity3d.com/ScriptReference/Networking.UnityWebRequest.html">UnityWebRequest</a> because we don’t want to have too many dependencies in our SDK. Popular mocking frameworks like <a href="https://github.com/WireMock-Net/WireMock.Net">WireMock</a> or <a href="https://github.com/hibri/HttpMock">HTTPMock</a> have support for .NET runtime 3.5, but they cannot mock the UnityWebRequest. These libraries only support the standard C# HTTP request, which isn’t part of Unity. There were also additional requirements for asserts we wanted to have so that we can test the following attributes and components:</p><ul><li>Response codes</li><li>HTTP header</li><li>HTTP errors</li><li>Payload</li></ul><p>Even after a lot of research, we didn’t find a suitable solution to mock an HTTP client based on UnityWebRequest — if you know one, don’t hesitate to reach out to <a href="/service/mailto:info@goedle.io">us</a>. Fortunately, <a href="http://nsubstitute.github.io/">Nsubstitute</a> and writing our own wrapper classes and new interfaces helped us to solve the problem.</p><h4>Why is it necessary?</h4><p>The overall objective was to test the HTTP communication of our Unity tracking SDK. The SDK sends tracking data via a POST request to the goedle.io backend.</p><p>So we needed to mock certain methods and attributes of the UnityWebRequest class, but the class has no interface. The solution was to write a wrapper class, with an interface which we can mock. We implemented the methods which we were using in our SDK and added them to the interface. In the class, we used these functions as a wrapper. The first example case only tests if the SendWebRequest() method is executed.</p><h4>Simple Example</h4><p>Let’s have a look at a minimal example of a basic Unity HTTP client class:</p><pre>public class BasicHttpClient : MonoBehaviour<br>{<br>    public void sendPost(string content)<br>    {<br>        StartCoroutine(basicPostClient(content));<br>    }<br>    public IEnumerator basicPostClient(string content)<br>    {<br>        UnityWebRequest unityWebRequest = new UnityWebRequest();<br>        using (unityWebRequest)<br>        {<br>            unityWebRequest.method = &quot;POST&quot;;<br>            unityWebRequest.url = &quot;example.com&quot;; // Insert your URL variable/string here<br>            byte[] byteContentRaw = new UTF8Encoding().GetBytes(content);<br>            unityWebRequest.uploadHandler = (UploadHandler)new UploadHandlerRaw(byteContentRaw);;<br>            unityWebRequest.unityWebRequest.SetRequestHeader(&quot;Content-Type&quot;, &quot;application/json&quot;);<br>            unityWebRequest.chunkedTransfer = false;<br>            yield return unityWebRequest.SendWebRequest();<br>            if (unityWebRequest.isNetworkError || unityWebRequest.isHttpError)<br>            {<br>                Debug.LogError(&quot;isHttpError: &quot; + unityWebRequest.isHttpError);<br>                Debug.LogError(&quot;isNetworkError: &quot; + unityWebRequest.isNetworkError);<br>            }<br>        }<br>    }<br>}</pre><p>Due to a missing interface of the UnityWebRequest class, we need to add a few code changes and write our own wrapper class:</p><pre>public interface IGoedleWebRequest<br>{<br>    bool isHttpError { get; }<br>    bool isNetworkError { get; }<br>    string url { get; set; }<br>    long responseCode { get; }<br>    string method { get; set; }<br>    bool chunkedTransfer { get; set; }<br>    DownloadHandler downloadHandler { get; set; }<br>    UploadHandler uploadHandler { get; set; }<br>    UnityWebRequest unityWebRequest { get; set; }<br>    UnityWebRequestAsyncOperation SendWebRequest();<br>    void SetRequestHeader(string name, string value);<br>}<br><br>public class GoedleWebRequest : IGoedleWebRequest<br>{<br><br>    UnityWebRequest _unityWebRequest { get; set; }<br><br>    public bool isNetworkError<br>    {<br>        get { return _unityWebRequest.isNetworkError; }<br>    }<br><br>    public bool isHttpError<br>    {<br>        get { return _unityWebRequest.isHttpError; }<br>    }<br><br>    public string url<br>    {<br>        get { return _unityWebRequest.url; }<br>        set { _unityWebRequest.url = value; }<br>    }<br><br>    public string method<br>    {<br>        get { return _unityWebRequest.method; }<br>        set { _unityWebRequest.method = value; }<br>    }<br><br>    public UnityWebRequest unityWebRequest<br>    {<br>        get { return _unityWebRequest; }<br>        set { _unityWebRequest = value; }<br>    }<br><br>    public UploadHandler uploadHandler<br>    {<br>        get { return _unityWebRequest.uploadHandler; }<br>        set { _unityWebRequest.uploadHandler = value; }<br>    }<br><br>    public UnityWebRequestAsyncOperation SendWebRequest()<br>    {<br>        return _unityWebRequest.SendWebRequest();<br>    }<br><br>    public void SetRequestHeader(string name, string value)<br>    {<br>        _unityWebRequest.SetRequestHeader(name, value);<br>    }<br><br>    /*<br>    You can add here additional wrapping attributes or methods from the interface you want to mock e.g the download handler or the response code<br>    */<br>}</pre><p>Et voila: So now we are able to mock or check the execution of SendWebRequest. We have to adjust the basic example of the HTTP client so we can make use of the interface:</p><pre>public class BasicHttpClient : MonoBehaviour<br>{<br><br>    public void sendPost(string content, IGoedleWebRequest goedleWebRequest)<br>    {<br>        StartCoroutine(basicPostClient(content, goedleWebRequest));<br>    }<br><br>    public IEnumerator basicPostClient(string content, IGoedleWebRequest goedleWebRequest)<br>    {<br>        goedleUploadHandler.add(content);<br>        goedleWebRequest.unityWebRequest = new UnityWebRequest();<br>        using (goedleWebRequest.unityWebRequest)<br>        {<br>            goedleWebRequest.method = &quot;POST&quot;;<br>            goedleWebRequest.url = &quot;example.com&quot;; // Insert your URL variable/string here<br>                                                  // initially, this may look a bit strange -&gt; goedleUploadHandler.uploadHandler; we will later explain why we do it this way<br>            goedleWebRequest.uploadHandler = goedleUploadHandler.uploadHandler;<br>            goedleWebRequest.unityWebRequest.SetRequestHeader(&quot;Content-Type&quot;, &quot;application/json&quot;);<br>            goedleWebRequest.chunkedTransfer = false;<br>            yield return goedleWebRequest.unityWebRequest.SendWebRequest();<br>            if (goedleWebRequest.isNetworkError || goedleWebRequest.isHttpError)<br>            {<br>                Debug.LogError(&quot;isHttpError: &quot; + goedleWebRequest.isHttpError);<br>                Debug.LogError(&quot;isNetworkError: &quot; + goedleWebRequest.isNetworkError);<br>            }<br>        }<br>    }<br>}</pre><p>A test with Nsubstitute would now look like the following example:</p><pre>[Test]<br>public void checkBehaviorWebRequestSendPost()<br>{<br>    BasicHttpClient http_client = (new GameObject(&quot;BasicHttpClient&quot;)).AddComponent();<br>    IGoedleUploadHandler goedleUploadHandler = Substitute.For();<br>    IGoedleWebRequest goedleWebRequest = Substitute.For();<br>    string stringContent = null;<br>    // Here we write the value which is passed through the add function to stringContent<br>    goedleUploadHandler.add(Arg.Do(x =&gt; stringContent = x));<br>    // isHttpError and isNetworkError can be set to false, because we want the behavior from a error free request<br>    goedleWebRequest.isHttpError.Returns(false);<br>    goedleWebRequest.isNetworkError.Returns(false);<br>    http_client.sendPost(&quot;{\&quot;test\&quot;: \&quot;test\&quot;}&quot;, goedleWebRequest, goedleUploadHandler);<br>    var result = JSON.Parse(stringContent);<br>    Assert.AreEqual(result[&quot;test&quot;].Value, &quot;test&quot;);<br>}</pre><p>If you want to check the content which is sent, you have to wrap the upload handler so one can be sure that the data which is sent has the right format. Therefore, we created another interface and class:</p><pre>public interface IGoedleUploadHandler<br>{<br>    UploadHandler uploadHandler { get; set; }<br>    void add(string stringContent);<br>    string getDataString();<br>}<br><br>public class GoedleUploadHandler : IGoedleUploadHandler<br>{<br>    UploadHandler _uploadHandler { get; set; }<br><br>    public void add (string stringContent)<br>    {<br>        byte[] byteContentRaw = new UTF8Encoding().GetBytes(stringContent);<br>        _uploadHandler = (UploadHandler)new UploadHandlerRaw(byteContentRaw);<br>    }<br>    public string getDataString()<br>    { <br>        return Encoding.UTF8.GetString(_uploadHandler.data);<br>    }<br>    public UploadHandler uploadHandler<br>    {<br>        get { return _uploadHandler; }<br>        set { _uploadHandler = value; }<br>    }<br>}</pre><p>You can apply the same technique to the download handler, and enhance the methods you want to mock from the web request. This was a quick introduction to unit testing web requests in Unity. You can also find an example project <a href="https://github.com/goedleIO/unity_http_mocking">here</a>.</p><h4>Summary</h4><p>So far, this has been the fastest way for us to create unit tests for a Unity HTTP client which uses the UnityWebRequest. In general, unit testing in Unity has been cumbersome. Especially when it comes to testing asynchronous behavior. We highly appreciate recommendations and suggestions to improve our test environment. Or, if there are any frameworks for Unity which we have overseen, please drop us an email or leave a comment. Until then, we keep our fingers crossed that Unity will enhance the unit testing capabilities in the near future.</p><p>To learn more what goedle.io offers for developers of games, please visit <a href="https://goedle.io/sectors/gaming?utm_source=blog&amp;utm_medium=textlink&amp;utm_campaign=unityunittest">http://www.goedle.io/gaming</a> or <a href="/service/mailto:info@goedle.io">reach out to us</a>. And don’t forget to <a href="http://eepurl.com/cP5wmX">subscribe to our newsletter</a> and follow us on <a href="https://twitter.com/goedle_io">Twitter</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=98496e859c94" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3 Advantages of goedle.io over Google Firebase Predictions]]></title>
            <link>https://medium.com/@goedle_io/3-advantages-of-goedle-io-over-google-firebase-predictions-a86f32ad867?source=rss-8a82bab84fe0------2</link>
            <guid isPermaLink="false">https://medium.com/p/a86f32ad867</guid>
            <category><![CDATA[predictive-analytics]]></category>
            <category><![CDATA[churn-prediction]]></category>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[apps]]></category>
            <dc:creator><![CDATA[goedle.io]]></dc:creator>
            <pubDate>Mon, 22 Jan 2018 17:22:15 GMT</pubDate>
            <atom:updated>2018-01-29T14:25:08.766Z</atom:updated>
            <content:encoded><![CDATA[<p>Google Firebase <a href="https://firebase.google.com/products/predictions/">released Predictions at the end of October 2017</a>. When one reads the summary of the <a href="https://firebase.googleblog.com/2017/10/whats-new-at-firebase-dev-summit-2017.html">Firebase Dev Summit on Google’s blog</a>, one almost has trouble ignoring the similarities between Firebase Predictions and our platform at <a href="http://goedle.io/">goedle.io</a>. Below you can see two images. First is our Techstars Demo Day presentation in September 2016 (<a href="https://techstars.wistia.com/medias/q4n63sr0ms">see the full video</a>). Second is a screenshot from Firebase Prediction’s <a href="https://www.youtube.com/watch?v=ORrvrVEHJz4">introductory video</a> on YouTube.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*-a1VVLunVd9mQW8t.png" /><figcaption>Berlin, September 2016, goedle.io@Techstars Demo Day</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*EryUivqirYJoxbJq.png" /><figcaption>YouTube, October 2017, Introducing Firebase Predictions</figcaption></figure><p>Naturally, as CEO and co-founder of goedle.io, I prefer to see customers using our platform. However, I’m not saying that there are no scenarios in which Firebase Predictions is not a good solution. In support of my argument, let me briefly describe my background. For years, I have been working on the prediction of user behavior, in particular churn and purchase prediction. I have published research papers in this field (see <a href="http://storage.kghost.de/cig_proc/full/paper_46.pdf">here</a> and <a href="http://www.aaai.org/ocs/index.php/AIIDE/AIIDE15/paper/download/11544/11359">here</a>) and have also applied this knowledge in the industrial context. In 2014, we started working on goedle.io with the goal of democratizing machine learning and making it accessible to a wider range of areas and businesses, including mobile apps and websites. In the process, we accumulated significant experience and knowledge, including the understanding that customization and high-quality support are very important, because AI and machine learning nearly always require a profound introduction.</p><figure><img alt="Predictions Flow View" src="https://cdn-images-1.medium.com/max/300/0*1cPo2yH1AtXQB8rt.png" /><figcaption>goedle.io’s dashboard</figcaption></figure><figure><img alt="Set up your own prediction" src="https://cdn-images-1.medium.com/max/300/0*dPl6plKI3Srt9B2I.png" /><figcaption>Create a prediction</figcaption></figure><p>Our platform provides similar capabilities as those of Firebase Predictions, including <a href="http://goedle.io/churn?utm_source=medium&amp;utm_medium=textlink&amp;utm_campaign=firebase">churn prediction</a>, purchase prediction, and the <a href="http://blog.goedle.io/2017/03/03/choosing-your-own-goals/?utm_source=medium&amp;utm_medium=textlink&amp;utm_campaign=firebase">setup of your own predictions</a>. We make these predictions available through our dashboard and API. We have similar use cases such as <a href="http://blog.goedle.io/2016/02/22/wavers-in-zoobe-are-more-susceptible-to-push-notifications/?utm_source=medium&amp;utm_medium=textlink&amp;utm_campaign=firebase">sending smarter push notification with a 65% increase in retention</a> or <a href="http://blog.goedle.io/2017/09/13/sales-process-churn-prediction-score/?utm_source=medium&amp;utm_medium=textlink&amp;utm_campaign=firebase">ramping up your CRM and speeding up your sales process</a>. Compared to Firebase Predictions, we provide more options to individualize the offering for our customers and we are very flexible when it comes to making the predictions accessible. Following are three reasons why I encourage you to <a href="https://goedleio.typeform.com/to/viwdfa">reach out to us</a> if you are considering Firebase Predictions or if you have it in place already.</p><h4>#1 — Custom Features</h4><p>Machine learning is still heavily dependent on feature engineering and many features rely on a <a href="https://segment.com/docs/guides/best-practices/what-s-a-tracking-plan-and-why-should-you-care/">detailed data tracking plan</a>. As we built our platform over the past few years, we accumulated a large set of features. Still, every app or website is different, with its own properties and dynamics. It is often helpful to add a small number of custom features to each customer’s feature set. For example, in many cases the timing between two events is very important. One instance involves the time between starting and finishing a level in a mobile game. However, when considering all timings between all possible events in a game, this quickly becomes a mess and is often rather obstructive. For that reason, we either selectively add such features or use smart feature selection algorithms to find the most important timing events. We have applied this approach successfully in our churn prediction for <a href="http://blog.goedle.io/2017/08/22/churn-prediction-in-ncsoft-blade-and-soul/?utm_source=medium&amp;utm_medium=textlink&amp;utm_campaign=firebase">NCSOFT’s Blade &amp; Soul</a> and in the student at-risk prediction within the <a href="http://www.envisage-h2020.eu/">ENVISAGE project</a>.</p><h4>#2 — Flexible Prediction Windows and User Segments</h4><p>Firebase’s churn prediction forecasts whether users disengage over the next week. In many cases, a fixed window of seven days is not appropriate to really define churn or other behavior. Think of apps or services you do not use on a weekly basis. If you run a software-as-a-service business, it’s like that not all users will log in within the next seven days. However, many of them might still might be loyal customers. Here are two images showing the maximum absence time for two apps from different areas:</p><figure><img alt="Example of a High-Frequency-App" src="https://cdn-images-1.medium.com/max/606/0*krbqxohhuU6HCRtO.png" /><figcaption>Example of a High-Frequency-App</figcaption></figure><figure><img alt="Example of a Low-Frequency-App" src="https://cdn-images-1.medium.com/max/608/0*z-IAfrzyKXMZnpw4.png" /><figcaption>Example of a Low-Frequency-App</figcaption></figure><p>As you can see, many users — even for a high-frequency app — still return after much longer than seven days and, hence, should not be treated as potential churners. For that reason, we allow the adaptation of the prediction window to match our customer’s needs, while Firebase Prediction fixes it at seven days.</p><p>Secondly, how long do you observe players? Do you want to observe all players for an equal amount of time (1), or do you want to consider everybody who has been active in the past <em>n</em> days (2)? We have seen that it is beneficial to learn different models for different use cases. If you have drip campaigns in place, you may reach out to all users after one week but want to personalize the content depending on the churn likelihood (use case 1). In other cases, you care only about whether users have been active during the past 14 days, and you wish to react according to their most recent behavior (use case 2). Here, goedle.io helps you customize your setup, and sets up different churn or conversion predictions for you.</p><p>Another element of customization is the number of groups in which our prediction segments your user base. Firebase uses three levels of risk tolerance to avoid approaching the wrong users. We go in a different direction. We also begin with three groups (see dashboard screenshot above), but with our platform you can have an arbitrary number of groups. <em>In the past, we have seen that groups with low algorithmic certainty, i.e., a high risk level, are particularly interesting</em>. For those users, the leverage of marketing campaigns can be the largest because these users are on the fence. Why message people who are leaving with very high certainty? One push message won’t change all of their behavior, and spamming churners is also bad practice. However, convincing users on the fence helps you grow your user base or increase revenue.</p><h4>#3 — Different Sources and More Integrations</h4><p>While Firebase is app-centric, we not only support mobile apps but also work with websites, for example, e-commerce shops or SaaS platforms. We also support Google Tag Manager as a data source and, akin to Firebase, a <a href="http://blog.goedle.io/2016/05/02/one-simple-click-to-consume-the-goedle-io-api/?utm_source=medium&amp;utm_medium=textlink&amp;utm_campaign=firebase">Segment</a>-integration is possible with only a few mouse clicks. On top of that, we provide a raw HTTPS-API and we can track data from other third-party tools such as <a href="https://www.adjust.com/">Adjust</a>. Lastly, we support bulk data upload for historic data import or pre-integration test runs.</p><p>When it comes to accessing the predictions, Firebase offers <a href="https://firebase.google.com/docs/remote-config/">Remote Config</a> and push notifications via <a href="https://firebase.google.com/docs/cloud-messaging/">FCM</a>. We are more flexible, as we offer an HTTPS-API to access the predictions on a user level. Of course, we also support other integrations such as sending data back to Segment, emailing customers via third-party services (e.g., with our <a href="http://blog.goedle.io/2017/07/03/save-time-onboarding-new-customers-with-segment-mailgun-and-goedle-io/?utm_source=medium&amp;utm_medium=textlink&amp;utm_campaign=firebase">Mailgun-integration</a>), and push notifications. All of these integrations can be managed easily with the help of our dashboard.</p><p>We also provide a service similar to Remote Config, in which different strategies and content can be tested and distributed to users. For example, our <a href="http://blog.goedle.io/2017/11/29/increase-ad-revenue-by-74-with-difficulty-adjustment/?utm_source=medium&amp;utm_medium=textlink&amp;utm_campaign=firebase">dynamic difficulty adjustment helped a quiz game increase its ad revenue by 74%</a>.</p><h4>Firebase Predictions</h4><p>Let me also give you a reason to work with Google Firebase Prediction. Certainly, Google Firebase is a comprehensive self-service with many dashboards and extensive documentation. If you are already well-informed about the requirements of machine learning and if you feel comfortable with the topic, Firebase Predictions is certainly an interesting product through which to get started right away, in particular when your entire setup is already tied to Google Firebase. While our platform does not support all of Firebase’s features, e.g., crash reporting, we focus on the prediction of user behavior and we are more than happy to tune our algorithm to your setting.</p><h4>Summary</h4><p>A decision in favor of one of the two platforms is also a decision between two different paradigms. Either you prefer Google’s all-in-one platform, or you go with a best-of-breed solution and choose the leading service for each task. When it comes to predictions, we encourage you to reach out to us for our solution. If you are just getting started with predictions and machine-learning-enhanced marketing, we also offer workshops explaining how the technology works, brainstorm ideas with you, and prepare you for the next level of marketing. Please feel free to <a href="/service/mailto:info@goedle.io">reach out to us</a>, we would love to show you a <a href="https://goedleio.typeform.com/to/viwdfa">demo</a>. And don’t forget to <a href="http://eepurl.com/bsxgMX">subscribe to our newsletter</a> and follow us on <a href="https://twitter.com/goedle_io">Twitter</a>.</p><p><em>Originally published at </em><a href="http://blog.goedle.io/2018/01/22/3-advantages-goedle-over-google-firebase-predictions/"><em>blog.goedle.io</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a86f32ad867" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Increase Ad Revenue by 74% with Difficulty Adjustment]]></title>
            <link>https://medium.com/@goedle_io/increase-ad-revenue-by-74-with-difficulty-adjustment-76e280cebc03?source=rss-8a82bab84fe0------2</link>
            <guid isPermaLink="false">https://medium.com/p/76e280cebc03</guid>
            <category><![CDATA[retention]]></category>
            <category><![CDATA[predictive-analytics]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[multi-armed-bandit]]></category>
            <category><![CDATA[difficulty-adjustment]]></category>
            <dc:creator><![CDATA[goedle.io]]></dc:creator>
            <pubDate>Wed, 29 Nov 2017 16:38:04 GMT</pubDate>
            <atom:updated>2017-11-30T09:25:50.099Z</atom:updated>
            <content:encoded><![CDATA[<p>At goedle.io, we help our customers to better understand their user data. For example, mobile games or educational apps are known to have plenty of data and the data itself already poses several interesting questions. For example, <em>how do the level of difficulty and retention correlate</em>? Answering such questions does not directly require machine learning in the first place, however, it certainly needs a data-driven mindset. Once actionable insights have been gained from an analysis, machine learning helps to personalize the user experience to a level that exceeds human engagement options. E.g., adapting the difficulty for each user individually.</p><h4>Measuring Difficulty</h4><p>Let’s start simple. Before we can analyze the relationship between retention and level difficulty, we need to measure the perceived level difficulty by the player. In many cases, it is not obvious how to measure this metric by purely looking at the data. For that reason, goedle.io’s infrastructure supports user feedback. After the completion of a level, quiz, or task, the app can simply ask the user to score the previous challenge. In a simple setting, one can just ask the user to rate the challenge as “easy”, “medium”, “difficult”. This data can then be used to calculate a score for each challenge.</p><p>You don’t want to ask every single user to rate every single challenge as this will annoy the user and possibly lead to <a href="http://goedle.io/churn?utm_source=medium&amp;utm_medium=textlink&amp;utm_campaign=da">churn</a>. For that reason, one is often interested in simple machine learning models that can model the perceived difficulty of each challenge. In some cases, a very simple model can be found. For example, a single dimension which highly correlates with the perceived difficulty. Particular examples of such dimensions are the <em>playtime for a level</em>, the <em>number of jokers used in a level</em>, or the <em>churn rate of a particular level</em>.</p><figure><img alt="User Feedback vs. Playtime" src="https://cdn-images-1.medium.com/max/800/0*J3fjbUt9o3rxjHYx.png" /><figcaption>The figure shows how the user feedback for a level correlates with the actual playtime of that level.</figcaption></figure><p>The figure above shows an example from one of our customers. In this quiz game, the users were asked for their feedback after completing a level. However, when comparing this score with different metrics based on the user behavior, we found that the score correlates well with the time required to solve the level. The figure shows data from more than <strong>2k different levels</strong>. In total, <strong>750k level completions</strong> were taken into account from roughly <strong>60k players</strong>. In many cases, a single dimension is not going to be expressive enough, and more features have to be taken into account. In those cases, machine learning can be used to model the user score more accurately.</p><h4>The User Journey Visualized Based on Difficulty</h4><p>Once we have a scoring function for all levels, we can get a better understanding how the user journey looks like in terms of the level difficulty. This is a first actionable insight because we can now test different strategies and measure their impact on churn and monetization. Let’s have a look at what the initial user journey looked like before we tested different strategies for optimization.</p><figure><img alt="Initial User Journey" src="https://cdn-images-1.medium.com/max/800/0*6CRTPkYj6QhalAOG.png" /><figcaption>The figure shows the initial user journey depicted based on the level difficulty.</figcaption></figure><p>In the figure above, the x-axis gives the position of a level in the game, i.e. the first level is at position 1. The y-axis gives the relative difficulty of a game, i.e., the easiest level has value 1 on the y-axis, the second easiest level has value 2 and so on.</p><p>Now, we can design strategies that give more structure to the order of the levels. We then test each strategy in an A/B-test or we use <a href="https://en.wikipedia.org/wiki/Multi-armed_bandit">Multi-Armed Bandits</a> to find the best strategy directly. The result of each test also gives new ideas on designing additional strategies. One example of a test could be the following strategy:</p><figure><img alt="Example strategy for A/B test" src="https://cdn-images-1.medium.com/max/800/0*P2BXvpB_AuGS1hm3.png" /><figcaption>The figure shows one example strategy designed based on the level difficulty.</figcaption></figure><p>In the figure above, we designed one new strategy where the level difficulty increases with every level for a certain number of levels before it then decreases again for the same number of levels. Users who want to be challenged right away might find such a strategy more appealing than the initial one. We can test dozens, hundreds, or even thousands of such strategies depending on the number of users or players available. If we have enough data, we can also use <a href="https://en.wikipedia.org/wiki/Genetic_algorithm">Genetic Algorithms</a> to iteratively generate new strategies.</p><h4>Finding the Right KPI</h4><p>While apps and games often have different objectives, their KPIs are similar in many cases. In (mobile) games, revenue is typically the most important KPI. In other settings, such as education and learning, a KPI based on the student’s performance or their retention is more valuable. By reordering the levels or challenges, significant improvements for these KPIs can be achieved. By testing various different strategies, we were able to improve ad revenue for the mobile game mentioned above by <strong>50% after 7 days</strong> and <strong>74% after 14 days</strong> compared to the initial baseline.</p><h4>Global Optimization vs. Personalized User Experience</h4><p>Once you have found a solution that maximizes your most relevant KPI, you can start to think about changing the strategy for certain segments of your users. For example, it might be globally optimal to increase the difficulty slowly. However, most likely there will be a segment of users that learns the game comparably well. These users will churn early if the game is too easy at the beginning because the app demanded too little from them. You would want to treat such users differently.</p><p>Here, we can again ask a subset of users for their feedback and specifically ask them about their satisfaction. Based on this information, we can now build a model that predicts user satisfaction. This model is then used to test different strategies for specific user segments based on their satisfaction and early behavior in the app. We will give more details on personalizing the user experience in one of our upcoming blog posts.</p><h4>Conclusion</h4><p>Measuring and analyzing the difficulty level has several benefits and applications. On the one hand, it helps you to optimize the retention or monetization, depending on your goals and KPIs. On the other hand, once a well working strategy has been found via A/B-testing, the difficulty can also be adapted for different segments of users. Such a framework is not only applicable to games but also in the context of learning apps or virtual labs. At goedle.io, we offer an end-to-end solution that supports you in optimizing and personalizing the user experience. Click on the following links to learn more about our solutions for <a href="http://gaming.goedle.io/?utm_source=medium&amp;utm_medium=textlink&amp;utm_campaign=da">games</a> or <a href="http://education.goedle.io/?utm_source=medium&amp;utm_medium=textlink&amp;utm_campaign=da">education</a>. Also, don’t forget to follow us on <a href="https://twitter.com/goedle_io">Twitter</a>.</p><p><em>Originally published at </em><a href="http://blog.goedle.io/2017/11/29/increase-ad-revenue-by-74-with-difficulty-adjustment/"><em>blog.goedle.io</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76e280cebc03" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Churn Prediction in NCSOFT’s Blade & Soul]]></title>
            <link>https://medium.com/@goedle_io/churn-prediction-in-ncsofts-blade-soul-9cded4623427?source=rss-8a82bab84fe0------2</link>
            <guid isPermaLink="false">https://medium.com/p/9cded4623427</guid>
            <category><![CDATA[churn-prediction]]></category>
            <category><![CDATA[predictive-analytics]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[gaming]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[goedle.io]]></dc:creator>
            <pubDate>Tue, 22 Aug 2017 07:41:38 GMT</pubDate>
            <atom:updated>2017-08-23T13:42:44.611Z</atom:updated>
            <content:encoded><![CDATA[<p>The CIG conference (<a href="http://www.cig2017.com/">IEEE’s Conference on Computational Intelligence in Games</a>) hosts several competitions each year. This year, the list also included the <a href="https://cilab.sejong.ac.kr/gdmc2017/">Game Data Mining competition</a> with an individual track for <a href="http://www.goedle.io/churn">churn prediction</a>. This does not only highlight the importance of the problem but we also see several opportunities by participating in such challenges. E.g.,</p><ul><li>Benchmark our own solution and technology against the brightest minds in gaming research.</li><li>Share practical solutions for hard real-world problems with other international AI researchers.</li><li>Extend our expertise in digital gaming.</li></ul><p>Additionally, the challenge provides very interesting data. <a href="http://ncsoft.com/">NCSOFT</a>, one the world’s largest game studios for <a href="https://en.wikipedia.org/wiki/Massively_multiplayer_online_role-playing_game">MMORPGs</a>, provided datasets with telemetric user data from their highly successful <a href="https://www.bladeandsoul.com/">Blade &amp; Soul</a>.</p><h3><strong>The Data</strong></h3><figure><img alt="Blade &amp; Soul Data Statistics" src="https://cdn-images-1.medium.com/max/410/0*TzWD3_andML_LHSy.png" /><figcaption>Blade &amp; Soul Data Statistics (Click to enlarge)</figcaption></figure><p>The data consists of three datasets: one for training (4k users) and two for testing (3k users each). The training data ranges over a time span of 40 days. The two datasets for testing each contain data for a period of 56 days. To give you a rough idea of the size, the training data contains around 175 million events that compromise almost 48 GB of unpacked data.</p><p>There are roughly 80 different types of events in total. Following our experience, we would argue that this is an excellent amount, as we typically — if available — recommend between 50–100 different event types as a rule of thumb. However, due to Blade &amp; Soul’s immense game depth, each event has additionally up to 75 properties attached to it.</p><p>Although the events are well structured in tabular form, it is still challenging to transform such data in a way that is suitable for machine learning algorithms. In particular, with only 4k users in the training dataset, you quickly reach a point where the number of features exceeds the number of training examples. Typically, you want to avoid such a case.</p><p>Therefore, we analyzed the data in several iterations and engineered a comprehensive set of features. This set does not only include features that we have been using for years for various customers but also contains features newly added to our toolbox for this particular case. For example, while <em>recency</em> and <em>frequency</em> matter a lot in predicting churn in general, we found it particularly interesting to engineer social features for Blade &amp; Soul. For games, or apps, which contain a social network, like guilds and parties in Blade &amp; Soul, one should try to reflect that users leaving the network typically affect their peers.</p><h3><strong>Our Solution</strong></h3><p>At goedle.io, we typically do not use one particular machine learning algorithm for all of our customers and their different use cases. <a href="http://www.goedle.io/churn"><em>Churn prediction</em></a> might benefit from a different feature set than a <em>conversion prediction</em>. Consequently, each problem is solved best with a suitable algorithm for that purpose. For that reason, we do not only test a variety of algorithms for each customer and problem, but we also optimize all parameters for each setting and make heavy use of <a href="https://en.wikipedia.org/wiki/Ensemble_learning">ensemble methods</a>.</p><p>As many of you have probably witnessed, in AI and machine learning it is currently all about <a href="https://en.wikipedia.org/wiki/Deep_learning">Deep Learning</a> and <a href="https://en.wikipedia.org/wiki/Artificial_neural_network">Artificial Neural Networks</a>. For that reason, we used this opportunity to benchmark our existing solution against a simple approach based on <a href="https://www.tensorflow.org/">Tensorflow</a> and <a href="https://en.wikipedia.org/wiki/Feedforward_neural_network">feedforward neural networks</a> as well.</p><h3><strong>Some Insights</strong></h3><p>Since the results of the competition have not been announced yet, we present some high-level insights at this point and give more details after the announcement of the results.</p><figure><img alt="Importance of Features in Blade &amp; Soul" src="https://cdn-images-1.medium.com/max/801/0*3CZA-IVhNZ35CreX.png" /></figure><p>First of all, let’s have a brief look at different types of features and their importance in predicting churn. The figure above gives the relative importance of the features used in our solution grouped by their type. Here, <em>frequency</em> represents features that count events in Blade &amp; Soul. <em>Recency-</em>features measure the time since events or between two events.<em> Amount</em> summarizes features which depend on values attached to events, for example, the amount of money spent. Lastly, features in the <em>tendency</em> group indicate an increasing or decreasing level of interaction. To be technically more precise, we use simple curve fittings on histograms to build these features. In general, these results coincide with our observations from the past and show that counting events and calculating ratios is often a good indicator of churn.</p><p>One thing that was surprising to us, and in contrast to our previous experiences, was the fact that the algorithm did not highly assess features based on the social network within Blade &amp; Soul. We attribute this observation to the fact that the data did not contain all players in the entire network. Typically, players tend to churn when all of their friends leave a game or if they do not find new friends within the game’s eco-system. The data for the competition only depicts a subset of the entire social network. While we have data for 4k users in the training dataset, the number of identifiers in the friends graph is above 32k users. This means that we only observe the activity of roughly 10% of the entire network.</p><p>When comparing our existing solution to our newly implemented Deep Learning approach, we did not see Deep Learning to be superior. This holds for both, the computational demand, as well as the predictive score. However, we see different reasons for this result. First of all, it is certainly possible to do churn prediction with neural networks, as it has been shown by the data science team at Moz. They describe in <a href="https://moz.com/devblog/deep-learning-for-customer-churn-prediction/">this blog post</a> how they successfully used <a href="https://en.wikipedia.org/wiki/Recurrent_neural_network">Recurrent Neural Networks</a> for churn prediction. We only used simple feedforward neural networks, and hence did not make use of the full power of Deep Learning. This is also emphasized by the fact that a simple NVIDIA gaming graphics card was sufficient to run all experiments. Also, running the same experiment on the Google Cloud Platform with a Tesla GPU did not substantially decrease the run times. We also did not spend nearly as much time as necessary on the network engineering and parameter optimization. Both aspects can have a major influence on building a successful model. Lastly, we still believe that for a simple univariate problem (a single variable in the output layer), other algorithms may be the better choice. However, when turning the problem into a multivariate setting, i.e., when predicting churn for several players at the same time, Deep Learning can be a very interesting technology. Therefore, we will certainly continue our work on neural networks and further tweak our setup.</p><h3><strong>Final Results</strong></h3><p>We have not reported any details on the accuracy of our predictions yet as the results of the competition have not been announced yet. If you are interested in more details, make sure to come back to our blog in September. If you want to make sure not to miss the release of the next blog post, subscribe to our newsletter and follow us on <a href="https://twitter.com/goedle_io">Twitter</a>. To learn more what goedle.io offers for game studios, please visit <a href="http://gaming.goedle.io/">gaming.goedle.io</a>.</p><p><em>Originally published at </em><a href="http://blog.goedle.io/2017/08/22/churn-prediction-in-ncsoft-blade-and-soul/"><em>blog.goedle.io</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9cded4623427" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Choosing Your Own Goals]]></title>
            <link>https://medium.com/@goedle_io/choosing-your-own-goals-5e68a6f8cd19?source=rss-8a82bab84fe0------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e68a6f8cd19</guid>
            <category><![CDATA[predictive-analytics]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[predictions]]></category>
            <category><![CDATA[startup-lessons]]></category>
            <category><![CDATA[marketing]]></category>
            <dc:creator><![CDATA[goedle.io]]></dc:creator>
            <pubDate>Fri, 03 Mar 2017 15:24:34 GMT</pubDate>
            <atom:updated>2017-03-03T15:24:34.125Z</atom:updated>
            <content:encoded><![CDATA[<p>When we first started helping companies by making predictions, the process for determining what to predict involved quite a bit of effort. We’d start by becoming users of their apps and websites. Next we’d take a deep look into their data, often times mapping our own explicit usage to events recorded in the data, in order to get a more thorough understanding of what events correlated with various in app actions. Finally, we’d call the companies and talk to them about their customer pain points, their business models and their goals.</p><p>Then we’d get to the actual work of making the predictions.</p><p>The process was tedious, it took a long time, and each new customer consumed a huge amount of effort from the entire team. We knew there was a better, more efficient, way to go about making predictions. The fact is that working through each new customer this way helped us learn. As we onboarded each new customer we learned a little bit faster; which feature sets made sense across verticals, which algorithms returned better results in which cases, which customer behaviors were important across business models and across industries.</p><p>In the end, goedle is a startup. The point of any startup is to learn as quickly as possible, by <a href="http://paulgraham.com/ds.html">doing things that don’t scale</a>.</p><p>One recurring theme that we couldn’t ignore any longer was our customers asking us to make it possible for them to set up their own predictions, to set their own goals.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E4irU6S0zjK4cU4ckeUMhQ.png" /></figure><p>With an even mix of curiosity and trepidation we quietly rolled the capability out to our customers a couple of weeks ago. Fairly quickly, one of our customers discovered the new feature and made the first self-service prediction on our platform. We were ecstatic! High fives all around! And then everything broke.</p><p>We had made the assumption that, systemically, a person would never be able to qualify for more than one prediction on any given day for the same goal. There were lots of logical and computational reasons for this, implications for marketing engagement campaigns, and so on. Regardless, we realized pretty quickly that we were wrong about this.</p><p>That issue aside, we were surprised by what our customers actually started creating. In the earliest predictions that we set up for our customers, we were predicting things that equated to core KPIs within a business, things like purchase conversions, <a href="http://firstround.com/review/From-0-to-1B-Slacks-Founder-Shares-Their-Epic-Launch-Strategy/">magic number</a> conversions, subscription cancellations, churn in freemium products, and so on.</p><p>Once our customers were able to begin creating their own predictions however, we observed that some customers were starting to create them not only for their core KPIs, but also for various aspects of their entire funnel. In effect, our customers were instrumenting their entire customer journey with goedle’s predictive analytics. This has major potential for improving marketing automation campaigns and is something we’ll touch upon in a future post.</p><p>Our customers are the experts at their businesses; they understand their KPIs, their funnels and their customer journeys. What will be really interesting to observe over time is whether what they believe is important to their business actually is. Or, will our algorithms help them discover that the customer behaviors that they believe to be important, aren’t necessarily so? We don’t have enough data for that yet, but we’ll certainly continue to look at it.</p><p>And so we keep learning.</p><p>If you’d like to set your own goals for your business, <a href="https://go.goedle.io/signup?utm_source=blog&amp;utm_campaign=set_your_own_goals&amp;utm_medium=medium">sign up now</a> and connect your data to goedle.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e68a6f8cd19" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How would you market to your customers if you could predict the future?]]></title>
            <link>https://medium.com/@goedle_io/how-would-you-market-to-your-customers-if-you-could-predict-the-future-c7bdeb64552d?source=rss-8a82bab84fe0------2</link>
            <guid isPermaLink="false">https://medium.com/p/c7bdeb64552d</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[predictive-analytics]]></category>
            <category><![CDATA[marketing]]></category>
            <dc:creator><![CDATA[goedle.io]]></dc:creator>
            <pubDate>Tue, 21 Feb 2017 16:13:25 GMT</pubDate>
            <atom:updated>2017-02-21T16:13:25.891Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FL_MKM9zuhTHLA_xq7A10g.jpeg" /></figure><p>We’ve asked this question to many of our customers and we’ve received different answers from almost every one of them. Some would only market to people most likely to buy. Others would spend their efforts engaging those that had the potential to buy, but needed that extra push. Still others would focus their efforts on retaining the customers they already have.</p><p>The truth is, there is no right answer. Every business is different and they all have unique goals, but the one thing they have in common is the need to create opportunities to engage and delight their users so that they become new customers or stay happy loyal ones.</p><p>Goedle helps companies do this by letting them set their own unique goals and then accurately predicting the likelihood of every individual user to achieve those goals.</p><p>While almost every company has a unique set of goals and strategies, they are all very similar in one way; they all want to understand how it’s possible for us to so accurately predict these future outcomes.</p><p><strong>User Events and Higher Order Features</strong></p><p>We begin with the events that every company tracks. If you have a website, or an app, you’re likely already tracking some basic usage analytics. With this data, we examine how every user of your application behaves; how often they use certain features, how often they visit, and so on.</p><p>From this base we begin to layer in higher order features — these features can be as simple as observing the ratio of one event occurrence to another, the city a user is in, or the time of day that a user is active. In other cases, these features can be as complex as the weather forecast in a user’s city for a given day.</p><p><strong>Patterns In the Data</strong></p><p>Once we’ve begun observing these patterns, we start looking at the users who you’ve told us are your most successful customers, (the ones who’ve recently bought the <a href="https://onsizzle.com/embed/i/here-is-a-picture-of-albert-einstein-in-fuzzy-slippers-2691300">fuzzy bunny slippers</a>, the ones who haven’t canceled their subscription, the ones who play your game every day), and we begin to learn. Over time, generally about 2–3 weeks, we learn what distinguishes these successful users from others and can predict whether a new user will be successful with a high degree of certainty.</p><p>One thing we can’t predict is what’s important to your business, so we make it easy for you to tell us what outcomes are most important to you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*moCgZ7fMu1zLFMMD.png" /><figcaption>(we can actually make a pretty good guess, but we’d rather you just told us)</figcaption></figure><p>It’s important to clearly specify your goals as this helps us to target the precise users who matter to you.</p><p><strong>The Prediction Flow</strong></p><p>The prediction flow interface helps marketing teams to understand at a glance how likely users are to achieve a goal. Goedle automatically segments users based on their likelihood to achieve a specific outcome and allows marketers to engage those specific segments with recurring messaging campaigns that increases the likelihood of achieving the desired results.</p><p>Importantly, this interface lets marketers understand how their marketing efforts impact user behavior, leading to more effective marketing campaigns over time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LXw6wPwfiFTKSI5n.png" /></figure><p>Many customers ask us why we default to showing 7 days of history in the predictions interface. In some cases, like when we’re observing repeat purchases that have a tendency to re-occur every 4–6 weeks, the observation and engagement window is much larger, sometimes spanning months. In most cases however, the actions a user does or does not take in their first week are highly illustrative of their future behavior. This is especially true in the mobile world where apps can quickly fall into irrelevance as users stop engaging with them.</p><blockquote><em>One of our customers operates a global ride sharing app. To encourage users to try the product, the first ride a customer takes is heavily subsidized. Users who take a second, generally unsubsidized, ride have a much higher likelihood of becoming repeat, high LTV customers. Goedle predicts which customers who have successfully completed a first ride are likely to take a second one.</em></blockquote><p>By mapping our predictions to a timeline, we give the marketer an opportunity to engage with their customers and observe how those engagements impact their users over time. We enable marketers to set up recurring engagement campaigns to target individual user segments with emails, push notifications, or other engagement tools. If you have an existing email or push provider, goedle supports many integrations such as SendGrid &amp; Intercom, and we’re constantly adding more to the platform.</p><p>Some Examples of What Our Customers are Predicting</p><ul><li>The likelihood of a user to take a second, unsubsidized, taxi ride. This helps drive down marketing spend and increase the targeting of messaging meant to nudge the user into taking another ride and becoming a profitable customer</li><li>The likelihood of a user canceling their recurring subscription. This helps their customer support team focus on users who are at risk of canceling, increasing customer retention and decreasing spend</li><li>Determining whether a user is getting bored with a game, which allows our customer to increase the difficulty of game levels. This increases user retention and engagement, two important metrics for business with ad-based revenue streams</li></ul><p>If you’d like to learn more about how goedle can help your business, <a href="https://go.goedle.io/signup?utm_source=medium&amp;utm_campaign=predict_future&amp;utm_medium=blog">sign up</a> now.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c7bdeb64552d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Email vs Push Notifications: Which is better for your business?]]></title>
            <link>https://medium.com/@goedle_io/email-vs-push-notifications-which-is-better-for-your-business-f36fb6bae23a?source=rss-8a82bab84fe0------2</link>
            <guid isPermaLink="false">https://medium.com/p/f36fb6bae23a</guid>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[marketing-strategies]]></category>
            <category><![CDATA[push-notification]]></category>
            <category><![CDATA[email-marketing]]></category>
            <dc:creator><![CDATA[goedle.io]]></dc:creator>
            <pubDate>Fri, 02 Dec 2016 13:50:07 GMT</pubDate>
            <atom:updated>2016-12-02T13:50:07.014Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*c5Vh_zf-U423jmAu4Eu7bQ.jpeg" /></figure><p>As a marketer, one of the greatest challenges you face is deciding which digital channels are the most effective for engaging with your users. It is a difficult task to grab the attention of your users, which is why many marketing strategies utilise numerous digital channels to ensure your brand’s message is heard.</p><p>Two popular methods for communicating with users are email and push notifications. Push notifications have seen a recent rise in popularity, especially with the introduction of ‘rich push’ in the iOS 10 update. Email marketing is perhaps the most popular digital marketing channel, and it is certainly the oldest method for communicating with users digitally. Both channels have their strengths, and understanding how you can best utilise them to interact with your users is vital for the success of your marketing strategy.</p><p><strong>Date: </strong><a href="http://blog.goedle.io/2016/12/01/email-vs-push-notifications-which-is-better-for-your-business/"><strong>December 1, 2016</strong></a><strong>Author: </strong><a href="http://blog.goedle.io/author/aroach/"><strong>Andrew Roach</strong></a><a href="http://blog.goedle.io/2016/12/01/email-vs-push-notifications-which-is-better-for-your-business/#disqus_thread"><strong>0 Comments</strong></a><strong> — </strong><a href="http://blog.goedle.io/wp-admin/post.php?post=844&amp;action=edit"><strong>Edit</strong></a></p><p>As a marketer, one of the greatest challenges you face is deciding which digital channels are the most effective for engaging with your users. It is a difficult task to grab the attention of your users, which is why many marketing strategies utilise numerous digital channels to ensure your brand’s message is heard.</p><p>Two popular methods for communicating with users are email and push notifications. Push notifications have seen a recent rise in popularity, especially with the introduction of ‘rich push’ in the iOS 10 update. Email marketing is perhaps the most popular digital marketing channel, and it is certainly the oldest method for communicating with users digitally. Both channels have their strengths, and understanding how you can best utilise them to interact with your users is vital for the success of your marketing strategy.</p><h3>The Strengths of Email Marketing</h3><p>Although some marketers view email as old fashioned, it remains a powerful channel which can be used to communicate directly with your users. We commonly see marketers using email to alert users of sign-ups, product updates, sales, offers, and weekly newsletters. Emails don’t always reach customers right away, which is why these marketing interactions, which are not time-sensitive, are perfect to distribute via email.</p><p>Although emails generally have a <a href="http://www.smartinsights.com/email-marketing/email-communications-strategy/statistics-sources-for-email-marketing/">low average open rate</a>, regular scheduled emails, such as a weekly newsletter, are one of the <a href="http://www.smartinsights.com/email-marketing/email-communications-strategy/statistics-sources-for-email-marketing/">most effective ways to deliver quality content</a> to your users and build trust. Sophisticated email marketers will also analyse which users interact most with the different types of emails and <a href="http://blog.goedle.io/2016/10/21/how-can-segments-improve-your-marketing-campaigns/">segment their users accordingly</a>, so they can ensure that their marketing interactions remain personalized for their users.</p><p>A user’s inbox is one of the rare spaces on the internet which has little additional distraction. Your email marketing campaigns will only be fighting with other emails for your user’s attention, be them from competitors or otherwise. This means that your interaction has a good chance to resonate with your users, providing that you have a solid campaign. You can also control the level of user engagement which is available in your email interactions by adding compelling personalized content and interesting visuals.</p><p>Email is one of the most popular channels for digital marketing as it is very cost effective. On average, companies see a <a href="http://www.emailmonday.com/dma-national-client-email-report-2015">ROI of $38 USD for every $1 USD spent</a> on their marketing strategy. Once a user has subscribed to your mailing list they rarely opt out, as long as you are delivering quality content to them on a regular basis. To ensure that you are sending a message which resonates with your users, <a href="http://goedle.io/?utm_source=content-marketing&amp;utm_medium=blog&amp;utm_campaign=email-vs-push-post">goedle.io</a> can analyse your campaigns and provide you with helpful tips on how to improve them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*jyQKTgNd-2hFbk2knJWCbw.jpeg" /><figcaption><strong>Measuring the success of your campaigns is critical for a successful marketing strategy</strong></figcaption></figure><h3>How do Push Notifications differ from Email?</h3><p>Unlike emails, a push notification immediately engages a user, as the interaction is delivered to a user’s personal device, be that their mobile phone or their tablet. As a push notification is delivered instantly to your users, the timing of your interaction matters much more.</p><p>If you were to deploy a campaign to a <a href="http://blog.goedle.io/2016/10/21/how-can-segments-improve-your-marketing-campaigns/?utm_source=content-marketing&amp;utm_medium=blog&amp;utm_campaign=email-vs-push-post">segment of users</a> at an inaccessible time alerting them of a flash sale then you will likely see a low ROI. This campaign, even if it not viewed immediately by your users, will remain on their lock screen until they next look at their device, meaning that it is likely they will receive your interaction. Push notifications offer the ability to deep link to specific sections of your app, allowing your users to directly engage with a specific section of your product.</p><p>As push notifications can only deliver a limited amount of information to users, it is important that you deliver focused, targeted information in them, conveying your message directly.</p><p>Push notifications generally have a very high average open rate, meaning that your users will have a strong chance of being engaged with your mobile marketing interactions. They also have a <a href="http://publ.com/blog/2014/09/29/e-mail-vs-sms-vs-push-notifications-which-is-more-effective/">lower cost than email marketing campaigns</a>, meaning that your overall ROI has the potential to be high, providing that you have strong campaigns.</p><p>Some marketers only utilise push notification campaigns to attempt to <a href="http://blog.goedle.io/2016/09/23/how-to-prevent-churn-with-predictive-analytics/?utm_source=content-marketing&amp;utm_medium=blog&amp;utm_campaign=email-vs-push-post">re-engage their inactive users</a>, but push can also be used to alert users of sales, product updates, or social interactions. With the introduction of ‘rich push’ in iOS10, marketers now have the capability to add images and gifs to their push campaigns. Sophisticated marketers will utilise rich push wisely, ensuring that their push campaigns are both engaging and delivering unique content to their users.</p><h3>Optimizing your Marketing Channels</h3><p>Knowing which channel is appropriate for your latest marketing campaign is critical. The channel which you choose to use may depend on the type of business you are marketing for. If you have a company without an app then you will likely focus on email marketing campaigns. If you do have an app, then you may see more success by deploying push notification campaigns to your users than you would with email.</p><p>Understanding which marketing interactions work best with your users is vital for the success of your marketing strategy. <a href="http://goedle.io/?utm_source=content-marketing&amp;utm_medium=blog&amp;utm_campaign=email-vs-push-post">goedle.io</a> can monitor both your email and push notification campaigns, and provide you with helpful insights about which of your campaigns are the most successful. We also provide you with tips on how to improve your marketing campaigns, helping you to your end goal of creating the perfect marketing interactions.</p><p>If you are interested in how we can assist your marketing campaigns, or you are <a href="http://blog.goedle.io/2016/10/21/how-can-segments-improve-your-marketing-campaigns/?utm_source=content-marketing&amp;utm_medium=blog&amp;utm_campaign=email-vs-push-post">looking to segment your users</a> into easily manageable groups then <a href="http://mailto:info@goedle.io/?utm_source=content-marketing&amp;utm_medium=blog&amp;utm_campaign=email-vs-push-post">get in touch</a> with us or <a href="http://goedle.io/signup?utm_source=content-marketing&amp;utm_medium=blog&amp;utm_campaign=email-vs-push-post">schedule a demo now</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f36fb6bae23a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Measuring Marketing Success with Control Groups]]></title>
            <link>https://medium.com/@goedle_io/measuring-marketing-success-with-control-groups-78d2f0ca6a91?source=rss-8a82bab84fe0------2</link>
            <guid isPermaLink="false">https://medium.com/p/78d2f0ca6a91</guid>
            <category><![CDATA[digital-marketing]]></category>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[marketing-strategies]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[analytics]]></category>
            <dc:creator><![CDATA[goedle.io]]></dc:creator>
            <pubDate>Thu, 10 Nov 2016 13:09:01 GMT</pubDate>
            <atom:updated>2016-11-10T13:09:01.805Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TpAUKaqYLdMFjkWjzgIyPg.jpeg" /></figure><h3>Control Groups allow you to understand which marketing campaigns are most successful</h3><p>As a marketer you will spend valuable time and resources on the campaigns you deploy, ensuring they are optimized for your users. Having spent days preparing the latest marketing campaigns, you want them to reach all of the intended recipients, so you have the greatest chance to generate more revenue. However, ‘spray and pray’ marketing isn’t the most effective way to interact with your users.</p><p>It is important to measure the effectivity of your campaigns and understand which interactions resonate most with your users. Without targeted marketing interactions you will not be able to measure how successful your campaigns are.For long term marketing success understanding the effectivity of your interactions is more valuable than short term gains in revenue. This article will explain the necessity for introducing control groups into your marketing campaigns, and how you can gain a deeper understanding of your user’s behavior.</p><h3>What is a control group and why is it important?</h3><p>Control groups are critical for determining the effectiveness of any marketing campaign. A control group is a section of the segment of users you are targeting with a campaign which you determine will not receive the marketing campaign. The users who are chosen to be in the control group are randomly selected to ensure the validity of the results. This is important to acquire an objective measure of the impact which your marketing campaign has on your users. When measuring the success of the marketing campaigns you will measure the difference in responses between the control group and the rest of the segment, as opposed to your full user base.</p><p>Personally exempting a percentage of your users from the marketing campaign you worked hard to create can be a hard pill to swallow, as this equates to a loss in potential revenue, but control groups are necessary for the long term success of your marketing strategy. Effective marketing strategies incorporate control groups for a reason. If your control group, the users who did not receive the marketing campaign, respond similarly to those who did, then you can assume that the campaign you deployed was ineffective.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kidf1fRW74uaJPPV3pq50w.jpeg" /><figcaption><strong>Understanding how your users react to your marketing efforts is critical</strong></figcaption></figure><h3>Adjusting the control groups for your company</h3><p>Although utilising control groups can be an effective method for gaining an understanding of your users, measures need to be taken to ensure that they are optimized for each campaign.</p><p>The percentage of users in each control group must be relative to the amount of users which you are targeting for each campaign. If you are targeting a marketing campaign to a segment of 10,000 users, then a control group of 5% would be sufficient. With this particular scenario, 500 users would be large enough to obtain reliable information about the success of your campaign.</p><p>If you are deploying a campaign to a smaller amount of users, say 1000, then the percentage of users in your control group would need to be larger so you can garner substantial results. Conversely, if you are deploying a campaign to a large amount of your users, then the % of users in your control group can be smaller. It’s all relative.</p><p>In addition to this, you also need to take into account the expected response rate of the marketing campaign you are deploying. If you expect a high response rate then the control group can be smaller, and vice versa.</p><p>Understanding statistical significance in your marketing experiments is also vital in measuring how successful they are. For example, if you find that 5% of the users who received the marketing campaign purchased something, and 4.7% of the users who did not receive the campaign purchased something, it is unclear if these are significant results. In light of this, you will need a significance test. It adds authority to your results and allows you to understand the true value of your marketing interaction.</p><p>Such a significance test needs to be done with every control group, so you can compare the two outcomes of the marketing experiment. Depending on the parameters, significance tests offer a 95% or 99% certainty that the two sets of results are different. It is critical to note that significance tests can also fail if you cannot establish any real differences in the two outcomes. If the significance test fails, you cannot be sure that your marketing campaign has any positive effect.</p><h3>Are Control Groups necessary for every campaign?</h3><p>Control groups are necessary for gaining insights on your users reactions to your marketing campaigns, but they aren’t necessary for every campaign. If you were to incorporate a control group for every marketing campaign, this would amount to a sizeable percentage of potential revenue which is being missed for each interaction, lowering the overall ROI.</p><p>If you are incorporating control groups into your marketing strategy and you have a successful experiment, then you can remove the control group and deploy that marketing campaign to everyone in the segment. It is important to then reinstate the control group every so often, to ensure that the insights gained still remain true.</p><h3>How do goedle.io utilise control groups for your company?</h3><p>If your company is running multiple marketing campaigns every month then the level of analysis required to ensure you are incorporating relevant users into your control groups can be a difficult task.</p><p>Utilizing software which can automate this process is a valuable tool for the success of your marketing efforts. <a href="http://goedle.io/?utm_source=content-marketing&amp;utm_medium=blog&amp;utm_campaign=Measuring-Marketing-Success-with-Control-Groups">goedle.io</a> segments your users into easily targetable groups for your marketing campaigns, ensuring that your interactions with your users are personalized. We then introduce the necessary control groups into your marketing campaigns for you, ensuring that you get the most understanding and insight from each campaign. We take care of the analysis side, so that you can focus on creating a successful campaign.</p><p>We also provide analysis from every campaign you deploy with a control group, allowing you to learn what the best way to interact with your users is. <a href="http://goedle.io/?utm_source=content-marketing&amp;utm_medium=blog&amp;utm_campaign=Measuring-Marketing-Success-with-Control-Groups">goedle.io</a> monitor your control groups, ensuring that they always have the right percentage of users for effective analysis. We will remove your control groups when necessary, and reinstate them at a relevant time to ensure the information regarding your campaigns remain true. In addition, we also provide helpful insights and tips to improve your marketing interactions. Eventually this will result in you having the perfect marketing campaign.</p><p>Want to know more about control groups and how they can increase the effectivity of your marketing efforts? <a href="http://goedle.io/?utm_source=content-marketing&amp;utm_medium=blog&amp;utm_campaign=Measuring-Marketing-Success-with-Control-Groups">Get in contact</a> or <a href="http://goedle.io/signup?utm_source=content-marketing&amp;utm_medium=blog&amp;utm_campaign=Measuring-Marketing-Success-with-Control-Groups">schedule a demo</a> with <a href="http://goedle.io/?utm_source=content-marketing&amp;utm_medium=blog&amp;utm_campaign=Measuring-Marketing-Success-with-Control-Groups">goedle.io</a> now!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78d2f0ca6a91" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Can Segments Improve Your Marketing Campaigns?]]></title>
            <link>https://medium.com/@goedle_io/how-can-segments-improve-your-marketing-campaigns-e4d7ec9c446?source=rss-8a82bab84fe0------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4d7ec9c446</guid>
            <category><![CDATA[user-experience]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[segmentation]]></category>
            <dc:creator><![CDATA[goedle.io]]></dc:creator>
            <pubDate>Mon, 24 Oct 2016 09:52:01 GMT</pubDate>
            <atom:updated>2016-10-24T09:52:01.882Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_2d5p-l3UtWAksgYHW5Z0A.jpeg" /></figure><h3>Adding segments into your marketing campaigns allows you to communicate on a one-to-one level with thousands of users</h3><p>Personalized, relevant, and timely marketing interactions are undoubtedly the most effective. In the past, marketers sent out blanket campaigns to their users irrespective of their behavior while interacting with their product, the stage they were at in the product lifecycle, or their customer LTV. Of course, if you send out a blanket campaign to your whole user base then the message will not resonate with each user equally, some will be engaged and others will disregard the interaction. This raises an issue for marketers — how can they ensure that they do not annoy their loyal users whilst communicating on a personal level with their users?</p><p>Instead of trying to find one marketing campaign that will please you full user base, it is better to create multiple different campaigns for segments of users with different interests or preferences. This will ensure that your marketing efforts remain personalized, relevant, and timely for your users, even when you have a large amount of users. However, clustering large amounts of users together to create the segments requires a large amount of data analysis and effort from humans. This article will discuss how machine learning algorithms can cluster users together into relevant segments, making it simple for you to deploy targeted marketing campaigns to large amounts of users.</p><p><strong>Why is it important to segment your users?</strong></p><p>Customers need to feel that they are understood and appreciated. They need to feel as though the marketing campaigns you deploy were created specifically for them. When operating on a one-to-one basis with your users, this is relatively simple to do. If your business has millions of users, like an app for example, this is a much more difficult task. Fortunately, if you do have a large amount of users who engage with your product, you will also have a wealth of user data which you can draw vital information from.</p><p>Upon analysing your user data, you will start to notice striking patterns. You will notice that groups of your users behave similarly, be that because they are active daily or because they rarely engage with the product. This information is the foundation for your user segments. Users will be places in segments based on their behavior, preferences, purchase history, and usage. Segmentation reinstates the personal connection with your users, enabling you to personalize your marketing interactions to the users in each segment, as if they were your only customer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kVFjUqV6w1QuOegspyfyFA.jpeg" /><figcaption><a href="http://goedle.io/?utm_source=content-marketing&amp;utm_medium=blog&amp;utm_campaign=How-Can-Segments-Improve-Your-Marketing-Campaigns"><strong>goedle.io</strong></a><strong> segments users based on their behavior, preferences, purchase history, and usage</strong></figcaption></figure><p><strong>How does Machine Learning segment your users?</strong></p><p>Machine learning is perfect for creating smart segments for your user base as it allows you to easily group your users together for effective, personalized marketing interactions.</p><p>Smart segments are created by machine learning algorithms analysing a large volume of data for each and every user, and then clustering similar ones together. These clusters of users are also known as ‘personas’. Personas represent the major types of users which you will encounter based on your product.</p><p>If you were to analyse the personas which are found on Twitter you would likely find that there are three main personas: ‘creators’ who post original content’, ‘consumers’ who mostly retweet / favourite content, and ‘readers’ who mostly read tweets with little social engagement. Of course, each of these personas are valuable to Twitter irrelevant of how they engage with the product, but they will each react differently to marketing interactions. For example, there would be little value in Twitter sending a push notification to the ‘creators’ advising them to share something about their day, as they will likely do this anyway.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j07ojjWLA7H0L4hDhoUVfg.png" /><figcaption><strong>Based on this user’s Twitter feed, they would fall into the ‘consumer’ persona</strong></figcaption></figure><p><strong>Why should your business use segments in marketing campaigns?</strong></p><p>Customers have come to expect marketing which is tailored towards them. They expect a message which attests to their preferences and needs. It is critical to remain relevant in the market, and successful marketers will take full advantage of the benefits which segmentation offers. Segmenting your users allows you to market specifically to their individual needs, but on a much larger scale.</p><p>Adding segments into your marketing campaigns will also reduce the costs of your marketing, as you will be able to communicate with users even if you have a low average LTV. Marketing campaigns aimed at segmented users also have a much higher success rate. For our loyal customer, <a href="http://www.zoobe.com/">Zoobe</a>, we at goedle.io managed to increase <a href="http://blog.goedle.io/2016/02/22/wavers-in-zoobe-are-more-susceptible-to-push-notifications/">day-15 retention by 64%</a> by implementing segmentation into their targeted marketing campaigns.</p><p><strong>How can goedle.io increase the effectivity of your marketing campaigns?</strong></p><p>Our product utilises machine learning algorithms to cluster your users based on their behavior whilst interacting with your product. Once your users have been clustered into segments with other users who behave similarly, <a href="http://goedle.io/?utm_source=content-marketing&amp;utm_medium=blog&amp;utm_campaign=How-Can-Segments-Improve-Your-Marketing-Campaigns">goedle.io</a> will then assign them with a ‘persona’. The personas which will be assigned are tailored to your product, and are designed specifically for your needs.</p><p>Once the personas have been assigned, you can then create personalised marketing campaigns for each segment. The campaigns that incorporate segmentation which you deploy will have a much greater success rate than the blanket campaigns you used previously. <a href="http://goedle.io/?utm_source=content-marketing&amp;utm_medium=blog&amp;utm_campaign=How-Can-Segments-Improve-Your-Marketing-Campaigns">goedle.io</a> also utilise dynamic segmentation, as we understand that the way users interact with your product can change. Our dynamic segmentation algorithms are constantly changing to ensure you have the best analysis of user behavior.</p><p>We understand that you will want to measure how effective your marketing campaigns are once you have implemented segments. In light of this, we also monitor your marketing efforts and advise you about which campaigns were the most effective, and how to further improve for the future.</p><p><strong>Interested in incorporating segments into your marketing campaigns? Get in contact or schedule a web demo now!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4d7ec9c446" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>