官术网_书友最值得收藏!

Generating text using Markov chains

Markov chains are simple stochastic models in which a system can exist in a number of states. To know the probability distribution of where the system will be next, it suffices to know where it currently is. This is in contrast with a system in which the probability distribution of the subsequent state may depend on the past history of the system. This simplifying assumption allows Markov chains to be easily applied in many domains, surprisingly fruitfully.

In this recipe, we will utilize Markov chains to generate fake reviews, which is useful for pen-testing a review system's spam detector. In a later recipe, you will upgrade the technology from Markov chains to RNNs.

主站蜘蛛池模板: 涟源市| 遂平县| 克山县| 新乡市| 赫章县| 礼泉县| 根河市| 定边县| 安宁市| 汪清县| 怀仁县| 曲松县| 玉门市| 荥阳市| 海原县| 东至县| 澄迈县| 两当县| 容城县| 蒙阴县| 武陟县| 罗定市| 九寨沟县| 河西区| 济宁市| 建始县| 江都市| 壶关县| 洮南市| 尤溪县| 天台县| 顺平县| 临邑县| 泾阳县| 洪泽县| 广西| 三明市| 裕民县| 辉南县| 宁都县| 九龙县|