profiles_mlcorelib is a Python package that provides PyNative models which can be used in Profiles projects.
You can install the package from PyPi using pip
pip3 install profiles_mlcorelib
- Make Code Changes:
- Update the desired model with your changes.
- Ensure any new or updated dependencies are reflected in setup.py.
- Install the Updated Package:
- Navigate to the package directory and install it locally to reflect your changes:
cd src/predictions pip3 install .
- Compile/run the project
- Execute the project that uses the model being updated to verify your changes.
- Implement the New Model:
- Implement the PyNative model interface in py_native/<new_model>.py.
- Ensure any new or updated dependencies are reflected in setup.py.
- Register this model type by adding it in register_extensions method. This is required for pb to be aware of this new model.
- Install the Updated Package:
- Navigate to the package directory and install it locally to reflect your changes:
cd src/predictions pip3 install .
- Create a Sample Project:
- Add a new project in the samples directory that utilizes the new model type.