We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TypeError Traceback (most recent call last) Cell In[2], line 7 5 data=np.random.choice([0,1],size=(100,3)) 6 df=pd.DataFrame(data,columns=['Q1','Q2','Q3']) ----> 7 model=LCA(n_classes=2)
TypeError: LCA.init() got an unexpected keyword argument 'n_classes' what to do?
I wanted to run a latent class analysis in python using pylca, I faced the following error.
TypeError Traceback (most recent call last)
Cell In[2], line 7
5 data=np.random.choice([0,1],size=(100,3))
6 df=pd.DataFrame(data,columns=['Q1','Q2','Q3'])
----> 7 model=LCA(n_classes=2)
TypeError: LCA.init() got an unexpected keyword argument 'n_classes'
what to do?