slim-gsgp


Nameslim-gsgp JSON
Version 0.1.10 PyPI version JSON
download
home_pagehttps://github.com/DALabNOVA/slim
SummarySemantic Learning algorithm based on Inflate and deflate Mutation (SLIM GSGP)
upload_time2024-10-10 22:01:23
maintainerNone
docs_urlNone
authorLiah Rosenfeld, Davide Farinati, Diogo Rasteiro, Gloria Pietropolli, Karina Brotto Rebulli, Sara Silva, Leonardo Vanneschi
requires_python>=3.10
licenseNone
keywords
VCS
bugtrack_url
requirements numpy pandas torch joblib
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # SLIM (Semantic Learning algorithm based on Inflate and deflate Mutation)

`slim_gsgp` is a Python library that implements the SLIM algorithm, which is a variant of the Geometric Semantic Genetic Programming (GSGP). This library includes functions for running standard Genetic Programming (GP), GSGP, and all developed versions of the SLIM algorithm. Users can specify the version of SLIM they wish to use and obtain results accordingly. Slim's documentation can be accessed in [Slim Documentation](https://slim-library.readthedocs.io/en/latest/).

## Installation

To install the library, use the following command:
```sh
pip install slim_gsgp
```

## Usage
### Running GP 
To use the GP algorithm, you can use the following example:

```python
from slim_gsgp.main_gp import gp  # import the slim_gsgp library
from slim_gsgp.datasets.data_loader import load_ppb  # import the loader for the dataset PPB
from slim_gsgp.evaluators.fitness_functions import rmse  # import the rmse fitness metric
from slim_gsgp.utils.utils import train_test_split  # import the train-test split function

# Load the PPB dataset
X, y = load_ppb(X_y=True)

# Split into train and test sets
X_train, X_test, y_train, y_test = train_test_split(X, y, p_test=0.4)

# Split the test set into validation and test sets
X_val, X_test, y_val, y_test = train_test_split(X_test, y_test, p_test=0.5)

# Apply the GP algorithm
final_tree = gp(X_train=X_train, y_train=y_train,
                X_test=X_val, y_test=y_val,
                dataset_name='ppb', pop_size=100, n_iter=100)

# Show the best individual structure at the last generation
final_tree.print_tree_representation()

# Get the prediction of the best individual on the test set
predictions = final_tree.predict(X_test)

# Compute and print the RMSE on the test set
print(float(rmse(y_true=y_test, y_pred=predictions)))
```

### Running standard GSGP 
To use the GSGP algorithm, you can use the following example:

```python
from slim_gsgp.main_gsgp import gsgp  # import the slim_gsgp library
from slim_gsgp.datasets.data_loader import load_ppb  # import the loader for the dataset PPB
from slim_gsgp.evaluators.fitness_functions import rmse  # import the rmse fitness metric
from slim_gsgp.utils.utils import train_test_split  # import the train-test split function


# Load the PPB dataset
X, y = load_ppb(X_y=True)

# Split into train and test sets
X_train, X_test, y_train, y_test = train_test_split(X, y, p_test=0.4)

# Split the test set into validation and test sets
X_val, X_test, y_val, y_test = train_test_split(X_test, y_test, p_test=0.5)

# Apply the Standard GSGP algorithm
final_tree = gsgp(X_train=X_train, y_train=y_train,
                  X_test=X_val, y_test=y_val,
                  dataset_name='ppb', pop_size=100, n_iter=100,
                  reconstruct=True, ms_lower=0, ms_upper=1)

# Get the prediction of the best individual on the test set
predictions = final_tree.predict(X_test)

# Compute and print the RMSE on the test set
print(float(rmse(y_true=y_test, y_pred=predictions)))
```

### Running SLIM 
To use the SLIM GSGP algorithm, you can use the following example:

```python
from slim_gsgp.main_slim import slim  # import the slim_gsgp library
from slim_gsgp.datasets.data_loader import load_ppb  # import the loader for the dataset PPB
from slim_gsgp.evaluators.fitness_functions import rmse  # import the rmse fitness metric
from slim_gsgp.utils.utils import train_test_split  # import the train-test split function

# Load the PPB dataset
X, y = load_ppb(X_y=True)

# Split into train and test sets
X_train, X_test, y_train, y_test = train_test_split(X, y, p_test=0.4)

# Split the test set into validation and test sets
X_val, X_test, y_val, y_test = train_test_split(X_test, y_test, p_test=0.5)

# Apply the SLIM GSGP algorithm
final_tree = slim(X_train=X_train, y_train=y_train,
                  X_test=X_val, y_test=y_val,
                  dataset_name='ppb', slim_version='SLIM+SIG2', pop_size=100, n_iter=100,
                  ms_lower=0, ms_upper=1, p_inflate=0.5)

# Show the best individual structure at the last generation
final_tree.print_tree_representation()

# Get the prediction of the best individual on the test set
predictions = final_tree.predict(X_test)

# Compute and print the RMSE on the test set
print(float(rmse(y_true=y_test, y_pred=predictions)))
```

## Arguments for the *gp*, *gsgp* and *slim* function

### Common arguments
* `X_train` : A torch tensor with the training input data *(default: None)*.
* `y_train` : A torch tensor with the training output data *(default: None)*.
* `X_test` : A torch tensor with the testing input data *(default: None)*.
* `y_test` : A torch tensor with the testing output data *(default: None)*. 
* `dataset_name` : A string specifying how the results will be logged *(default: None)*.
* `pop_size` : An integer specifying the population size *(default: 100)*.
* `n_iter` : An integer specifying the number of iterations *(default: 1000)*.
* `elitism` : A boolean specifying the presence of elitism *(default: True)*.
* `n_elites` : An integer specifying the number of elites *(default: 1)*.
* `init_depth` : An integer specifying the initial depth of the GP tree 
  * *default: 6* for gp and slim
  * *default: 8* for gsgp
* `log_path` : A string specifying where the results are going to be saved 
  * *default: 
    ``` os.path.join(os.getcwd(), "log", "gp.csv")```* for slim
  * *default: 
    ``` os.path.join(os.getcwd(), "log", "gsgp.csv")```* for slim
  * *default: 
    ``` os.path.join(os.getcwd(), "log", "slim_gsgpcsv")```* for slim
* `seed`: An integer specifying the seed for randomness *(default: 1)*.
* `log_level`: An integer specifying the Level of detail to utilize in logging *(default: 1)*.
*  `verbose`: An integer specifying whether results are to be displayed on console *(default: 1)*.
*   `fitness_function`: A string specifying the fitness function that is to be used *(default: "rmse")*.
*   `initializer`: A string specifying the population initialization technique that is to be used *(default: "rhh")*.
*   `minimization`: A bool specifying whether the objective is to minimize the fitness function (True) or to maximize it (False) *(default: True)*.
*    `prob_const`: A float specifying the probability of a constant being chosen rather than a terminal in trees creation *(default: 0.2)*.
*    `tree_functions`: A list of strings with the names of the functions that are to be used in the trees *(default: \['add', 'subtract', 'multiply', 'divide'\])*.
*    `tree_constants`: A list of floats or integer values representing the constants that are allowed to appear in the trees *(default: \[2, 3, 4,5, -1\])*.
*    `tournament_size`: An int representing the tournament size to utilize during selection. *(default: 2)*.
*    `test_elite`: A bool representing whether to test the elite individual on the test set at each generation. *(default: True when X_test is not None)*.

### Specific for *gp*

* `p_xo` : A float specifying the crossover probability *(default: 0.8)*.
* `max_depth` : An integer specifying the maximum depth of the GP tree *(default: 17)*.

### Specific for *gsgp*
* `p_xo` : A float specifying the crossover probability *(default: 0.0)*.
* `ms_lower`: A float or int representing the lower bound for mutation step *(default: 0)*.
* `ms_upper`: A float or int representing the upper bound for mutation step *(default: 1)*.
* `reconstruct`: A bool specifying whether to store the structure of individuals. More computationally expensive, but allows usage outside the algorithm *(default: False)*.

### Specific for *slim*
* `slim_version`: A string specifying the version of SLIM-GSGP to run *(default: "SLIM+SIG2")*.
* `ms_lower`: A float or int representing the lower bound for mutation step *(default: 0)*.
*  `ms_upper`:  A float or int representing the upper bound for mutation step *(default: 1)*.
* `p_inflate`: A float specifying the probability to apply the inflate mutation *(default: 0.2)*.
* `reconstruct`: A bool specifying whether to store the structure of individuals. More computationally expensive, but allows usage outside the algorithm *(default: False)*.
*  `copy_parent`: A bool representing whether to copy the original parent when mutation is impossible (due to depth rules or mutation constraints). *(default: True)*.
*  `copy_parent`: A bool representing whether to copy the original parent when mutation is impossible (due to depth rules or mutation constraints). *(default: True)*.
*  

## Additional Notes

If a user wishes to use their own dataset rather than one of the sixteen benchmarking datasets included with the `slim` library, they can load their data into a Pandas DataFrame, ensuring that the target variable is the last column. They can then call the `load_pandas_df` function from `datasets.data_loader` as follows:

```python
from slim_gsgp.datasets.data_loader import load_pandas_df  # import the loader for the dataset PPB
import pandas as pd

# Reading the desired dataset
df = pd.read_csv("path/your_data.csv")

# Turning df into X and y torch.Tensors
X, y = load_pandas_df(df, X_y=True)

# Split into train and test sets
X_train, X_test, y_train, y_test = train_test_split(X, y, p_test=0.4)

# Split the test set into validation and test sets
X_val, X_test, y_val, y_test = t
```

## License

This libeary is [MIT licensed](https://github.com/DALabNOVA/slim?tab=MIT-1-ov-file).

The datasets provided are public. The table below specifies the source and license of each dataset.

| Datset                                            | Source                                                                | License                                                    |
|---------------------------------------------------|-----------------------------------------------------------------------|------------------------------------------------------------|
| airfoil                                           | https://archive.ics.uci.edu/dataset/291/airfoil+self+noise            | Creative Commons Attribution 4.0 International (CC BY 4.0) |
| bike sharing                                      | https://archive.ics.uci.edu/dataset/275/bike+sharing+dataset          | Creative Commons Attribution 4.0 International (CC BY 4.0) |
| bioavailability                                   | F. Archetti et al. (2007)*                                            | Creative Commons Attribution 4.0 International (CC BY 4.0) |
| breast cancer                                     | https://archive.ics.uci.edu/dataset/14/breast+cancer                  | Creative Commons Attribution 4.0 International (CC BY 4.0) |
| concrete slump                                    | http://archive.ics.uci.edu/dataset/182/concrete+slump+test            | Creative Commons Attribution 4.0 International (CC BY 4.0) |
| concrete strength (different number of instances) | https://archive.ics.uci.edu/dataset/165/concrete+compressive+strength | Creative Commons Attribution 4.0 International (CC BY 4.0) |
| diabetes                                          | https://www4.stat.ncsu.edu/~boos/var.select/diabetes.html             | CC0 License                                                |
| efficiency_cooling                                | https://archive.ics.uci.edu/dataset/242/energy+efficiency             | Creative Commons Attribution 4.0 International (CC BY 4.0) |
| efficiency_heating                                | https://archive.ics.uci.edu/dataset/242/energy+efficiency             | Creative Commons Attribution 4.0 International (CC BY 4.0) |
| forest_fires                                      | https://archive.ics.uci.edu/dataset/162/forest+fires                  | Creative Commons Attribution 4.0 International (CC BY 4.0) |
| istanbul                                          | https://archive.ics.uci.edu/dataset/247/istanbul+stock+exchange       | Creative Commons Attribution 4.0 International (CC BY 4.0) |
| ld50                                              | F. Archetti et al. (2007)*                                            | Creative Commons Attribution 4.0 International (CC BY 4.0) |
| parkinsons_total_UPDRS                            | https://archive.ics.uci.edu/dataset/189/parkinsons+telemonitoring     | Creative Commons Attribution 4.0 International (CC BY 4.0) |
| ppb                                               | F. Archetti et al. (2007)*                                            | Creative Commons Attribution 4.0 International (CC BY 4.0) |
| resid_build_sale_price                            | https://archive.ics.uci.edu/dataset/437/residential+building+data+set | Creative Commons Attribution 4.0 International (CC BY 4.0) |

*Archetti, F., Lanzeni, S., Messina, E., Vanneschi, L. (2007). Genetic Programming and Other Machine Learning Approaches to Predict Median Oral Lethal Dose (LD50) and Plasma Protein Binding Levels (%PPB) of Drugs. In: Marchiori, E., Moore, J.H., Rajapakse, J.C. (eds) Evolutionary Computation,Machine Learning and Data Mining in Bioinformatics. EvoBIO 2007. Lecture Notes in Computer Science, vol 4447. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-71783-6_2


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/DALabNOVA/slim",
    "name": "slim-gsgp",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Liah Rosenfeld, Davide Farinati, Diogo Rasteiro, Gloria Pietropolli, Karina Brotto Rebulli, Sara Silva, Leonardo Vanneschi",
    "author_email": "lrosenfeld@novaims.unl.pt, dfarinati@novaims.unl.pt, drasteiro@novaims.unl.pt, gloria.pietropolli@phd.units.it, karina.brottorebuli@unito.it, sgsilva@fc.ul.pt, lvanneschi@novaims.unl.pt",
    "download_url": "https://files.pythonhosted.org/packages/02/e6/3a0d7f4532370fe42d899e2d535e04991bcef8f33f4306756ae6c625068e/slim_gsgp-0.1.10.tar.gz",
    "platform": null,
    "description": "# SLIM (Semantic Learning algorithm based on Inflate and deflate Mutation)\r\n\r\n`slim_gsgp` is a Python library that implements the SLIM algorithm, which is a variant of the Geometric Semantic Genetic Programming (GSGP). This library includes functions for running standard Genetic Programming (GP), GSGP, and all developed versions of the SLIM algorithm. Users can specify the version of SLIM they wish to use and obtain results accordingly. Slim's documentation can be accessed in [Slim Documentation](https://slim-library.readthedocs.io/en/latest/).\r\n\r\n## Installation\r\n\r\nTo install the library, use the following command:\r\n```sh\r\npip install slim_gsgp\r\n```\r\n\r\n## Usage\r\n### Running GP \r\nTo use the GP algorithm, you can use the following example:\r\n\r\n```python\r\nfrom slim_gsgp.main_gp import gp  # import the slim_gsgp library\r\nfrom slim_gsgp.datasets.data_loader import load_ppb  # import the loader for the dataset PPB\r\nfrom slim_gsgp.evaluators.fitness_functions import rmse  # import the rmse fitness metric\r\nfrom slim_gsgp.utils.utils import train_test_split  # import the train-test split function\r\n\r\n# Load the PPB dataset\r\nX, y = load_ppb(X_y=True)\r\n\r\n# Split into train and test sets\r\nX_train, X_test, y_train, y_test = train_test_split(X, y, p_test=0.4)\r\n\r\n# Split the test set into validation and test sets\r\nX_val, X_test, y_val, y_test = train_test_split(X_test, y_test, p_test=0.5)\r\n\r\n# Apply the GP algorithm\r\nfinal_tree = gp(X_train=X_train, y_train=y_train,\r\n                X_test=X_val, y_test=y_val,\r\n                dataset_name='ppb', pop_size=100, n_iter=100)\r\n\r\n# Show the best individual structure at the last generation\r\nfinal_tree.print_tree_representation()\r\n\r\n# Get the prediction of the best individual on the test set\r\npredictions = final_tree.predict(X_test)\r\n\r\n# Compute and print the RMSE on the test set\r\nprint(float(rmse(y_true=y_test, y_pred=predictions)))\r\n```\r\n\r\n### Running standard GSGP \r\nTo use the GSGP algorithm, you can use the following example:\r\n\r\n```python\r\nfrom slim_gsgp.main_gsgp import gsgp  # import the slim_gsgp library\r\nfrom slim_gsgp.datasets.data_loader import load_ppb  # import the loader for the dataset PPB\r\nfrom slim_gsgp.evaluators.fitness_functions import rmse  # import the rmse fitness metric\r\nfrom slim_gsgp.utils.utils import train_test_split  # import the train-test split function\r\n\r\n\r\n# Load the PPB dataset\r\nX, y = load_ppb(X_y=True)\r\n\r\n# Split into train and test sets\r\nX_train, X_test, y_train, y_test = train_test_split(X, y, p_test=0.4)\r\n\r\n# Split the test set into validation and test sets\r\nX_val, X_test, y_val, y_test = train_test_split(X_test, y_test, p_test=0.5)\r\n\r\n# Apply the Standard GSGP algorithm\r\nfinal_tree = gsgp(X_train=X_train, y_train=y_train,\r\n                  X_test=X_val, y_test=y_val,\r\n                  dataset_name='ppb', pop_size=100, n_iter=100,\r\n                  reconstruct=True, ms_lower=0, ms_upper=1)\r\n\r\n# Get the prediction of the best individual on the test set\r\npredictions = final_tree.predict(X_test)\r\n\r\n# Compute and print the RMSE on the test set\r\nprint(float(rmse(y_true=y_test, y_pred=predictions)))\r\n```\r\n\r\n### Running SLIM \r\nTo use the SLIM GSGP algorithm, you can use the following example:\r\n\r\n```python\r\nfrom slim_gsgp.main_slim import slim  # import the slim_gsgp library\r\nfrom slim_gsgp.datasets.data_loader import load_ppb  # import the loader for the dataset PPB\r\nfrom slim_gsgp.evaluators.fitness_functions import rmse  # import the rmse fitness metric\r\nfrom slim_gsgp.utils.utils import train_test_split  # import the train-test split function\r\n\r\n# Load the PPB dataset\r\nX, y = load_ppb(X_y=True)\r\n\r\n# Split into train and test sets\r\nX_train, X_test, y_train, y_test = train_test_split(X, y, p_test=0.4)\r\n\r\n# Split the test set into validation and test sets\r\nX_val, X_test, y_val, y_test = train_test_split(X_test, y_test, p_test=0.5)\r\n\r\n# Apply the SLIM GSGP algorithm\r\nfinal_tree = slim(X_train=X_train, y_train=y_train,\r\n                  X_test=X_val, y_test=y_val,\r\n                  dataset_name='ppb', slim_version='SLIM+SIG2', pop_size=100, n_iter=100,\r\n                  ms_lower=0, ms_upper=1, p_inflate=0.5)\r\n\r\n# Show the best individual structure at the last generation\r\nfinal_tree.print_tree_representation()\r\n\r\n# Get the prediction of the best individual on the test set\r\npredictions = final_tree.predict(X_test)\r\n\r\n# Compute and print the RMSE on the test set\r\nprint(float(rmse(y_true=y_test, y_pred=predictions)))\r\n```\r\n\r\n## Arguments for the *gp*, *gsgp* and *slim* function\r\n\r\n### Common arguments\r\n* `X_train` : A torch tensor with the training input data *(default: None)*.\r\n* `y_train` : A torch tensor with the training output data *(default: None)*.\r\n* `X_test` : A torch tensor with the testing input data *(default: None)*.\r\n* `y_test` : A torch tensor with the testing output data *(default: None)*. \r\n* `dataset_name` : A string specifying how the results will be logged *(default: None)*.\r\n* `pop_size` : An integer specifying the population size *(default: 100)*.\r\n* `n_iter` : An integer specifying the number of iterations *(default: 1000)*.\r\n* `elitism` : A boolean specifying the presence of elitism *(default: True)*.\r\n* `n_elites` : An integer specifying the number of elites *(default: 1)*.\r\n* `init_depth` : An integer specifying the initial depth of the GP tree \r\n  * *default: 6* for gp and slim\r\n  * *default: 8* for gsgp\r\n* `log_path` : A string specifying where the results are going to be saved \r\n  * *default: \r\n    ``` os.path.join(os.getcwd(), \"log\", \"gp.csv\")```* for slim\r\n  * *default: \r\n    ``` os.path.join(os.getcwd(), \"log\", \"gsgp.csv\")```* for slim\r\n  * *default: \r\n    ``` os.path.join(os.getcwd(), \"log\", \"slim_gsgpcsv\")```* for slim\r\n* `seed`: An integer specifying the seed for randomness *(default: 1)*.\r\n* `log_level`: An integer specifying the Level of detail to utilize in logging *(default: 1)*.\r\n*  `verbose`: An integer specifying whether results are to be displayed on console *(default: 1)*.\r\n*   `fitness_function`: A string specifying the fitness function that is to be used *(default: \"rmse\")*.\r\n*   `initializer`: A string specifying the population initialization technique that is to be used *(default: \"rhh\")*.\r\n*   `minimization`: A bool specifying whether the objective is to minimize the fitness function (True) or to maximize it (False) *(default: True)*.\r\n*    `prob_const`: A float specifying the probability of a constant being chosen rather than a terminal in trees creation *(default: 0.2)*.\r\n*    `tree_functions`: A list of strings with the names of the functions that are to be used in the trees *(default: \\['add', 'subtract', 'multiply', 'divide'\\])*.\r\n*    `tree_constants`: A list of floats or integer values representing the constants that are allowed to appear in the trees *(default: \\[2, 3, 4,5, -1\\])*.\r\n*    `tournament_size`: An int representing the tournament size to utilize during selection. *(default: 2)*.\r\n*    `test_elite`: A bool representing whether to test the elite individual on the test set at each generation. *(default: True when X_test is not None)*.\r\n\r\n### Specific for *gp*\r\n\r\n* `p_xo` : A float specifying the crossover probability *(default: 0.8)*.\r\n* `max_depth` : An integer specifying the maximum depth of the GP tree *(default: 17)*.\r\n\r\n### Specific for *gsgp*\r\n* `p_xo` : A float specifying the crossover probability *(default: 0.0)*.\r\n* `ms_lower`: A float or int representing the lower bound for mutation step *(default: 0)*.\r\n* `ms_upper`: A float or int representing the upper bound for mutation step *(default: 1)*.\r\n* `reconstruct`: A bool specifying whether to store the structure of individuals. More computationally expensive, but allows usage outside the algorithm *(default: False)*.\r\n\r\n### Specific for *slim*\r\n* `slim_version`: A string specifying the version of SLIM-GSGP to run *(default: \"SLIM+SIG2\")*.\r\n* `ms_lower`: A float or int representing the lower bound for mutation step *(default: 0)*.\r\n*  `ms_upper`:  A float or int representing the upper bound for mutation step *(default: 1)*.\r\n* `p_inflate`: A float specifying the probability to apply the inflate mutation *(default: 0.2)*.\r\n* `reconstruct`: A bool specifying whether to store the structure of individuals. More computationally expensive, but allows usage outside the algorithm *(default: False)*.\r\n*  `copy_parent`: A bool representing whether to copy the original parent when mutation is impossible (due to depth rules or mutation constraints). *(default: True)*.\r\n*  `copy_parent`: A bool representing whether to copy the original parent when mutation is impossible (due to depth rules or mutation constraints). *(default: True)*.\r\n*  \r\n\r\n## Additional Notes\r\n\r\nIf a user wishes to use their own dataset rather than one of the sixteen benchmarking datasets included with the `slim` library, they can load their data into a Pandas DataFrame, ensuring that the target variable is the last column. They can then call the `load_pandas_df` function from `datasets.data_loader` as follows:\r\n\r\n```python\r\nfrom slim_gsgp.datasets.data_loader import load_pandas_df  # import the loader for the dataset PPB\r\nimport pandas as pd\r\n\r\n# Reading the desired dataset\r\ndf = pd.read_csv(\"path/your_data.csv\")\r\n\r\n# Turning df into X and y torch.Tensors\r\nX, y = load_pandas_df(df, X_y=True)\r\n\r\n# Split into train and test sets\r\nX_train, X_test, y_train, y_test = train_test_split(X, y, p_test=0.4)\r\n\r\n# Split the test set into validation and test sets\r\nX_val, X_test, y_val, y_test = t\r\n```\r\n\r\n## License\r\n\r\nThis libeary is [MIT licensed](https://github.com/DALabNOVA/slim?tab=MIT-1-ov-file).\r\n\r\nThe datasets provided are public. The table below specifies the source and license of each dataset.\r\n\r\n| Datset                                            | Source                                                                | License                                                    |\r\n|---------------------------------------------------|-----------------------------------------------------------------------|------------------------------------------------------------|\r\n| airfoil                                           | https://archive.ics.uci.edu/dataset/291/airfoil+self+noise            | Creative Commons Attribution 4.0 International (CC BY 4.0) |\r\n| bike sharing                                      | https://archive.ics.uci.edu/dataset/275/bike+sharing+dataset          | Creative Commons Attribution 4.0 International (CC BY 4.0) |\r\n| bioavailability                                   | F. Archetti et al. (2007)*                                            | Creative Commons Attribution 4.0 International (CC BY 4.0) |\r\n| breast cancer                                     | https://archive.ics.uci.edu/dataset/14/breast+cancer                  | Creative Commons Attribution 4.0 International (CC BY 4.0) |\r\n| concrete slump                                    | http://archive.ics.uci.edu/dataset/182/concrete+slump+test            | Creative Commons Attribution 4.0 International (CC BY 4.0) |\r\n| concrete strength (different number of instances) | https://archive.ics.uci.edu/dataset/165/concrete+compressive+strength | Creative Commons Attribution 4.0 International (CC BY 4.0) |\r\n| diabetes                                          | https://www4.stat.ncsu.edu/~boos/var.select/diabetes.html             | CC0 License                                                |\r\n| efficiency_cooling                                | https://archive.ics.uci.edu/dataset/242/energy+efficiency             | Creative Commons Attribution 4.0 International (CC BY 4.0) |\r\n| efficiency_heating                                | https://archive.ics.uci.edu/dataset/242/energy+efficiency             | Creative Commons Attribution 4.0 International (CC BY 4.0) |\r\n| forest_fires                                      | https://archive.ics.uci.edu/dataset/162/forest+fires                  | Creative Commons Attribution 4.0 International (CC BY 4.0) |\r\n| istanbul                                          | https://archive.ics.uci.edu/dataset/247/istanbul+stock+exchange       | Creative Commons Attribution 4.0 International (CC BY 4.0) |\r\n| ld50                                              | F. Archetti et al. (2007)*                                            | Creative Commons Attribution 4.0 International (CC BY 4.0) |\r\n| parkinsons_total_UPDRS                            | https://archive.ics.uci.edu/dataset/189/parkinsons+telemonitoring     | Creative Commons Attribution 4.0 International (CC BY 4.0) |\r\n| ppb                                               | F. Archetti et al. (2007)*                                            | Creative Commons Attribution 4.0 International (CC BY 4.0) |\r\n| resid_build_sale_price                            | https://archive.ics.uci.edu/dataset/437/residential+building+data+set | Creative Commons Attribution 4.0 International (CC BY 4.0) |\r\n\r\n*Archetti, F., Lanzeni, S., Messina, E., Vanneschi, L. (2007). Genetic Programming and Other Machine Learning Approaches to Predict Median Oral Lethal Dose (LD50) and Plasma Protein Binding Levels (%PPB) of Drugs. In: Marchiori, E., Moore, J.H., Rajapakse, J.C. (eds) Evolutionary Computation,Machine Learning and Data Mining in Bioinformatics. EvoBIO 2007. Lecture Notes in Computer Science, vol 4447. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-71783-6_2\r\n\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Semantic Learning algorithm based on Inflate and deflate Mutation (SLIM GSGP)",
    "version": "0.1.10",
    "project_urls": {
        "Homepage": "https://github.com/DALabNOVA/slim"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1cf56c707b12e747e19a73540b5af0d14bb8a689e79297d279c42bc4b245d11f",
                "md5": "e9995a48e109b922547ff729da34ac57",
                "sha256": "0293520d901ee80e4f734f3aadf178cf7a164717065fc9717b4fb768f582c545"
            },
            "downloads": -1,
            "filename": "slim_gsgp-0.1.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e9995a48e109b922547ff729da34ac57",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 1143308,
            "upload_time": "2024-10-10T22:01:21",
            "upload_time_iso_8601": "2024-10-10T22:01:21.302073Z",
            "url": "https://files.pythonhosted.org/packages/1c/f5/6c707b12e747e19a73540b5af0d14bb8a689e79297d279c42bc4b245d11f/slim_gsgp-0.1.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "02e63a0d7f4532370fe42d899e2d535e04991bcef8f33f4306756ae6c625068e",
                "md5": "0919395cd6e7c030781f57014945d406",
                "sha256": "a97d533aa4d61b0f357784ae0a17f45592376be9765bc8ecdd879ae9e566d968"
            },
            "downloads": -1,
            "filename": "slim_gsgp-0.1.10.tar.gz",
            "has_sig": false,
            "md5_digest": "0919395cd6e7c030781f57014945d406",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 1083689,
            "upload_time": "2024-10-10T22:01:23",
            "upload_time_iso_8601": "2024-10-10T22:01:23.431632Z",
            "url": "https://files.pythonhosted.org/packages/02/e6/3a0d7f4532370fe42d899e2d535e04991bcef8f33f4306756ae6c625068e/slim_gsgp-0.1.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-10 22:01:23",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DALabNOVA",
    "github_project": "slim",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "numpy",
            "specs": [
                [
                    "==",
                    "1.26.4"
                ]
            ]
        },
        {
            "name": "pandas",
            "specs": [
                [
                    "==",
                    "2.2.1"
                ]
            ]
        },
        {
            "name": "torch",
            "specs": [
                [
                    "==",
                    "2.2.1"
                ]
            ]
        },
        {
            "name": "joblib",
            "specs": [
                [
                    "==",
                    "1.4.2"
                ]
            ]
        }
    ],
    "lcname": "slim-gsgp"
}
        
Elapsed time: 0.42195s