Skip to content
This repository has been archived by the owner on May 28, 2023. It is now read-only.

Commit

Permalink
README Pimped Up + Sension insights correction on recommendations
Browse files Browse the repository at this point in the history
  • Loading branch information
percymamedy committed May 13, 2017
1 parent 98e1774 commit 8a8e4b1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<h2 align="center">
<p align="center">
<img src="https://raw.githubusercontent.com/findbrok/art-work/master/packages/laravel-tradeoff-analytics/laravel-tradeoff-analytics.png">
</p>

<h2 align="center">
Laravel 5 Tradeoff Analytics
</h2>

Expand All @@ -13,21 +17,18 @@
</p>

## Introduction

Laravel 5 Tradeoff Analytics is a simple Laravel 5 wrapper around
[IBM Watson Tradeoff Analytics API](http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/tradeoff-analytics.html)

## License
Laravel 5 Tradeoff Analytics is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

### How it works

Tradeoff Analytics is a Watson service that helps people make decisions when balancing multiple objectives.
The service uses a mathematical filtering technique called “Pareto Optimization,” that enables users
to explore tradeoffs when considering multiple criteria for a single decision.

### Intended Use

Tradeoff Analytics can help bank analysts or wealth managers select the best investment strategy
based on performance attributes, risk, and cost. It can help consumers purchase the product
that best matches their preferences based on attributes like features, price, or
Expand All @@ -36,7 +37,6 @@ most suitable treatment based on multiple criteria such as success
rate, effectiveness, or adverse effects.

### Installation

Install the package through composer

```bash
Expand All @@ -56,31 +56,31 @@ in ```config/app.php```, see [Registering Providers](https://laravel.com/docs/ma

```php
'providers' => [
// Other Service Providers

// Other Service Providers...
FindBrok\WatsonBridge\WatsonBridgeServiceProvider::class,
FindBrok\TradeoffAnalytics\TradeoffAnalyticsServiceProvider::class,
]
```

## Configuration
### Configuration
Once installed you can now publish your config file and set your correct configuration for using the package:

Once installed you can now publish your config file and set your correct configuration for using the package.
```bash
$ php artisan vendor:publish --tag="watson-api-bridge"
```
```bash
$ php artisan vendor:publish --tag="watson-tradeoff-analytics"
```

This will create the files ```config/watson-bridge.php``` and ```config/tradeoff-analytics.php``` respectively

## Usage
This will create the files ```config/watson-bridge.php``` and ```config/tradeoff-analytics.php``` respectively.

### Usage
Read the [docs](https://github.com/findbrok/laravel-tradeoff-analytics/wiki)

## Credits

### Credits
Big Thanks to all developers who worked hard to create something amazing!

### Creator
[![Percy Mamedy](https://img.shields.io/badge/Author-Percy%20Mamedy-orange.svg)](https://twitter.com/PercyMamedy)

Twitter: [@PercyMamedy](https://twitter.com/PercyMamedy)
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Resolution/Resolution.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function findSolution($solutionRef)
}

// Search for the solution key.
$solutionKey = $this->solutions->search(function ($item) use ($solutionRef) {
$solutionKey = $this->solutions->search(function (Solution $item) use ($solutionRef) {
return $item->solution_ref == $solutionRef;
});

Expand Down

0 comments on commit 8a8e4b1

Please sign in to comment.