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

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.

主站蜘蛛池模板: 永平县| 邢台市| 宜兴市| 永胜县| 芦山县| 正镶白旗| 福鼎市| 张家港市| 宜城市| 昭通市| 隆回县| 永新县| 宜丰县| 昌平区| 富民县| 灵川县| 连城县| 澄江县| 普陀区| 昂仁县| 麟游县| 镶黄旗| 博白县| 鞍山市| 新乡市| 彭山县| 吕梁市| 枝江市| 云浮市| 四子王旗| 寿宁县| 永定县| 津市市| 枞阳县| 金川县| 安溪县| 南昌市| 盐山县| 朝阳市| 武威市| 油尖旺区|