about
MLiPS 1
11/21/2024
MLiPS 1: Forward
(M)achine (L)earning (i)ntegrated with (P)ower(S)hell pipelines
Forward:
- Collection of sources of data.
- Extracting objects from the sources for analysis and classification by one of several parsing applications.
- Applying one or more of a very large collection of analysis/classification algorithms.
- Converting the results into information for humans, e.g., extracting meta-data, removing redundant or inappropriate data items, forming summaries, gathering relationships between data items.
- Projecting results through context dependent viewers: analysis of the process, information stream for users, results summaries.
- Forwarding to long-term storage.
- Saving a unique record of the steps above to enable replication.
Concept:
- Support each of the process steps listed above by extracting plug-in components from a gallery, or creating a plug-in that, after proving its use in the current process, is registered with the gallery.
- Use interfaces and object factories for each processing stage to isolate framework mechanics from application specific processing. That enables substitution of plug-ins. So each plug-in is required to implement the interface and object factory for its processing stage: collection, parsing, cleaning, analyzing, viewing, ...
Concept for Implementation:
- Since the pipeline traffics in objects, PowerShell cmdlets are an effective mechanism for implementing pipeline stages.
- A PowerShell cmdlet is an instance of a .Net class that derives from System.Management.Automation.Cmdlet or its sister PSCmdlet.
- As a .Net class instance its methods send and receive objects, not just text streams. Its base Cmdlet class provides hooks to integrate it with the PowerShell execution enviroment.