### Factory

The **Factory** is one of Rulex Platform’s components, which allows you to perform advanced data analysis operations using a single high-performing no-code interface.

With the Factory you can:

__Prepare and pre-process data;____Use algorithms ranging from optimization to clear-box on your data;____Create Flows with all the tasks available in your package;__

__Customize Flow features;____Perform effective data analysis__

__Mission__

Rulex’s mission is to help people and organizations take the best possible decisions by seamlessly combining transparent data-driven knowledge with human expertise. We have worked hard to build a unique platform that can be used by anyone from a standard laptop, without writing a line of code. Since 2014, our team, together with an extensive network of partners, has helped clients from all over the world improve operational and decision-making processes by using data-driven insight.

Rulex Factory is the first comprehensive Digital Decision Platform, which effectively automates operational business processes.

The Factory is powered by:

**Exceptional computation capabilities**. Rulex Factory has top class execution times and can process extremely high volumes of data without suffering performance degradation. For example running on a standard laptop Rulex Platform can handle 500 million cells with 8GB of RAM, and sort over 10 million rows of data in less than 2 seconds.**Zero code programming**. Rulex Factory’s drag and drop user interface allows process and data experts to automate operational decisions in autonomy, without programmers or data scientists.**Explainable AI**. Traditional “black box” AI solutions rely on machine learning algorithms that produce predictive models in the form of mathematical functions that cannot be understood by laypeople, or in many cases, even by mathematicians. Rulex’s clear-box algorithms create predictive models in the form of*if-then*logic rules to make the best data-driven decision. Rulex Factory can integrate existing process rules with new models extracted from data to produce a union of human and machine decision knowledge in a single, seamless system. The result is a decision that’s fully explainable and auditable – simple for anybody to see the exact reasons for every decision.**Business tailored optimization**. Business-oriented high-level tasks, which facilitate process optimization within the Platform, via business key values instead of complex mathematical formulas.**Extensive support for production execution**. Rulex provides an integrated platform to automate decision-making processes, decreasing employee time-to-productivity, allowing fast development cycles and simplifying production deployment. Process execution can be managed via scheduled activities or API-calls.

__Rulex Platform as an agile tool__

Rulex Platform is an intrinsically agile tool through which it is possible to experiment on data and quickly perform trial and error operations to check real-time how results changes according to selected configurations. Only once you are satisfied with the results these operations can be saved, and you can move on to the overall configuration of your process. This flexibility is essential in a fast-changing and highly competitive market, where decisions have to be taken quickly and plans need to rapidly change as soon as decisions are no longer valid.

__Factory user guidelines__

Here is a list of the main topics we will be dealing with for the Factory:

- Rulex Factory Licences
- Basic Concepts
- Getting Started
- Importing Data into a Flow
- Working with your data in the Factory

Rulex Factory’s core is based on Rulex 4, and it shares the same functions, which have been enriched and are growing with constant updates.

- Rulex Factory Licences
- Basic Concepts
- Getting Started
- Importing Data into a Flow
- Saving Sources for Import and Export tasks
- Using a Custom Source in Import and Export Tasks
- Importing Data from a Microsoft Excel file
- Importing Data from a Parquet File
- Importing Data from a PDF File
- Importing Data from a Text File
- Importing Data from a Json File
- Importing Data from an XML File
- Importing Data from a Database
- Creating datasets using the Empty Source task
- Conditionally Importing Data from Databases
- Importing Structures with Import from Task

- Working with your data in the Factory
- Datasets and Attributes
- Task Overview
- Exploring and Structuring Data
- The Data Manager
- Computing Formulas in the Data Manager
- Formulas and Functions in the Factory
- Arrays in the Factory
- enum function in the Factory
- fillDown function in the Factory
- fillLinear function in the Factory
- fillUp function in the Factory
- integer function in the Factory
- len function in the Factory
- matchHeaders function in the Factory
- nominal function in the Factory
- perm function in the Factory
- rank function in the Factory
- shift Function in the Factory

- Logical functions in the Factory
- ifelse function in the Factory
- isDate function in the Factory
- isDatetime function in the Factory
- isFloat function in the Factory
- isInteger function in the Factory
- isMonth function in the Factory
- isQuarter function in the Factory
- isTime function in the Factory
- isType function in the Factory
- isWeek function in the Factory

- Statistical functions in the Factory
- anovat and anovap functions in the Factory
- argMax and argMin functions in the Factory
- chisquare and chisquarep functions in the Factory
- cohenk function in the Factory
- count function in the Factory
- countIf function in the Factory
- covariance function in the Factory
- cumMax and cumMin functions in the Factory
- distinct function in the Factory
- entropy function in the Factory
- fact function in the Factory
- Gini function in the Factory
- interquartile function in the Factory
- max and max2 functions in the Factory
- maxyoudencut function in the Factory
- mean function in the Factory
- median function in the Factory
- min and min2 functions in the Factory
- mode function in the Factory
- movMean function in the Factory
- pearson function in the Factory
- quantile function in the Factory
- roc function in the Factory
- standard deviation function in the Factory
- variance function in the Factory

- Math and Trigonometry functions in the Factory
- abs function in the Factory
- acos function in the Factory
- acosh function in the Factory
- asin function in the Factory
- asinh function in the Factory
- atan function in the Factory
- atanh function in the Factory
- baseConv function in the Factory
- ceil function in the Factory
- cos function in the Factory
- cosh function in the Factory
- cumProd function in the Factory
- cumSum function in the Factory
- exp function in the Factory
- floor function in the Factory
- isInteger function in the Math and Trigonometry functions of the Factory
- log function in the Factory
- log10 function in the Factory
- prod function in the Factory
- rand function in the Factory
- randGauss function in the Factory
- round function in the Factory
- sign function in the Factory
- sin function in the Factory
- sinh function in the Factory
- sqrt function in the Factory
- sum function in the Factory
- tan function in the Factory
- tanh function in the Factory

- Text functions in the Factory
- charReplace function in the Factory
- distance function in the Factory
- find function in the Factory
- head function in the Factory
- isPrefix function in the Factory
- isSuffix function in the Factory
- isWord function in the Factory
- numExt function in the Factory
- pad function in the Factory
- phonetic function in the Factory
- prefix function in the Factory
- replace function in the Factory
- strip function in the Factory
- suffix function in the Factory
- tail function in the Factory
- textConcat function in the Factory
- textExtract function in the Factory
- textFormat function in the Factory
- textLen function in the Factory
- textLower function in the Factory
- textSort function in the Factory
- textUpper function in the Factory

- Date and Time functions in the Factory
- addMonth function in the Factory
- addQuarter function in the Factory
- addWorkingDays function in the Factory
- addYear function in the Factory
- currDate function in the Factory
- currDatetime function in the Factory
- date function in the Factory
- datetime function in the Factory
- day function in the Factory
- hour function in the Factory
- isDate function in the Date and Time functions of the Factory
- isDatetime function in the Date and Time functions of the Factory
- isMonth function in the Date and Time functions of the Factory
- isQuarter function in the Date and Time functions of the Factory
- isTime function in the Date and Time functions of the Factory
- isWeek function in the Date and Time functions of the Factory
- minute function in the Factory
- month function in the Factory
- quarter function in the Factory
- second function in the Factory
- time function in the Factory
- timeZone function in the Factory
- week function in the Factory
- weekDay function in the Factory
- year function in the Factory

- Graphs functions in the Factory
- System functions in the Factory
- Data functions in the Factory
- cast Function in the Factory
- catNames Function in the Factory
- decideType function in the Factory
- disc function in the Factory
- discEqualFrequency function in the Factory
- discEqualWidth function in the Factory
- discretize function in the Factory
- isAttribute function in the Factory
- isFloat function in the Data functions of the Factory
- isType function in the Data functions of the Factory
- type function in the Factory

- Arrays in the Factory
- Plotting Data in the Data Manager
- Managing Attributes in the Data Manager
- Querying Data in the Data Manager
- Computing Statistics in the Sheets tab
- Computing Single Statistics in the Sheets tab
- Values, Frequencies and Quantiles in the Sheets tab
- Computing Correlation and Covariance in the Sheets tab
- Computing Cross Tabulation Statistics in the Sheets tab
- Computing ROC Curves in the Sheets tab
- Computing Test for Independent Samples in the Sheets tab
- Computing Test for Paired Samples in the Sheets tab

- Tracking operations in the History tab

- Reshaping, Transforming and Cleaning Datasets
- Splitting Data into Training and Test Sets
- Merging Datasets
- Using External Scripts in Rulex
- Identifying the Principal Components in Datasets with PCA

- The Data Manager
- Solving your problem
- Solving Optimization Problems
- Solving Supervised Learning Problems
- Using SVM to solve Classification Problems
- Using Decision Tree to solve Classification Problems
- Using Auto Regressive to solve Regression Problems
- Using K-Nearest Neighbor to solve Regression Problems
- Using K-Nearest Neighbor to solve Classification Problems
- Using Neural Networks to solve Classification Problems
- Using Neural Networks to solve Regression Problems
- Using Regression Tree to solve Regression Problems
- Using Regression SVM to solve Regression Problems
- Using Linear to solve Regression Problems
- Using LLM to solve One-Class Problems
- Using LLM to solve Classification Problems
- Using LLM to solve Regression Problems
- Using Logistic to solve Classification Problems

- Solving Unsupervised Learning Problems
- Solving Association Problems in the Factory
- Using Anomaly Detection to solve Association Problems
- Using Frequent Itemsets Mining to solve Association Problems
- Using Hierarchical Basket Analysis to solve Association Problems
- Using Sequence Analysis to solve Association Problems
- Using Assortment Optimizer to solve Association Problems
- Using Similar Items Detector to solve Association Problems

- Solving Clustering Problems in the Factory

- Solving Association Problems in the Factory

- Working with the Results
- Converting Structures
- Analyzing and Optimizing Results
- Analyzing Rules in the Rule Manager
- Adding Rules Manually in the Rule Manager
- Analyzing Frequent Itemsets and Sequences
- Optimizing Association and Replacement Rules
- Ranking Rule Features and Values
- Analyzing Model Performance in the Confusion Matrix
- Analyzing Classification LLM Rules in the Rule Viewer
- Merging Rules
- Applying Models to Data
- Finding and Replacing Values in Datasets
- Optimizing Rulesets

- Compacting Tasks into Modules
- Versioning Flows
- Refining and Improving Flows
- Exporting Flows
- Exporting Data from a Flow
- Modifying Flows Execution Preferences