semvec/pypi-packages huggingface dataset:
sklearn-linear-model-modification 0.0.11
Wraps sklearn linear_model regression functions to allow Drop1, Add1, and VIF calculations

# SKLearn Linear Model Modification

This class should act exactly like sklearn linear model to solve regression problems with the benefit of being able to use drop1 and add1 based on AIC.


## Installation

Run the following to install:

```python
pip install sklearn_linear_model_modification
```

## Usage

```
import pandas as pd
from sklearn_linear_model_modification import LinearRegression, Add1LinearRegression, Drop1LinearRegression
from sklearn_linear_model_modification import Lasso, Add1Lasso, Drop1Lasso
from sklearn_linear_model_modification import ElasticNet, Add1ElasticNet, Drop1ElasticNet
from sklearn_linear_model_modification import Ridge, Add1Ridge, Drop1Ridge

def load_Xy():
    data = load_boston()
    X = pd.DataFrame( data['data'], columns=data['feature_names'] )
    y = data['target']
    return X, y



X, y = load_Xy()

lmod = Ridge()
lmod.fit(X, y)

lmod = Lasso()
lmod.fit(X, y)

lmod = ElasticNet()
lmod.fit(X, y)

lmod = LinearRegression()
lmod.fit(X, y)


lmod = Add1Ridge()
lmod.fit(X, y)

lmod = Add1Lasso()
lmod.fit(X, y)

lmod = Add1ElasticNet()
lmod.fit(X, y)

lmod = Add1LinearRegression()
lmod.fit(X, y)

lmod = Drop1Ridge()
lmod.fit(X, y)

lmod = Drop1Lasso()
lmod.fit(X, y)

lmod = Drop1ElasticNet()
lmod.fit(X, y)

lmod = Drop1LinearRegression()
lmod.fit(X, y)
```

## Development sklearn_linear_model_modification

To install sklearn_linear_model_modification, along with the tools you need to develop and run tests, run the following in your virtualend:
```bash
$ pip install -e .[dev]
```
htmltools-hcn1z1 0.0.2
A small package to convert html file to entities
Requires Python: >=3.4

# html-entities
a python lib to encode a whole html src code into entities

# about
have you ever wondered how to convert a whole html script to entities and yeah still everything works so fine? yes, this small module will help you to achieve your needs.

before using the script. please consider reading **rules** section to provide successful convertion from ASCII to entities.

# requirements
- python 3.x
- bs4 (Beautiful Soup 4)

# usage
```
from htmltools.entities import Encrypter,EncryptionHardOne
html = "some html here"
encryptContentOnly = Enctypter(html)
html = encryptContentOnly.encodingLetter()
encryptWholeScript = EncryptionHardOne(html)
html = encryptWholeScript.encodingLetterX()
```
# rules
before encoding the whole letter, please follow the next rules i setted myself:
- remove any unnecessary **#**, it breaks the encryption, for example: **href="#"**.
- consider removing <style> Content </style> and add it after encryption to make the encryption works.
- always use base64 or email-embedded images instead of urls.
- if an image doesnt work when embedded to base64, please remove it from source code then add it later.