Getting Started

Requirements

To use ManufacturingNet, you will need a version of Python greater than 3.4 installed.

To check if Python3 is installed, open the terminal on Linux/MacOS or PowerShell on Windows and run the following command:

python3 --version

To install ManufacturingNet and its dependencies, you will need pip, the Python package manager. If you have a version of Python greater than 3.4, pip should already be installed.

To check if pip is installed, open the terminal/PowerShell and run the following command:

pip --version

ManufacturingNet depends on the following packages:

These packages will be automatically installed when you install ManufacturingNet.

Handling Import Errors

The above packages should be all you need to run ManufacturingNet, but if you run into errors like ImportError: No module named ModuleName, try installing the module with pip like so:

pip install ModuleName

Installation

After installing the above requirements, open the terminal/PowerShell and run the following command:

pip install ManufacturingNet

Usage

To start using ManufacturingNet in any Python environment, import the library as such:

import ManufacturingNet

If you don’t need the entire library, you can import specific classes using dot notation and “from” statements. For example, to import the linear regression model, use this code:

from ManufacturingNet.models import LinRegression

To import the feature extraction functionality, use this code:

from ManufacturingNet.featurization_and_preprocessing import Featurizer

For more information about using ManufacturingNet, view the documentation page for the desired functionality: