Avatar of csehz
csehz
Flag for Hungary

asked on 

Python - list the content of an algorithm

Dear Experts,

Actually trying to analyze the machine learning logics behind in algorithms, for example the KNeighborsClassifier():

import pandas
from sklearn.neighbors import KNeighborsClassifier
model = KNeighborsClassifier()
print(model)

Open in new window


Could you please advise would it be possible to list the content of an algorithm in Python and with which syntax concretely? The above print(model) of course just provides some overall information about the algorithm, but not the content

Thanks in advance,
PythonAlgorithms

Avatar of undefined
Last Comment
csehz

8/22/2022 - Mon