The NBA Data Revolution: How Machine Learning in the NBA is changing the Game

Over the last ten years, data scientist have chewed up professional baseball and spit out an almost entirely new game. However, also, basketball is the new game that data science and machine learning is changing completely.

The NBA has used statistics, that may even surpass that of Major League Baseball. We know they let data into the locker room first. We all saw Moneyball movie with Brad Pitt or even read the book. Almost every team in the NBA now has a data scientist on their team who work with coaches. The job is to help to scan players to maximize talents and identify undervalued players. Many players use wearables and IoT sleep monitors to track their medical status to avoid injury. “The NBA’s best team, the Golden State Warriors, depend on their analytics success. The league even run annual Hackathon to uncover new data analyst talent “, as said in Quartz.

“ Analytics are part and parcel of virtually everything we do now,” NBA commissioner Adam Silver.

  1. Three-point Analysis strategy

The most significant change that happened to the NBA caused by analytics, the rise of the three-point shot, as a result of simple math. In 2012, the average team took only 18.4 three-point shots per game, but In 2018 there was a 70% increase. The increased use of the three-pointer was mainly a result of the analysis. A three-pointer that has only a 35% chance of going in still led to more points in comparison to a two-point jump shot that is closer to the basket. So, coaches now encourage players with strong three-point shooting skills to shot as often as possible. We can mention, for example, Kevin Durant, Klay Thompson.

Image for post

Defense analysis strategy

The more sophisticated analysis led to the other enormous changes in basketball. Teams are now much stronger when we talk about evaluating defense. Data Scientist is capable with granular tracking data, to see which players are best at controlling the most efficient three-pointers and dunks shoots. When Data Scientist use Bayesian networks, he can discover how much better team’s overall defense is when a particular player is in the game.

As a result, we have the near-extinction of certain types of players. Basketball players who take a lot of inefficient two-point shots and don’t grade out as staunch defenders are not valuable any more for teams in NBA. We can also see why player Teodosic, originally from Serbia, didn’t have much success in the NBA. All players now need to be good teammates. They need to pass the ball to another player on the court that has an opportunity for a success point.

Now before evaluating the player, the coaches look down last year statistics for a particular player with Data Scientist. Now we see that different kinds of basketball players are most valuable, comparing to the past. The NBA data revolution has also changed how much “valuable” players spent their time playing. When data show that the player is at risk of injury, he will get days off. So, hard work is the past. We are now witnesses of the smart work revolution. Silver has said that teams are even testing saliva for signs of fatigue.

The resting strategy of star players has negativity outcome for some fans who paid for tickets at the start of the season. Why? They are stuck seeing a lineup of backups play. However, on another hand, this rest strategy will help players, because it prolongs careers. In other words, fans and league will be more satisfied in the long run. In conclusion, it will make overall gameplay better too.

Image for post

The NBA’s data revolution is creating rosters of more skilled, more well-rounded players, and who better rested when they do play.

The only thing that puts Golden State Warriors apart as the superstar NBA champions, even among the champions of the past — is DATA.

The 2018 NBA playoffs were not actually so competitive. The Warriors dominated their way to another NBA championship. However, the LeBron James-led Cleveland Cavaliers — could not give much of the fight.

The anti-climactic playoffs sparked much discussion among NBA players and fans about who is at fault for the rise of the “superstar.” team. The Warriors, based in San Francisco Bay Area, seem to stay as champion in the world’s top professional basketball league for the next half-decade. At this point they do not have data competition. If the Warriors gained an unfair advantage, you can’t blame Kevin Durant for it.

The real advantage they have amongst other NBA teams — even other past championship squads — is an excellent eye for new talent. They use data to see who is the best fit and who has the possibilities to grow during the season. They have been super successful in the NBA’s amateur draft — the annual event in which teams pick the next generation of players. The average share of draftees’ minutes played in the playoffs’ final round was 38.6%.

Image for post

However, simply highlighting the share of minutes played by draftees do not justice how well the Warriors have identified talent in the draft. Funny story is of the Golden State players who have played the most minutes over that period were among the top five picks in the draft.

Warriors’ sharpshooters Steph Curry and Klay Thompson were picked 7th in 2009 and 11th in 2011 respectively. These players have proved to better than nearly all of the players pick before them.

But, just drafting the right players is not the only reason for the Warriors’ enormous success. The team also has data innovative management and a robust team development infrastructure to help Curry, Thompson, and others reach peak levels. They have also been lucky. Moreover, they were only able to get Durant because of an unusual one-year jump in the amount teams could spend on players.

Still, excellent drafting is the foundation of their greatness. They identified and nurtured talent that others didn’t see.

Thank you for reading,

Yours Manja

If you are interested in basketball analytics you can drop me a message on Linkedin or Instagram.

Or send me email at manja.bogicevic[at]kageera.com

Everything A CEO Needs To Know About Machine Learning

Everything A CEO Needs To Know About Machine Learning

In this short article, you will learn everything a CEO needs to know about machine learning. How Machine Learning works. After that what you can do with it. In conclusion how to get started.

It is all about connecting A to B

What a CEO needs to know about machine learning? How Machine Learning works. After that what you can do with it. In conclusion how to get started. Therefore, information on ML is often confusing and sometimes downright misleading (I’m looking at you, Microsoft). But ML for business is simple:

“99% of the economic value created by AI today is through one type of AI, which is learning A to B or input to output mappings.” Andrew Ng

Almost every business application of ML today is about learning to produce certain outputs from certain inputs:

How does ML learn to predict the correct output?

  1. You collect examples of input –> output pairs (the more the better).
  2. The ML algorithm learns the connection between input and output (that’s the magic).
  3. You apply the trained algorithm (the “model”) to new input data to predict the correct output.

In other words, almost everyone who uses ML to make $$ does it exactly like this.

Use ML when you have a lot of data

ML needs data

Therefore, ML is powerful because it turns data into insights. But it is less efficient at learning than people are (yes, way less efficient), so it needs a lot of data in order to learn. If you have lots of data, you should think about it!

Data is a competitive advantage, not Algorithms.

However, that’s why Google and Facebook have no problem open sourcing their algorithms. But they definitely don’t open source their data. If you have a lot of data no one else has, then that’s the perfect opportunity to build a unique ML system.

The 3 simplest ways to find your ML use cases

For instance, you have a lot of data. Now, what do you do? Here are the 3 best ways I know to discover ML use cases:

1. Improve automated decision-making

If you are wondering what the CEO needs to know about machine learning. Where do you have software that automates rule-based decisions?

For example:

  • Call Routing
  • Credit Scoring
  • Image Classification
  • Marketing Segmentation
  • Product Classification
  • Document screening

There is a good chance ML can improve the accuracy of these decisions because ML models can capture more of the underlying complexity that connects A to B. By comparison when you write rules into software manually (the traditional way), you can only encode rudimentary dependencies.

Machine learning for CEO 1

2. Things people can do in < 1- second

Another great heuristic I first heard from Andrew Ng is:

“Pretty much anything that a normal person can do in <1 sec, we can now automate with AI.” Twitter

So what are some things humans can decide in < 1 sec?

  • Who’s in that picture?
  • Do I have a good feeling about this potential customer?
  • Does this look like a problematic CT Scan?

Many jobs are a sequence of < 1-sec decisions. Like driving:

  • Is that person going to cross the street?
  • Am I too close to the sidewalk?
  • Should I slow down?
  • … and many, many more.

Anything you can do in less than 1 second, ML can most likely do too (or it will be able to soon).

3. Get inspired by Kaggle competitions

Large corporations like ZillowAvitoHome DepotSantanderAllstate, and Expedia are running data science competitions on Kaggle. These are challenges they want outside data scientists to solve. So these competitions give you an idea of what types of AI solutions they are working on. It’s really a great resource.

Machine learning for CEO 2

Have a look at the competitions and get inspired.

Finding ML Use Cases:

  • Upgrade decision-making that’s already automated
  • Automate things people do in < 1 sec
  • Get inspired by Kaggle competitions

Don’t wait until you have a Data Science Team

Machine learning for CEO 3

Building a good data science team is super hard (and expensive!)

Many companies struggle (and ultimately fail) to build an efficient data science team. Why is it so hard?

  • Misinformation about who to hire
  • Tough competition for talent
  • Few managers who can lead data science teams effectively

In addition…

You don’t know yet whether you need a data science team

You might have a lot of data and a lot of ideas, but that doesn’t mean you need your own data science team. Only after you’ve built your first AI systems will you really know how much manpower you’ll need in the long run?

Above all build something that works — fast

Your first goal should be to pick the lowest hanging AI fruit and finish it quickly. This gets you miles ahead:

  • You’ll achieve the tangible success that gets investors, the board, and your team excited;
  • Get to know the taste of ML and get real-life experience of what works and what doesn’t;
  • Have better ideas about where to use AI next.

With that first finished system under your belt, you are in a much better position to hire and train a data science team. Or maybe you find that you don’t want (or need) to hire a whole team because that low-hanging fruit already accounted for 80% of what you can feasibly do with AI.

ML teams should work across the whole company

However, If you do build an AI team, you should build it for the whole company, not just one department. A horizontal AI team.

In other words, don’t think in departments

AI experience is very transferable: To a data scientist, your CRM data looks almost the same as your inventory data. And to an algorithm, they look even more similar. It makes a lot of sense to build one AI task force for the whole firm.

Side note: For that to work, you should also have your data in one place!

More life-saving tips

Machine learning for CEO 4

In other words, don’t listen to people selling a “better algorithm”

Either they have no experience, or they’re trying to sell you open source for a markup. In AI especially, everyone is cooking with water, meaning they’re using publically available algorithms.

Above all focus on business experience & engineering quality

Also, Work with someone who takes the time to really understand the business problem you’re trying to solve and has high standards when it comes to engineering quality. However, If you want lots of results with fewer headaches, then the plumbing is more important than the cute algorithm that flows through it.

Magic Triangle meetings 😋

In other words, the best ideas develop when you put three types of people in a room:

  1. A person who’s in touch with the current business priorities (you?),
  2. A person knows the data you have (your database engineer), and
  3. Someone who has lots of practical experience building ML systems.

For instance, together, these three people can make realistic plans, really fast.

In conclusion:

  • AI is about connecting A to B.
  • Look into processes that involve a lot of data and < 1-sec decisions.
  • Get the first win before you plan big.

In conclusion, you learned everything a CEO Needs To Know About Machine Learning. In other words, If you need help along the way, drop me a line. I’m always happy to hear about exciting challenges: manja.bogicevic at kageera.ai

6 APPLICATIONS OF MACHINE LEARNING IN OIL AND GAS

6 APPLICATIONS OF MACHINE LEARNING IN OIL AND GAS

6 APPLICATIONS OF MACHINE LEARNING IN OIL AND GAS? The issue of environmental sustainability is a major concern for governments and players from the oil and gas industry worldwide. The negative impacts as a result of activities carried out by oil and gas companies have been a major tool not only for the livelihood and health of people but more so to the environment, such as pollution.

The risk of environmental pollution, hazards and severity can be and will be reduced with the use of machine learning and deep learning in the years to come. There has been an amazing application in chemical engineering, process safety, process control tuning, advanced dynamic and process optimization. We can see that the Oil and Gas industry when we talk about software especially machine learning solutions didn’t have any innovation in the last 15 years.

If you are a manager in the Oil and gas, you are afraid that Hazzard will happen and you can’t reduce the risk. What to do about it?

1. Predictive analytics for MPPL (Multiple Pipeline Product)

Machine learning 1

Model-based, predictive analytics lends itself to crunching multiple data sources to pinpoint risks for pipeline integrity management, while analytics for process monitoring and measurement evolve to better discover crucial variances. Kageera and Optimize Global Solutions vendors are starting to use rules and heuristic techniques to spot deviations impacting the accurate understanding of flow, production, and gas quality. Through the ability to set thresholds on deviations, measurement software can help spot problems such as missing data, suspect data, or uncollected data.

Predictive analytics for pipeline integrity is emerging, but engineers must advise analytics experts on underlying data sources and configuring KPIs.

Measurement

is crucial to the midstream, as are ways of converting measurement and flow data into production reports. With solutions, look for analytics and reports that can quickly update trends and generate new reports as new data from metering or gas analysis become available.

The foundation for analytics goes all the way back to plant and asset design. Install enough instrumentation to drive better predictions.

To work well, an analytics program might identify the need for some newer instrumentation, such as replacing gas charts with EFMs, investing in new acoustic leak detection technology, or online corrosion measurement transmitters.

2. Boosting the Business Values via PyRISK™ Dynamic QRA The Frontier of Dynamic QRA and Static QRA

Machine learning 2

The oil and gas industry has been using static quantitative risk assessment (QRA) and related studies for more than 50 years to evaluate risks of major accident hazards. It is applied to demonstrate a risk to the public and employees as part of complying with regulatory requirements, which vary worldwide.

Static QRA studies typically play an important role early in the design stage of a project’s capital expenditure (CAPEX) phase; for example, when evaluating concepts, optimizing design, and establishing cost-effective risk management.

Currently, Static QRA for oil and gas assets usually provides an overview of risk at a fixed reference point in time. Such studies involve hundreds, sometimes thousands, of scenarios covering operating conditions, manning levels, and maintenance activities. The cost can be substantial, and a study may need repeating every few years. Despite this, some operators have recognized a need to utilize Dynamics QRAs as a fundamental decision-support tool for their projects and operations beyond the explicit regulatory requirements. By doing so, they gain insights into how to save costs and maintain or increase production efficiency while operating safely.

Some operators are now moving beyond static QRA models to make better use of the huge volume of data that are collected in a process involving considerable time, effort, and cost. They are starting, or planning to, update data more frequently using a dynamic approach to risk-based safety management. New cloud-based tools, combining secure data storage and analytics, are assisting them on this journey in pursuit of potential cost, operational, and safety benefits.

PyRISK™

On the Quantitative Risk Assessment project which is expected to save 60% of the work effort through the full utilization of Machine Learning.

The outcome is a faster and better decision support and simpler and easier risk communication in all phases of an asset’s life cycle. We estimate that PyRISK™ can reduce the overall cost of safety studies by up to 40 to 60% over the lifetime of an asset. Dynamic Risk Estimation & Decision Making

Kageera’s product in cooperation with Optimize Global Solutions for PyRISK™ unlocks opportunities for machine learning in risk management. It supports customers already using PyRISK™ to perform Dynamic QRA to get even more value from the data at no additional cost.

The PyRISK™ approach offers significant cost advantages. Our estimate is that an operator may end up spending 30–40% less on safety studies over the 25- to the 30-year lifecycle of a medium- to the large-sized asset, while getting much more value out of the data generated in their QRA studies.

3. PySEP  (MACHINE LEARNING IN OIL AND GAS)

Machine learning 3

PySEP™: An integrated and holistic approach of delivering bespoke models which includes an immense diversity of process modeling, automation & optimization, Linear Programming, data analytics and machine learning solution for wide-ranging applications for offshore processing, gas processing, LPG, refineries, and chemical plants. PySEP™ Solutions provide the following functions, but not limited to:

  • Field life cycle analysis and project evaluation.
  • Reservoir management and dynamic nodal analysis.
  • Flow assurance and hydro-dynamic slug management.
  • Refinery linear programming.
  • Operator training simulation.
  • The data-driven decision platform empowers senior management to take the best-suited decisions in a timely manner.
  • Avoid unplanned downtime.

4. PyFCC

Machine learning 4

PyFCC™: Machine learning smart solution for Fluid Catalytic Cracking delivered with out-of-the-box integrated architectures that seamlessly integrate the flow of information between operating facilities and final predictive model to sort out through the field complexities. The out-of-the-box integration is giving an opportunity to:

  • Proactively predicts the FCC yield in response to any potential change in the refinery feedstock.
  • Prediction of kinetics parameters and overall conversion efficiency weighing the actual operating conditions.
  • The data-driven decision platform empowers senior management to take the best-suited decisions in a timely manner.
  • Avoid unplanned downtime.

5. Remote operation and performance shutdown using IOT (PyMACHINA)

Machine learning, Deep learning and the Internet of Things (IoT) that could potentially revolutionize the oil and gas industries. Having already made quite a storm in various other industries including consumer electronics, this couldn’t come at a better time for the oil industry as it currently faces dramatic drops in the price of oil.

  • Remote operation with use of IoT (there is no need for people checking anything at platforms
  • Remote notifications alarms and performance shutdown

Every 20 years we have a massive explosion of platforms we can reduce this risk with deep learning algorithms and IoT.

  • Remote operations with the use of Deep Q learning and robotics (PyROBOT)

THE RESULT:

No accidents, no harm to the people, no damage to the environment that is the goal of our solutions in the oil and gas industry. (MACHINE LEARNING IN OIL AND GAS)

6. Deep Learning risk detecting and predictive diagnostics (PyVision™)

In an industry where oil prices are constantly rising, it has become imperative to act on operating costs, productivity and lead times in order to have better returns on investment.

There are different categories of Computer Vision such as image processing (including image recognition), facial recognition, optical character recognition. This variety means that CV can be useful for many different types of industries, and various practical use cases. Here are some concrete examples of CV applications that are currently in production:

  • Smart Video surveillance system to help diagnose pool fire for example.
  • Quality control automation of preventing fire in a refinery

Conclusion

Everything mention above entails smart and quick solutions, a big reduction in operating expenses of companies and consequently fewer overheads. This recipe of success would help the entities to survive throughout the wild competitions and reduce oil prices.

On the other hand, process and chemical engineers should start pulling up their socks and refresh their minds by recovering all basics and fundamentals of mathematics to be utterly equipped with the proper knowledge when they use ML and its application in the O&G industry. In order to have successful machine learning or deep learning solution you have to have:

  • Initial screening with Experienced Process Flow Assurance Engineer and Machine Learning Engineer with a proven record in the field
  • An agile action plan with applicable and rising risks
  • Digest and analyze numerous sources of data

Until next time,

Happy machine learning in Oil and Gas.

If you are interested in our Oil and Gas solutions send me an email at manja.bogicevic[et]kageera.com