How to make and plot a S curve using sklearn

Crystal X
Geek Culture
Published in
4 min readSep 15, 2021

--

Python’s library on machine learning has facilities to allow users to make datasets. I have written a few posts where users can make datasets to use in their own data science projects, to include blobs, circles, half moons, regressors and classifiers. Python has other dataset generators that create shapes as well. The most recent post I have made concerning sklearn’s dataset method is here:- https://medium.com/geekculture/how-to-create-a-bell-curve-using-only-python-9fdca95e7967

The s curve is a type of manifold learning. Manifold learning is an approach to non-linear dimensionality reduction. Algorithms for this task are based on the idea that the dimensionality of many data sets is only artificially high.

I have written the program to create the s curve using Google Colab, which is Google’s free online Jupyter Notebook. Google Colab is a really great Jupyter Notebook because it is portable and can be used on any computer that has an internet connection and a search engine. Google Colab even has a mechanism to share notebooks, along with a handy option to allow others to view the code. The only real criticism I have of Google Colab is the fact that it does not have an undo function, which puts the user at risk of overwriting or deleting valuable code and then being unable to retrieve it.

--

--

Crystal X
Geek Culture

I have over five decades experience in the world of work, being in fast food, the military, business, non-profits, and the healthcare sector.