Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
238 views
in Technique[技术] by (71.8m points)

Wordpress Python Plugin - Scitkit-learn, REST endpoint, Public endpoint

Wordpress Python Pluggin.

I am interested in integrating scikit-learn ML into my website built with wordpress and using the Python plugin. In this case I envision the Python code scoring all within Wordpress. An example of integrating sckit-learn might be:

model= LinearRegression()
model.fit(...)
r_square=model.score(...)

However, I am also interested in calling REST endpoints from a public cloud vendor's prebuilt deep learning services, such as Azure Cognitive Services. Perhaps I will even call my own deployed pkl models hosted in Docker containers that are in turn running on Azure (as example). I might call the endpoint using urllib.urlopen(...)

Finally, does Wordpress provide a way to host an app service whereby I could call that service from my Python code that is running in the Wordpress Python Pluggin? This would allow for me to develop micro services running and responding to requests all inside wordpress; making reuse and code maintenance easier for other Wordpress Python Pluggin solutions that might want to leverage the service. If my app service is developed in Python this might mean that Wordpress support Flask, I do not want to assume though.

Do you anticipate any issues using the Wordpress Python Plugin to perform these 3 programming tasks? Any tips, blogs, repo's you can point me to.

question from:https://stackoverflow.com/questions/66052479/wordpress-python-plugin-scitkit-learn-rest-endpoint-public-endpoint

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...