Ketogenic diets are essentially dieting that cuts out carbohydrate intake entirely and substitutes it with other foods such as proteins and fats. This diet is usually good for those trying to cut as much as possible and as quickly as possible, for most purposes this diet is quite difficult to maintain over large periods of time and is therefore unlikely to remain stable for too long and should therefore be avoided unless you are able to maintain said diet for a long period of time.
Intermittent fasting is meant to shock the body into weight loss mode, in order to do this, you need to actually get the body into the mode it needs to start losing weight. Shocking the body by using a large caloric deficit is one way, the other way is to shock the body by using both intermittent fasting and a large caloric deficit. Intermittent fasting is a great way to do both at the same time, it is advisable that you do this with the right amount of nutrients or you may risk getting your body hurt in some bad ways however. (I got mine from Movo Movo)
Normal Caloric Deficit Diet
Most diets simply emphasize using a large caloric deficit to achieve weight loss, this is by far the easiest diet, it’s slow but after a while it will do the trick. Losing weight by going on a caloric deficit diet is quite easy but it is slow and laborious in comparison with ketogenic or intermittent fasting diets that are usually faster but are harder to maintain over time. Because of this, normal caloric deficit diets are usually what most doctors prescribe to patients who wish to lose weight.