By Cognitive Scale Inc
Certified enterprise ready
Gain visibility and control over automated decisions by managing the risk and optimizing the value of black-box AI models. Certifai automatically detects and scores model risks including performance, data drift, bias, explainability, and robustness.
- An OpenShift 4.2+ deployment
- s3 compatable storage where Cortex Certifai scan result will be stored
- OpenShift Container Storage with s3 compatable noobaa enabled, ceph or s3 storage
- Create a bucket, capture access url, bucket name, access key and secret key
- A namespace/OpenShift project where you will install Cortex Certifai
- In the "OpenShift Console" go to "Projects" and "Create Project"
Install Cortex Certifai from RedHat Marketplace
After Purchase or Free trial enrollment of Cortex Certifai Operator
On the Create Operator Subscription page select the namespace for this installation from the dropdown. (Namespaces are created by system admins as a prerequisite step.) The other options are set to defaults as follows:
- Update Channel = "stable"
- Approval Strategy = "automatic"
The Installed Operators page opens with a list view of operators you've installed. Click the name of the operator you just added.
A page opens that displays an overview of your operator and four other tabs:
- Cortex Certifai Operator
Go to the last tab, Cortex Certifai Operator, and click Create Instance to open a terminal window with the following .yaml config file.
apiVersion: cortex.cognitivescale.com/v1 kind: Certifai metadata: name: default-certifai namespace: certifai-test01 spec: console: replicas: 2 route-type: none s3: access-key: your access key bucket-name: your bucket name endpoint: s3.amazonaws.com secret-key: your secret key reference-model: enabled: true
Edit the parameters:
|apiVersion||APIVersion defines the versioned schema of this representation of an object. Should NOT be changed by users.||cortex.cognitivescale.com/v1|
|kind||Identifies the package type you are installing||(Always) Certifai|
|metadata/name||The name of your installation as configured||default-certifai|
|metadata/namespace||The namespace you selected in step 4 above||certifai-test01|
|spec/console/replicas||The number of console instances you want your organization to run concurrently||default = 2|
|spec/console/route-type||Console Access options are:
none (default): no authentication is required to open the Console
http: Unsecured for a closed network
https: Secured for the internet
oauth: Enables login with RHOS credentials
|spec/console/s3/access-key||The s3 (or Ceph) access key you configured during your infrastructure setup||access-key|
|spec/console/s3/bucket-name||The s3 (or Ceph) bucket name you configured during your infrastructure setup||bucket-name|
|spec/console/s3/endpoint||The s3 (or noobaa/Ceph) endpoint you configured during your infrastructure setup||s3.amazonaws.com|
|spec/console/s3/secret-key||The s3 (or Ceph) secret-key you configured during your infrastructure setup||s3secret1234|
|spec/reference-model/enabled||Boolean. Enables or disables the reference model server that is added to your installation. Users may disable the reference model at any time to remove it from the installation to save resources.||default = true|
At the bottom of the page click Create. After the instance is created, a list view of instances is displayed.
Verify Cortex Certifai Installation
Open the Cortex Certifai Console to verify OpenShift Container Storage/S3 bucket is connected.
- Route-Type option is http, https or oauth
- To find your Certifai Console URL: Click Networking in the left navigation panel and then Routes. The Certifai Console URL is displayed in "Location" column.
- Click the link to open your Console and click Get Started to open the Console
- If OAuth is selected for route-type accept the OpenShift prompts to grant permission during login
- Route-Type option is "none"
- Configure OpenShift Route to expose service "certifai-console" found under networking/services
Change Cortex Certifai Configuration
- Click Administration in the left navigation panel.
- Click Custom Resource Definition.
- Click Certifai in the resource list.
- On the Custom Resource Definition Details page open the Instances tab.
- Click the name of the instance that you want to configure.
- Open the YAML tab.
- Find the configuration parameter you want to change and set it to the desired option.