During the production of natural gas one of the major problems is the formation of hydrate crystals in the pipeline. The forming hydrate crystals can form hydrate plugs in the pipeline. The hydrate plugs lengthen production outages and result in financial losses for the producer, because the removal of the plugs is a time consuming procedure. One of the solutions used to prevent hydrate formation is the injection of modern compositions to the gas flow. The modern compositions help to dehydrate the gas, thus, the size of hydrate crystals does not increase. The substances, used in low concentrations, have to be locally injected, at the gas well sites. Inhibitor dosing depends on the amount of gas hydrate present. In the article a neural network based predictive detection solution is presented, which uses four factors.