Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What should I use instead of Bootstrap?

When I run this code:

from sklearn import cross_validation
bs = cross_validation.Bootstrap(9, random_state=0)

I get this deprecation warning:

C:\Anaconda\envs\p33\lib\site-packages\sklearn\cross_validation.py:684: DeprecationWarning: Bootstrap will no longer be supported as a cross-validation method as of version 0.15 and will be removed in 0.17
  "will be removed in 0.17", DeprecationWarning)

What should I use instead of the bootstrap?

like image 616
Ginger Avatar asked Jan 19 '15 17:01

Ginger


People also ask

Is there something better than Bootstrap?

With all the perks of an advanced framework, Foundation is definitely the strongest alternative to Bootstrap. It is being used by some of the biggest organizations in the world for e.g. Adobe, Amazon, HP, eBay etc to quote a few.

Which CSS framework is better than Bootstrap?

Cardinal is a modular, "mobile-first" CSS framework built with performance and scalability in mind. It doesn't have any unnecessary code-related UI design, which makes its structure very light compared to Bootstrap. Plus, it allows complete control over the appearance of websites.

Why Bootstrap should not be used?

Bootstrap comes with a lot of lines of CSS and JS, which is a good thing, but also a bad thing because of the bad internet connection. And there's also the problem with the server that will take all the heat for using such a heavy framework.

Is it worth learning Bootstrap in 2022?

Any CSS framework is a good choice for 2022. It's just that Bootstrap comes with limited designs for which designs from outside has to be integrated. In Bootstrap, we can add pre-defined class into the code without writing code. Used by many companies well known companies like Twitter, Udemy, Spotify and more.


1 Answers

From the scikit-learn 0.15 release notes, under "API changes summary"

  • cross_validation.Bootstrap is deprecated. cross_validation.KFold or cross_validation.ShuffleSplit are recommended instead.

And from the source code itself:

# See, e.g., http://youtu.be/BzHz0J9a6k0?t=9m38s for a motivation
# behind this deprecation
warnings.warn("Bootstrap will no longer be supported as a " +
              "cross-validation method as of version 0.15 and " +
              "will be removed in 0.17", DeprecationWarning)
like image 100
Matt Ball Avatar answered Oct 20 '22 00:10

Matt Ball