СВ
Size: a a a
СВ
EZ
import pandas as pd
from statsmodels.discrete.discrete_model import MNLogit
df = pd.DataFrame({'x': [1,2,3,4,5,6,7,8,9], 'y': [1,2,3,1,2,3,1,2,3]})
model = MNLogit.from_formula('y~x', df)
result = model.fit()
result.predict(df)
DD
DD
СВ
DD
СВ
СВ
NN
DD
NN
SL
GA
СВ
t
t
ПП