Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
r中的哪个包可以在给定一些数据的情况下编写对数似然函数,然后使用 EM 算法对其进行估计?
谢谢。
我相信您正在寻找类似flexmix或mixtools的东西。它们适用于许多标准模型,但也可以与用户提供的可能性一起使用。后者(用户定义的模型)不太直接,并且根据您的应用程序,编写自定义代码可能更容易/更快/更好。
I want to get all my that's inside . I wrote this code:
matchObj = re.search(r'<tr>(.*?)</tr>', txt, re.M|re.I|re.S)
but I only get the first group.