Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>nEXT-snippetsNew to Visual Studio Code? Get it now.
nEXT-snippets

nEXT-snippets

Aadhitya A

|
4,665 installs
| (0) | Free
Code snippets for ML
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

README

Hello everybody, and thanks for using the next-snippets extension first of all! This extension helps you to put basic ML Code templates in Python! Some are yet to come, but it is developed for users who are learning ML and Data Science for the first time! xD

Some commands for invoking the code snippets are given below!

Code snippets and commands

!dat - To invoke basic import of Data Science libraries

!nntmp - To import Tensorflow and Keras

!encode - To use the OneHotEncoder

!encody - To use Encoder in case of variable 'y'

!train - To import the split-dataset template

!plt - To import the graphing template

!import - To call the import dataset template

!nnmodel - To invoke a neural network of single neuron

!epoch - To train a Neural Network

!nncompl - Import a NN (suitable for CV, MNIST etc)

!iris - Import a Iris dataset for example! xD

!dtr - Import DecisionTreeRegressor template

!rfr - Import RandomForestRegressor template

!svr - Import SVR model

!fs - Use feature scaling

More yet to come!

Requirements

  1. Python 3.6 or later

  2. Tensorflow 2.x (Keras will be included)

  3. Pandas

  4. Matplotlib

  5. Numpy

  6. Scikit-learn

Known Issues

So far, no issues reported!

Release Notes

1.1.4

Stable version now available! xD

1.1.3

Fixed issue which caused problems in the code

1.1.2

More templates added!

1.1.1

Fixed known issues

1.0.1

Added more support of snippets

1.0.0

Initial release of next-snippets, added support for code templates of ML


  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft