Categories

Marketing Fintech

Developer

Image Description
provider1

Prediction Salaries Image Description Pro

Details

een the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but als
  • 0.85
    Regression: R2= Coefficient of determination
  • Image Description
    Shape (12345, 12)
  • Image Description
    Verified

Data Source

een the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but als

Use Cases

een the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but als

External API Docs

This API has no external reference documentation

Notebook


Show Complete Notebook

Endpoints (2)

Title:
Endpoint #1 Predict Salary

Description:
een the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but als

Response
data scientist salary in US dollars

Base URL:
https://dataendpoint.co/machine-learning-apis/prediction-salaries/post-api
Requests:
# POST /simple-salary/predict/<token>
Token:
every API have unique token. You'll get one once you activate the endpoint

Body parameters:
1

Body parameter name Body parameter type Example Requirement
years_of_experience NUMBER 3 [Required]


Code Examples:

const axios = require('axios');
axios({
"method": "POST",
"url": "https://dataendpoint.co/machine-learning-apis/prediction-salaries/post-api/simple-salary/predict/<token>",
"data": { "years_of_experience": 3 }
"headers": {
"content-type": "application/json"
}
}).then((response) => {
// handle sucess
console.log(response)
}).catch((error) => {
// handle error
console.log(error)
})
import requests
url = "https://dataendpoint.co/machine-learning-apis/prediction-salaries/post-api/simple-salary/predict/<token>"
data = { "years_of_experience": 3 }
headers = {
"content-type": "application/json"
}
response = requests.request("POST", url, data=data, headers=headers)
print (response.text)
require 'httparty'
url = "https://dataendpoint.co/machine-learning-apis/prediction-salaries/post-api/simple-salary/predict/<token>",
data = { "years_of_experience" => 3 }
response = HTTParty.post(url,
body: data.to_json,
headers: { "Content-Type" => "application/json" })
puts response.parsed_response
<?php
$curl = curl_init();
$url = "https://dataendpoint.co/machine-learning-apis/prediction-salaries/post-api/simple-salary/predict/<token>";
curl_setopt_array($curl, array(
CURLOPT_URL => $url,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "
{ "years_of_experience": 3 }
",
CURLOPT_HTTPHEADER => array(
"Content-Type: application/json"
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
Example responses
Enter next parameters to test endpoint response

Enter parameters

 

Title:
Endpoint #2 Predict Salary

Description:
een the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but als

Response
coefficients and interceptions of all data points

Base URL:
https://dataendpoint.co/machine-learning-apis/prediction-salaries/get-api
Requests:
# GET /simple-salary/current-details/<token>
Token:
every API have unique token. You'll get one once you activate the endpoint

Example responses
Press button to test this endpoint response

 


Code Examples:

const axios = require('axios');
axios({
"method": "GET",
"url": "https://dataendpoint.co/machine-learning-apis/prediction-salaries/get-api/simple-salary/current-details/<token>",
"headers": {
"content-type": "application/json"
}
}).then((response) => {
// handle sucess
console.log(response)
}).catch((error) => {
// handle error
console.log(error)
})
import requests
url = "https://dataendpoint.co/machine-learning-apis/prediction-salaries/get-api/simple-salary/current-details/<token>"
headers = {
"content-type": "application/json"
}
response = requests.request("GET", url, headers=headers)
print (response.text)
require 'httparty'
url = "https://dataendpoint.co/machine-learning-apis/prediction-salaries/get-api/simple-salary/current-details/<token>",
response = HTTParty.get(url,
headers: { "Content-Type" => "application/json" })
puts response.parsed_response
<?php
$curl = curl_init();
$url = "https://dataendpoint.co/machine-learning-apis/prediction-salaries/get-api/simple-salary/current-details/<token>";
curl_setopt_array($curl, array(
CURLOPT_URL => $url,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"Content-Type: application/json"
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;

Related Apps

View More