InsightSolver offers rule-based insights generation for actionable data-driven decisions.
Project description
InsightSolver
InsightSolver is a solution for advanced data insights powered by a centralized cloud-based rule-mining engine. It enables organizations to uncover hidden patterns, generate actionable insights, and make smarter data-driven decisions. This repository hosts the Python-based InsightSolver API client.
🚀 Getting started
To get started, you need the following:
- The
insightsolverPython module installed. - A service key.
- Credits to use the API.
🛠️ Installation
You can install the insightsolver Python module directly from PyPI:
pip install insightsolver
Or for the latest development version from GitHub:
pip install git+https://github.com/insightsolver/insightsolver.git
⚡ Quick start
# Import data
import pandas as pd
df = pd.read_csv('kaggle_titanic_train.csv',index_col='PassengerId')
# Declare a solver
from insightsolver import InsightSolver
solver = InsightSolver(
df = df,
target_name = 'Survived',
target_goal = 1,
)
# Fit the solver
solver.fit(
service_key = 'your_service_key.json',
)
# Print the result
solver.print()
# Plot the result
solver.plot()
A demo can also be found in here
💳 Credit Consumption
The API charges usage based on the size of the dataset you submit. The number of credits is calculated as:
credits = ceil(m * n / 10000)
where:
mis the number of rows (excluding the header),nis the number of feature columns (excluding the index column, the target column and other ignored columns),ceilis the mathematical ceiling function (rounds up to the next integer).
Here are some examples:
Rows (m) |
Columns (n) |
Computation | Credits Charged |
|---|---|---|---|
| 1000 | 10 | ceil(1000*10/10000) | 1 |
| 10000 | 25 | ceil(10000*25/10000) | 25 |
| 20000 | 100 | ceil(20000*100/10000) | 200 |
For reference, the Titanic training dataset from Kaggle has m=891 rows and n=9 feature columns (excluding
PassengerIdandSurvived), which results in:ceil(891 * 9 / 10000) = 1 creditSo you can think of 1 credit as roughly "one Titanic" in size.
Tips to reduce credit usage:
- Remove unused or irrelevant columns or set them to
'ignore', - Filter the rows of the dataset,
- Samples the rows of the dataset.
📚 Documentation
Comprehensive technical documentation for the insightsolver module is available here:
📄 Changelog
Here you'll find the changelog.
📦 Dependencies
- Python 3.9 or higher
- pandas, numpy, requests, google-auth, cryptography, mpmath, etc..
⚖️ License
The InsightSolver API client library is licensed under the Apache License 2.0:
- You can use, modify, and redistribute it freely in your projects, including commercial ones.
- This software is provided ‘as-is’, without warranty of any kind, express or implied, including but not limited to merchantability or fitness for a particular purpose.
See the full LICENSE file for details.
Note: The InsightSolver API server is proprietary and requires a valid subscription to use. The InsightSolver API client library provides a client interface only; usage of the server is subject to our terms of service.
🗃️ Third-Party Licenses
The client-side API module (installable via pip) uses third-party open-source Python packages.
To ensure transparency and comply with licensing requirements, we provide a complete list of these dependencies in THIRD_PARTY_LICENSES.csv. The file includes:
- Package name and version
- License type
- Link to the package’s source or homepage
All third-party libraries are used unmodified and installed directly from PyPI.
This information is provided to help users and organizations verify compliance with open-source licenses when integrating the client library into their projects.
🤝 Contact
- Email support@insightsolver.com
- Official website: insightsolver.com
- GitHub website: insightsolver.github.io
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file insightsolver-0.1.83.tar.gz.
File metadata
- Download URL: insightsolver-0.1.83.tar.gz
- Upload date:
- Size: 364.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58be0f373f871da1a5a1aa28b007c2bbf6e098dd71770807070fa4226f3f1835
|
|
| MD5 |
7c66be904d38d198a21f599879436237
|
|
| BLAKE2b-256 |
1c3cd8445bf52b643cf9f282f31c81f2f1aebe4e7bfbe5fe3bdfac4f7fd7b654
|
File details
Details for the file insightsolver-0.1.83-py3-none-any.whl.
File metadata
- Download URL: insightsolver-0.1.83-py3-none-any.whl
- Upload date:
- Size: 363.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c28cdee93eb8abef8bd11b3122f4a60553570174c40ad0de3845674b92d1e6bc
|
|
| MD5 |
5d51ae76d8d12586586f6a32100b08d6
|
|
| BLAKE2b-256 |
e8f92dc72756174c706c4c632c0ded74fc5677aa12df62acc702f2243f25b67a
|