Solutions

Learning Phrases with PyLucene and Pytorch, part 2.

In part 2 we reuse our tokenised index and use pytorch to build a model for significant phrase extraction. It worked surprisingly well and being able to switch Analyzers proved useful. We found that the English Analyzer with stopword removal and stemming worked best.

The results are indicative, neither the dataset size or the length of training cycles are sufficient for the development of a genralised phrase extractor but the succcess and ovelap found between pylucene and pytorch is very encouraging. We just need to scale it up.

Continue reading

The last metre, where decisions are made.

The critical part of all analytics and data pipeline development happens in the last metre. It is where the decision is made and the impact and benefits can start.

Take a moment to think about how you interact with data each week:

  • What are the skills and tools you are using?
  • How much do you need to interpret?
  • Do you know the limitations of the data sets?

One of my first questions is often “What decision are you trying to support?”. The reason for this is to understand the full context for the decision and the data that will be needed to support it. It is not uncommon for us to need to start recording something new or make changes to how telemetry is captured in fulfilling analytics requests.

Continue reading

Learning Phrases with PyLucene, part1

Lucene is a library that is used to build text search optimised indexes, it is an Apache project and is the core file format sitting under ElasticSearch. The following code uses pylucene which is a JNI wrapper to the Java API.

The algorithm derives from the idea that the terms in search results will have increased frequencies for their search terms and associated concepts. Phrases similarly should have increased frequencies. By using Lucene it is fast, though we have to index first. The code also demonstrates an integration between Lucene and Pandas for analytics. The technique here could be used summarise in aggregate user / player entered text in surveys, reviews etc. That might otherwise get ignored by analytics.

Continue reading

Areas of Expertise

At ACUMED Consulting, we specialise in using data science to drive progress, innovation and success within businesses. We have concentrated experience in Gaming Analytics, but have worked in cybersecurity, fraud detection, marketing, banking, insurance, telecommunications and government sectors too. Our experts are skilled in a range of data science and analytics areas including:

Analytical Methods and Problem Solving

Reducing dimensions Time series analysis Anomaly detection - finding unusual behaviour

Machine Learning

Continue reading

Consultancy

There are a lot of challenges that a business can encounter along their journey, and most of them can be solved by data. For example, encouraging customer purchases. To achieve this, you may want to understand your customer demographic: how much an average customer spends with you, what products or services they look at, how long it takes them to make a purchasing decision, and any factors influencing that decision. If you have that data, then you can analyse it, and use it to tailor your services.

Continue reading