Actions, resources, and condition keys for Amazon Pinpoint
Amazon Pinpoint (service prefix:
mobiletargeting
) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.
References:
-
Learn how to configure this service .
-
View a list of the API operations available for this service .
-
Learn how to secure this service and its resources by using IAM permission policies.
Topics
Actions defined by Amazon Pinpoint
You can specify the following actions in the
Action
element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.
The
Resource types
column of the Actions table indicates whether each action supports resource-level permissions. If there is no value for this column, you must specify all resources ("*") to which the policy applies in the
Resource
element of your policy statement. If the column includes a resource type, then you can specify an ARN of that type in a statement with that action. If the action has one or more required resources, the caller must have permission to use the action with those resources. Required resources are indicated in the table with an asterisk (*). If you limit resource access with the
Resource
element in an IAM policy, you must include an ARN or pattern for each required resource type. Some actions support multiple resource types. If the resource type is optional (not indicated as required), then you can choose to use one of the optional resource types.
The
Condition keys
column of the Actions table includes keys that you can specify in a policy statement's
Condition
element. For more information on the condition keys that are associated with resources for the service, see the
Condition keys
column of the Resource types table.
For details about the columns in the following table, see Actions table .
| Actions | Description | Access level | Resource types (*required) | Condition keys | Dependent actions |
|---|---|---|---|---|---|
| CreateApp | Grants permission to create an app | Write | |||
| CreateCampaign | Grants permission to create a campaign for an app | Write | |||
| CreateEmailTemplate | Grants permission to create an email template | Write | |||
| CreateExportJob | Grants permission to create an export job that exports endpoint definitions to Amazon S3 | Write | |||
| CreateImportJob | Grants permission to import endpoint definitions from to create a segment | Write | |||
| CreateInAppTemplate | Grants permission to create an in-app message template | Write | |||
| CreateJourney | Grants permission to create a Journey for an app | Write | |||
| CreatePushTemplate | Grants permission to create a push notification template | Write | |||
| CreateRecommenderConfiguration | Grants permission to create an Amazon Pinpoint configuration for a recommender model | Write | |||
| CreateSegment | Grants permission to create a segment that is based on endpoint data reported to Pinpoint by your app. To allow a user to create a segment by importing endpoint data from outside of Pinpoint, allow the mobiletargeting:CreateImportJob action | Write | |||
| CreateSmsTemplate | Grants permission to create an sms message template | Write | |||
| CreateVoiceTemplate | Grants permission to create a voice message template | Write | |||
| DeleteAdmChannel | Grants permission to delete the ADM channel for an app | Write | |||
| DeleteApnsChannel | Grants permission to delete the APNs channel for an app | Write | |||
| DeleteApnsSandboxChannel | Grants permission to delete the APNs sandbox channel for an app | Write | |||
| DeleteApnsVoipChannel | Grants permission to delete the APNs VoIP channel for an app | Write | |||
| DeleteApnsVoipSandboxChannel | Grants permission to delete the APNs VoIP sandbox channel for an app | Write | |||
| DeleteApp | Grants permission to delete a specific campaign | Write | |||
| DeleteBaiduChannel | Grants permission to delete the Baidu channel for an app | Write | |||
| DeleteCampaign | Grants permission to delete a specific campaign | Write | |||
| DeleteEmailChannel | Grants permission to delete the email channel for an app | Write | |||
| DeleteEmailTemplate | Grants permission to delete an email template or an email template version | Write | |||
| DeleteEndpoint | Grants permission to delete an endpoint | Write | |||
| DeleteEventStream | Grants permission to delete the event stream for an app | Write | |||
| DeleteGcmChannel | Grants permission to delete the GCM channel for an app | Write | |||
| DeleteInAppTemplate | Grants permission to delete an in-app message template or an in-app message template version | Write | |||
| DeleteJourney | Grants permission to delete a specific journey | Write | |||
| DeletePushTemplate | Grants permission to delete a push notification template or a push notification template version | Write | |||
| DeleteRecommenderConfiguration | Grants permission to delete an Amazon Pinpoint configuration for a recommender model | Write | |||
| DeleteSegment | Grants permission to delete a specific segment | Write | |||
| DeleteSmsChannel | Grants permission to delete the SMS channel for an app | Write | |||
| DeleteSmsTemplate | Grants permission to delete an sms message template or an sms message template version | Write | |||
| DeleteUserEndpoints | Grants permission to delete all of the endpoints that are associated with a user ID | Write | |||
| DeleteVoiceChannel | Grants permission to delete the Voice channel for an app | Write | |||
| DeleteVoiceTemplate | Grants permission to delete a voice message template or a voice message template version | Write | |||
| GetAdmChannel | Grants permission to retrieve information about the Amazon Device Messaging (ADM) channel for an app | Read | |||
| GetApnsChannel | Grants permission to retrieve information about the APNs channel for an app | Read | |||
| GetApnsSandboxChannel | Grants permission to retrieve information about the APNs sandbox channel for an app | Read | |||
| GetApnsVoipChannel | Grants permission to retrieve information about the APNs VoIP channel for an app | Read | |||
| GetApnsVoipSandboxChannel | Grants permission to retrieve information about the APNs VoIP sandbox channel for an app | Read | |||
| GetApp | Grants permission to retrieve information about a specific app in your Amazon Pinpoint account | Read | |||
| GetApplicationDateRangeKpi | Grants permission to retrieve (queries) pre-aggregated data for a standard metric that applies to an application | Read | |||
| GetApplicationSettings | Grants permission to retrieve the default settings for an app | List | |||
| GetApps | Grants permission to retrieve a list of apps in your Amazon Pinpoint account | Read | |||
| GetBaiduChannel | Grants permission to retrieve information about the Baidu channel for an app | Read | |||
| GetCampaign | Grants permission to retrieve information about a specific campaign | Read | |||
| GetCampaignActivities | Grants permission to retrieve information about the activities performed by a campaign | List | |||
| GetCampaignDateRangeKpi | Grants permission to retrieve (queries) pre-aggregated data for a standard metric that applies to a campaign | Read | |||
| GetCampaignVersion | Grants permission to retrieve information about a specific campaign version | Read | |||
| GetCampaignVersions | Grants permission to retrieve information about the current and prior versions of a campaign | List | |||
| GetCampaigns | Grants permission to retrieve information about all campaigns for an app | List | |||
| GetChannels | Grants permission to get all channels information for your app | List | |||
| GetEmailChannel | Grants permission to obtain information about the email channel in an app | Read | |||
| GetEmailTemplate | Grants permission to retrieve information about a specific or the active version of an email template | Read | |||
| GetEndpoint | Grants permission to retrieve information about a specific endpoint | Read | |||
| GetEventStream | Grants permission to retrieve information about the event stream for an app | Read | |||
| GetExportJob | Grants permission to obtain information about a specific export job | Read | |||
| GetExportJobs | Grants permission to retrieve a list of all of the export jobs for an app | List | |||
| GetGcmChannel | Grants permission to retrieve information about the GCM channel for an app | Read | |||
| GetImportJob | Grants permission to retrieve information about a specific import job | Read | |||
| GetImportJobs | Grants permission to retrieve information about all import jobs for an app | List | |||
| GetInAppMessages | Grants permission to retrive in-app messages for the given endpoint id | Read | |||
| GetInAppTemplate | Grants permission to retrieve information about a specific or the active version of an in-app message template | Read | |||
| GetJourney | Grants permission to retrieve information about a specific journey | Read | |||
| GetJourneyDateRangeKpi | Grants permission to retrieve (queries) pre-aggregated data for a standard engagement metric that applies to a journey | Read | |||
| GetJourneyExecutionActivityMetrics | Grants permission to retrieve (queries) pre-aggregated data for a standard execution metric that applies to a journey activity | Read | |||
| GetJourneyExecutionMetrics | Grants permission to retrieve (queries) pre-aggregated data for a standard execution metric that applies to a journey | Read | |||
| GetJourneyRunExecutionActivityMetrics | Grants permission to retrieve (queries) pre-aggregated data for a standard execution metric that applies to a journey activity for a single journey run | Read | |||
| GetJourneyRunExecutionMetrics | Grants permission to retrieve (queries) pre-aggregated data for a standard execution metric that applies to a journey for a single journey run | Read | |||
| GetJourneyRuns | Grants permission to retrieve information about all journey runs for a journey | List | |||
| GetPushTemplate | Grants permission to retrieve information about a specific or the active version of an push notification template | Read | |||
| GetRecommenderConfiguration | Grants permission to retrieve information about an Amazon Pinpoint configuration for a recommender model | Read | |||
| GetRecommenderConfigurations | Grants permission to retrieve information about all the recommender model configurations that are associated with an Amazon Pinpoint account | List | |||
| GetReports [permission only] | Grants permission to mobiletargeting:GetReports | Read | |||
| GetSegment | Grants permission to retrieve information about a specific segment | Read | |||
| GetSegmentExportJobs | Grants permission to retrieve information about jobs that export endpoint definitions from segments to Amazon S3 | List | |||
| GetSegmentImportJobs | Grants permission to retrieve information about jobs that create segments by importing endpoint definitions from | List | |||
| GetSegmentVersion | Grants permission to retrieve information about a specific segment version | Read | |||
| GetSegmentVersions | Grants permission to retrieve information about the current and prior versions of a segment | List | |||
| GetSegments | Grants permission to retrieve information about the segments for an app | List | |||
| GetSmsChannel | Grants permission to obtain information about the SMS channel in an app | Read | |||
| GetSmsTemplate | Grants permission to retrieve information about a specific or the active version of an sms message template | Read | |||
| GetUserEndpoints | Grants permission to retrieve information about the endpoints that are associated with a user ID | Read | |||
| GetVoiceChannel | Grants permission to obtain information about the Voice channel in an app | Read | |||
| GetVoiceTemplate | Grants permission to retrieve information about a specific or the active version of a voice message template | Read | |||
| ListJourneys | Grants permission to retrieve information about all journeys for an app | List | |||
| ListTagsForResource | Grants permission to list tags for a resource | Read | |||
| ListTemplateVersions | Grants permission to retrieve all versions about a specific template | List | |||
| ListTemplates | Grants permission to retrieve metadata about the queried templates | List | |||
| PhoneNumberValidate | Grants permission to obtain metadata for a phone number, such as the number type (mobile, landline, or VoIP), location, and provider | Read | |||
| PutEventStream | Grants permission to create or update an event stream for an app | Write | |||
| PutEvents | Grants permission to create or update events for an app | Write | |||
| RemoveAttributes | Grants permission to remove the attributes for an app | Write | |||
| SendMessages | Grants permission to send an SMS message or push notification to specific endpoints | Write | |||
| SendOTPMessage | Grants permission to send an OTP code to a user of your application | Write | |||
| SendUsersMessages | Grants permission to send an SMS message or push notification to all endpoints that are associated with a specific user ID | Write | |||
| TagResource | Grants permission to add tags to a resource | Tagging | |||
| UntagResource | Grants permission to remove tags from a resource | Tagging | |||
| UpdateAdmChannel | Grants permission to update the Amazon Device Messaging (ADM) channel for an app | Write | |||
| UpdateApnsChannel | Grants permission to update the Apple Push Notification service (APNs) channel for an app | Write | |||
| UpdateApnsSandboxChannel | Grants permission to update the Apple Push Notification service (APNs) sandbox channel for an app | Write | |||
| UpdateApnsVoipChannel | Grants permission to update the Apple Push Notification service (APNs) VoIP channel for an app | Write | |||
| UpdateApnsVoipSandboxChannel | Grants permission to update the Apple Push Notification service (APNs) VoIP sandbox channel for an app | Write | |||
| UpdateApplicationSettings | Grants permission to update the default settings for an app | Write | |||
| UpdateBaiduChannel | Grants permission to update the Baidu channel for an app | Write | |||
| UpdateCampaign | Grants permission to update a specific campaign | Write | |||
| UpdateEmailChannel | Grants permission to update the email channel for an app | Write | |||
| UpdateEmailTemplate | Grants permission to update a specific email template under the same version or generate a new version | Write | |||
| UpdateEndpoint | Grants permission to create an endpoint or update the information for an endpoint | Write | |||
| UpdateEndpointsBatch | Grants permission to create or update endpoints as a batch operation | Write | |||
| UpdateGcmChannel | Grants permission to update the Firebase Cloud Messaging (FCM) or Google Cloud Messaging (GCM) API key that allows to send push notifications to your Android app | Write | |||
| UpdateInAppTemplate | Grants permission to update a specific in-app message template under the same version or generate a new version | Write | |||
| UpdateJourney | Grants permission to update a specific journey | Write | |||
| UpdateJourneyState | Grants permission to update a specific journey state | Write | |||
| UpdatePushTemplate | Grants permission to update a specific push notification template under the same version or generate a new version | Write | |||
| UpdateRecommenderConfiguration | Grants permission to update an Amazon Pinpoint configuration for a recommender model | Write | |||
| UpdateSegment | Grants permission to update a specific segment | Write | |||
| UpdateSmsChannel | Grants permission to update the SMS channel for an app | Write | |||
| UpdateSmsTemplate | Grants permission to update a specific sms message template under the same version or generate a new version | Write | |||
| UpdateTemplateActiveVersion | Grants permission to update the active version parameter of a specific template | Write | |||
| UpdateVoiceChannel | Grants permission to update the Voice channel for an app | Write | |||
| UpdateVoiceTemplate | Grants permission to update a specific voice message template under the same version or generate a new version | Write | |||
| VerifyOTPMessage | Grants permission to check the validity of One-Time Passwords (OTPs) | Write |
Resource types defined by Amazon Pinpoint
The following resource types are defined by this service and can be used in the
Resource
element of IAM permission policy statements. Each action in the
Actions table
identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the Resource types table. For details about the columns in the following table, see
Resource types table
.
| Resource types | ARN | Condition keys |
|---|---|---|
| app |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/$
{
AppId}
|
|
| apps |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/*
|
|
| campaign |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/$
{
AppId}/campaigns/$
{
CampaignId}
|
|
| journey |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/$
{
AppId}/journeys/$
{
JourneyId}
|
|
| journeys |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/$
{
AppId}/journeys
|
|
| segment |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/$
{
AppId}/segments/$
{
SegmentId}
|
|
| template |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:templates/$
{
TemplateName}/$
{
TemplateType}
|
|
| templates |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:templates
|
|
| recommender |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:recommenders/$
{
RecommenderId}
|
|
| recommenders |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:recommenders/*
|
|
| phone-number-validate |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:phone/number/validate
|
|
| channels |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/$
{
AppId}/channels
|
|
| channel |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/$
{
AppId}/channels/$
{
ChannelType}
|
|
| event-stream |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/$
{
AppId}/eventstream
|
|
| events |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/$
{
AppId}/events
|
|
| messages |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/$
{
AppId}/messages
|
|
| verify-otp |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/$
{
AppId}/verify-otp
|
|
| otp |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/$
{
AppId}/otp
|
|
| attribute |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/$
{
AppId}/attributes/$
{
AttributeType}
|
|
| user |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/$
{
AppId}/users/$
{
UserId}
|
|
| endpoint |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/$
{
AppId}/endpoints/$
{
EndpointId}
|
|
| import-job |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/$
{
AppId}/jobs/import/$
{
JobId}
|
|
| export-job |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/$
{
AppId}/jobs/export/$
{
JobId}
|
|
| application-metrics |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/$
{
AppId}/kpis/daterange/$
{
KpiName}
|
|
| campaign-metrics |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/$
{
AppId}/campaigns/$
{
CampaignId}/kpis/daterange/$
{
KpiName}
|
|
| journey-metrics |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/$
{
AppId}/journeys/$
{
JourneyId}/kpis/daterange/$
{
KpiName}
|
|
| journey-execution-metrics |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/$
{
AppId}/journeys/$
{
JourneyId}/execution-metrics
|
|
| journey-execution-activity-metrics |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:apps/$
{
AppId}/journeys/$
{
JourneyId}/activities/$
{
JourneyActivityId}/execution-metrics
|
|
| reports |
arn:$
{
Partition}:mobiletargeting:$
{
Region}:$
{
Account}:reports
|
Condition keys for Amazon Pinpoint
Amazon Pinpoint defines the following condition keys that can be used in the
Condition
element of an IAM policy. You can use these keys to further refine the conditions under which the policy statement applies. For details about the columns in the following table, see
Condition keys table
.
To view the global condition keys that are available to all services, see Available global condition keys .
| Condition keys | Description | Type |
|---|---|---|
| aws:RequestTag/${TagKey} | Filters access by a key that is present in the request the user makes to the pinpoint service | String |
| aws:ResourceTag/${TagKey} | Filters access by a tag key and value pair | String |
| aws:TagKeys | Filters access by the list of all the tag key names present in the request the user makes to the pinpoint service | ArrayOfString |


rect(x, y, width, height, roundness=0.0, radius=None, plot=True, **style)
Draws a rectangle with a top-left corner of (x,y) and size of (width, height).
The roundness
arg lets you control corner radii in a size-independent way. It can range from 0 (sharp corners) to 1.0 (maximally round) and will ensure rounded corners are circular.
The radius
arg provides more-precise control over corner-rounding. It can be either a single number (specifying the corner radius in canvas units) or a 2-tuple with the radii for the x and y axes respectively.
fill(0.2) rect(10, 20, 60, 40)


“Deprive the Great King of his pudding, and morale might start to plummet. Not that it was an easy matter to catch out a bureaucracy so attentive to detail that it was in the habit of issuing travel chits to ducks.”
From Persian Fire : The First World Empire And The Battle For The West by Tom Holland


Gecode::Gist::Shape Class Reference
The shape of a subtree. More...
#include <visualnode.hh>
Public Member Functions | |
| int | depth (void) const |
| Return depth of the shape. | |
| void | setDepth (int d) |
| Set depth of the shape to d (must be smaller than original depth). | |
| void | computeBoundingBox (void) |
| Compute bounding box. | |
| const Extent & | operator[] (int i) const |
| Return extent at depth i. | |
| Extent & | operator[] (int i) |
| Return extent at depth i. | |
| bool | getExtentAtDepth (int depth, Extent &extent) |
| Return if extent exists at depth, if yes return it in extent. | |
| const BoundingBox & | getBoundingBox (void) const |
| Return bounding box. | |
Static Public Member Functions | |
| static Shape * | allocate (int d) |
| Construct shape of depth d. | |
| static void | deallocate (Shape *) |
Static Public Attributes | |
| static Shape * | leaf |
| Static shape for leaf nodes. | |
| static Shape * | hidden |
| Static shape for hidden nodes. |
Detailed Description
The shape of a subtree.
Definition at line 87 of file visualnode.hh.
Member Function Documentation
| Shape * Gecode::Gist::Shape::allocate | ( | int | d | ) | [inline, static] |
Construct shape of depth d.
Definition at line 85 of file visualnode.hpp.
| void Gecode::Gist::Shape::deallocate | ( | Shape * | shape | ) | [inline, static] |
Definition at line 95 of file visualnode.hpp.
| int Gecode::Gist::Shape::depth | ( | void | ) | const [inline] |
Return depth of the shape.
Definition at line 64 of file visualnode.hpp.
| void Gecode::Gist::Shape::setDepth | ( | int | d | ) | [inline] |
Set depth of the shape to d (must be smaller than original depth).
Definition at line 67 of file visualnode.hpp.
| void Gecode::Gist::Shape::computeBoundingBox | ( | void | ) | [inline] |
Compute bounding box.
Definition at line 114 of file visualnode.hpp.
| const Extent & Gecode::Gist::Shape::operator[] | ( | int | i | ) | const [inline] |
Return extent at depth i.
Definition at line 73 of file visualnode.hpp.
| Extent & Gecode::Gist::Shape::operator[] | ( | int | i | ) | [inline] |
Return extent at depth i.
Definition at line 79 of file visualnode.hpp.
| bool Gecode::Gist::Shape::getExtentAtDepth | ( | int | depth, | |
| Extent & | extent | |||
| ) | [inline] |
Return if extent exists at depth, if yes return it in extent.
Definition at line 101 of file visualnode.hpp.
| const BoundingBox & Gecode::Gist::Shape::getBoundingBox | ( | void | ) | const [inline] |
Return bounding box.
Definition at line 128 of file visualnode.hpp.
Member Data Documentation
Shape * Gecode::Gist::Shape::leaf [static] |
Static shape for leaf nodes.
Definition at line 108 of file visualnode.hh.
Shape * Gecode::Gist::Shape::hidden [static] |
Static shape for hidden nodes.
Definition at line 110 of file visualnode.hh.
The documentation for this class was generated from the following files:
- gecode/gist/visualnode.hh (Revision: 13840)
- gecode/gist/visualnode.cpp (Revision: 14967)
- gecode/gist/visualnode.hpp (Revision: 14967)


--- layout: post title: Chicago morning date: 2015-05-14 21:28:06.000000000 -05:00 type: post parent_id: '0' published: true password: '' status: publish categories: [] tags: - Chicago - travel meta: _publicize_pending: '1' publicize_facebook_url: https://facebook.com/ publicize_twitter_user: darribas publicize_twitter_url: http://t.co/WI2DhUqIgh _wpas_done_31944: '1' _publicize_done_external: a:1:{s:7:"twitter";a:1:{i:14787941;b:1;}} author: login: dreamessenceonthemove email<EMAIL_ADDRESS>display_name: darribas first_name: Daniel last_name: Arribas-Bel permalink: "/2015/05/14/chicago-morning/" excerpt: Lake from the hotel room at the 16th. floor. ---
April 2015


Created a responsive landing page that encourages people to set up their businesses in the San Fernando Valley.
Created a simple SMS/Web application that helps prevent malnourishment and starvation in India. Used medical information to add specific fruits and vegetables to their diet in order to combat malnourishment. Used historical data provided by teachers to predict attendance at school.
Best application of good design and user experience Placed top out of 30 students
Created a web application that saves the user’s parked car’s location. Never forget where you parked again.


Every month, we present an overview of things the Smashing team has been working on — all in one place. The past few weeks have been quite challenging: COVID-19 crisis, #BlackLivesMatter, and so many other ongoing issues
taking place all over...
Every month, we present an overview of things the Smashing team has been working on — all in one place. The past few weeks have been quite challenging: COVID-19 crisis, #BlackLivesMatter, and so many other ongoing issues
taking place all over...
Every month, we present an overview of things the Smashing team has been working on — all in one place. The past few weeks have been quite challenging: COVID-19 crisis, #BlackLivesMatter, and so many other ongoing issues
taking place all over...
Every month, we present an overview of things the Smashing team has been working on — all in one place. The past few weeks have been quite challenging: COVID-19 crisis, #BlackLivesMatter, and so many other ongoing issues
taking place all over...
Every month, we present an overview of things the Smashing team has been working on — all in one place. The past few weeks have been quite challenging: COVID-19 crisis, #BlackLivesMatter, and so many other ongoing issues
taking place all over...
Every month, we present an overview of things the Smashing team has been working on — all in one place. The past few weeks have been quite challenging: COVID-19 crisis, #BlackLivesMatter, and so many other ongoing issues
taking place all over...
Every month, we present an overview of things the Smashing team has been working on — all in one place. The past few weeks have been quite challenging: COVID-19 crisis, #BlackLivesMatter, and so many other ongoing issues
taking place all over...
Meet "Click!": Encourage Clicks Without Shady Tricks
Our new book on how to boost business KPIs, build trust and address doubts effectively — without alienating people along the way. By Paul Boag.
COMMUNITY LINKS
PERSON OF THE WEEK
Lisi Linhart is a Creative Developer from Austria who is passionate about web animation. With a background in coding as well as design, she loves to combine technology with creative ideas — in the
animation and UI experiments she shares on Codepen and the tutorials she publishes on her blog, for example. Lisi is also a lecturer at the University of Applied Sciences in Salzburg,
where she teaches students about front-end development and design. You can find her on Twitter as @lisi_linhart. Thank you for sharing and caring, dear Lisi!
JUNE 26, 2020 - background-repeat in CSS defines if and how a background-image property will repeat. Chris Coyier summarized the values for the property. Be sure
to give background-repeat: round
JUNE 26, 2020 - background-repeat in CSS defines if and how a background-image property will repeat. Chris Coyier summarized the values for the property. Be sure
to give background-repeat: round
JUNE 26, 2020 - background-repeat in CSS defines if and how a background-image property will repeat. Chris Coyier summarized the values for the property. Be sure
to give background-repeat: round
JUNE 26, 2020 - background-repeat in CSS defines if and how a background-image property will repeat. Chris Coyier summarized the values for the property. Be sure
to give background-repeat: round
JUNE 26, 2020 - background-repeat in CSS defines if and how a background-image property will repeat. Chris Coyier summarized the values for the property. Be sure
to give background-repeat: round
JUNE 26, 2020 - background-repeat in CSS defines if and how a background-image property will repeat. Chris Coyier summarized the values for the property. Be sure
to give background-repeat: round
Meet Design Systems, a recent Smashing book in which Alla Kholmatova explores how to set up an effective design system to create great digital products. With common traps, gotchas and lessons learned.
React, Vue, or perhaps the lightweight Alpine.js? Whether you are an experienced JavaScript developer working with one of these frameworks, or just starting to learn, our authors have created some tutorials for you.
React, Vue, or perhaps the lightweight Alpine.js? Whether you are an experienced JavaScript developer working with one of these frameworks, or just starting to learn, our authors have created some tutorials for you.
React, Vue, or perhaps the lightweight Alpine.js? Whether you are an experienced JavaScript developer working with one of these frameworks, or just starting to learn, our authors have created some tutorials for you.
Every Second Tuesday, we send an email newsletter with useful techniques on front-end and UX. Subscribe and get Smart Interface Design Checklist PDF in your inbox.
Front-end, UX and design. 2x a month. You can always unsubscribe with just 1 click.


Checks lambda's, local and anonymous classes and reports references to local variables outside the class or lambda that are not
Serializable.
When a local variable is referenced from an anonymous class, it's value is stored in an implicit field in the anonymous class.
The same happens for local classes and lambda's.
If that variable is of a non-Serializable type, serialization will fail.


Menu 1
Menu 2
Menu 3
Menu 4
Menu 5
Menu 6
Menu 7
Home
Project (Big project name)
Episodes (Episode 1 - {Series / DVD})
Sequence (Sequence 120)
Episodes : 1/10
Sequences : 80/523
Shots : 250/1523
Add Sequences
Sequence Prefix
Sequence Name
Number Of Sequencess
Add
Sequence Details
Sequence
Shots Tally
Status
SQ_020
10/21
Ongoing
SQ_020
10/21
Ongoing
SQ_020
10/21
Wait
SQ_020
10/21
Pending
Shots Details
Edit Details
Sequence Prefix
Sequence Name
Edit


Hi everyone,
I have been running my energy monitor for two months already and I am very happy to say I find it great and very precise (up to 0.5 kWh compared to my last electricity bill !!).
In the last two days though I have had a couple of issues and this is the reason I am writing here today.
Quickly, my setup is as follows:
- Raspberry Pi EmonBase with Open Energy Monitor pre-built image on SD Card - powered by the mains and attached via Ethernet to a router at ip <IP_ADDRESS>. The gateway is at <IP_ADDRESS> and the gateway and router have a "bridge" type of connection
- EmonTx V 3.4 with 2 CTs and "customised" firmware - powered by the mains
- "Home-made" EmonTH - powered by the mains
Yesterday morning (26/07) at around 8 am the EmonTx suddenly stopped transmitting. I was away from home so I had to wait until 10 pm for undertaking a power cycle of the device, which apparently solved the issue.
This morning (27/07), at around 9 am, it stopped transmitting once again, but started transmission again around 10 am with me doing nothing except logging to the Raspberry Pi and running the command "tail -40 /var/log/syslog", of which the results are attached.
I have also run the command after I noticed it started working again and there is a reference to "maxlifetime", but I really have no idea what it means.
One important thing is that, during the EmonTx interruptions, the EmonTH worked fine. Therefore, I would exclude a problem with the Raspberry Pi and my internet network. Also, there have been no power failures, since both the Pi and the EmonTH are plugged onto the same electricity line and I would have noticed the failure.
Any help is greatly appreciated and sorry for my somehow poor English, it's been a while since I had a real conversation in English :D
Re: EmonTx randomly stops transmitting while EmonTH works fine - syslog attached
Hi, The most enlightening logs would come from emonHub, I would recommend setting the loglevel to "DEBUG" in emonhub.conf.
Also which OEM pre-built image are you using?
How "customised" is the emonTx firmware? minor adjustments (to which sketch) or completely new?
Is the emonTx powered by AC/AC or AC/DC mains?
From what you say it would point to the emonTx as the emonTH continues to work and restarting that device previously corrected the issue. But that is far from conclusive.
When it stalls next time try and determine if the (tiny) led is flashing on the RFM2Pi to indicate packet recieved, How easy that is will depend on the update intervals you have used with each device, standard intervals are 10s for the emonTx and 60s emonTH so if no more than one flash is seen in ~30s the emonTx packets are not being recieved.
Paul
Re: EmonTx randomly stops transmitting while EmonTH works fine - syslog attached
Hi Paul, thanks for your reply.
I will look into setting the loglevel to "DEBUG", but how would that be helpful? I mean, do I need to use another command to retrieve information or the "tail -40 etc." would work fine?
As for the other questions:
Yes, I haven't touched the update intervals, so I will check it out the next time.
Anyways, when the emonTX stopped working for the first time, I had to manually reboot it. I have to admit I did not pay much attention, but I think the red led that usually blinks when the device detects the AC wave did not blink, which made me think about a failure in the AC/AC adapter... but as I said a reboot solved.
Thanks again for your recommendations!
Re: EmonTx randomly stops transmitting while EmonTH works fine - syslog attached
The later emonSD image is not a direct upgrade, it is a different version of both emoncms and emonhub.
I would stick with the image you have for the moment as it is more stable and familiar for debuging purposes.
You will need to view the logs after the next occurrence, by pre-selecting "DEBUG" level you will capture much more info, when it happens. You can use tail directly or with that emonSD image you can use emonhub -dl (display-log) from the command line too.
I'm not sure the led flashes are linked to the ac detection, don't hold me to it but I'm pretty sure it just flashes with the transmitions.
Paul
Re: EmonTx randomly stops transmitting while EmonTH works fine - syslog attached
"I'm not sure the led flashes..."
It is all written out here: http://wiki.openenergymonitor.org/index.php/EmonTx_V3.4#Power_Supply_Opt...
but note that in "Powering via AC (4)", the sequence of operations in detail is:
sample the CTs in use, in order
read the temperature sensors (if any)
transmit the data via RF,
delay for 10 s
flash the LED
so in effect, the LED is flashed before the sample is taken, and that could be nearly a second before the radio transmission.
Therefore, if ac has been detected at start-up or reset, the LED will flash and will continue to do so even if the ac supply disappears (provided of course it isn't using the ac supply as the sole power source!).
Re: EmonTx randomly stops transmitting while EmonTH works fine - syslog attached
Oh! well that was a surprise, I was aware the led flashed during "detection" at start up but I had no idea the led was just then flashing every 10 secs regardless.
Paul
edit - if a ACAC was present at start-up of course, I don't actually recall ever running one without an ACAC so thats probably why I hadn't noticed.
Re: EmonTx randomly stops transmitting while EmonTH works fine - syslog attached
None the less checking the led remains a valid test I guess, as if the led is no longer flashing and it was previously that would indicate the emonTx is no longer running, that may or may not mean a power failure, a temporary power failure should result in a successful restart and so either the power went down and was restarted by a "mains" power cycle or somrthing stopped it running and a power cycle or "reset" button cleared it.
How did you "reboot"?
Paul
Re: EmonTx randomly stops transmitting while EmonTH works fine - syslog attached
The 'start-up' voltage detection isn't particularly onerous: it runs the calc_rms( ) method and looks for a voltage > 90 (out of a notional 240), and flashes the LED rapidly 10 times if that's found. Otherwise, it puts the LED on for 2 s.
Re: EmonTx randomly stops transmitting while EmonTH works fine - syslog attached
Hi,
just a quick update in case anyone has been experiencing the same issue.
Long story short, the Ideal Power 9V AC-AC power adapter for the EmonTX proved to be the problem.
To explain a bit, during a power cycle after the n-th time the emonTX stopped transmitting, I disconnected and reconnected the 9V AC power adapter and saw the LED on the Emon TX going crazy, like blinking very quickly but without following a specific pattern.
I decided to get a new adapter, as it looked like I got to the root of the problem.
After setting up the new power adapter, I noticed one strange things that made me question my engineering skills! The mains voltage report in my feeds, which was around 250V with the old adapter, suddenly dropped to around 230V.
You know what? The old power adapter was supplying 12V AC instead of 9V AC. I guess that explains it all, and I suppose I am lucky I did not fry my board!!
Anyways, it's all good now and my two emonTH and my emonTX haven't manifsted any strange behavior in the last 20 days.
Re: EmonTx randomly stops transmitting while EmonTH works fine - syslog attached
Does the type number end in -09? But do remember that 9V is the output on full load, the open-circuit output voltage is specified to be 11.6 V ±3% with a 240 V input (for the UK version).
If the type number is wrong, or the output is significantly above (like 25% above) 12 V, then it would indeed appear to be a 12 V version.
But your voltage readings only show 8% above, so doesn't really fit with it being a 12 V adapter labelled as 9 V.
But in any case, it does appear to be faulty and you should probably let the shop know<EMAIL_ADDRESS>Re: EmonTx randomly stops transmitting while EmonTH works fine - syslog attached
Thank you Robert, I did not know about the open-circuit voltage.
Mine is a EU version but there shouldn't be any differences, I suppose.
I will check the type number and load voltage when I can and report back.
Re: EmonTx randomly stops transmitting while EmonTH works fine - syslog attached
The DE-06-09 data sheet gives a slightly lower open-circuit output of 11.5 V ±5%
(77DE-06-09-MI.pdf from http://www.idealpower.co.uk/external-power-supply/fixed-plug-top-ac-ac-linear/77DE-06-09)
Re: EmonTx randomly stops transmitting while EmonTH works fine - syslog attached
mrcsrplln thanks for this post! I have the same issue and am about to place an order for a new AC-AC adapter. I can see that it is indeed the culprit. Looking a the EmonCMS Data Ican see when it had started to malfunction (~Sep10):
Hope this info helps other as well. Should put it as a sticky in the forum.
Re: EmonTx randomly stops transmitting while EmonTH works fine - syslog attached
Which model is yours, flakattack?
Re: EmonTx randomly stops transmitting while EmonTH works fine - syslog attached
Hi Robert,
I am using an EmonTx Arduino Shield V2 with an AHEAD JAA-0901000AS AC-AC 9V Adapter. Since I am located in Australia there is no available powerpack on the store.
I purchased mine from: http://www.ebay.com.au/itm/9V-Power-supply-Adapter-1000mA-AC-Adapter-Guitar-Effect-Pedal-Buy-4-Get-5-/181927112544?hash=item2a5bb36f60:g:jXoAAOSwpDdVOt6~
Also am running a HopeRF RFM69CW as the chip onboard.
Cheers,
Simon
Re: EmonTx randomly stops transmitting while EmonTH works fine - syslog attached
OK, thanks for that.
I suspected that we had a quality issue as two adapters had gone down with apparently the same fault, but clearly that's not the case. It looks like an unfortunate coincidence.


Psalms 62:12
Also unto thee, O Lord, belongeth mercy: for thou renderest to every man according to his work.


Class: Aws::ForecastService::Types::CreatePredictorRequest
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Struct
|
|
|
Instance Chain:
self,
::Aws::Structure ,
Struct
|
|
| Inherits: |
Struct
|
| Defined in: | gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb |
Overview
Constant Summary
Instance Attribute Summary
-
#algorithm_arn ⇒ String
rw
The Amazon
::Aws::ForecastService::Resource
Name (ARN) of the algorithm to use for model training. -
#auto_ml_override_strategy ⇒ String
rw
The LatencyOptimized
AutoML override strategy is only available in private beta. -
#encryption_config ⇒ Types::EncryptionConfig
rw
An Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
-
#evaluation_parameters ⇒ Types::EvaluationParameters
rw
Used to override the default evaluation parameters of the specified algorithm.
-
#featurization_config ⇒ Types::FeaturizationConfig
rw
The featurization configuration.
-
#forecast_horizon ⇒ Integer
rw
Specifies the number of time-steps that the model is trained to predict.
-
#forecast_types ⇒ Array<String>
rw
Specifies the forecast types used to train a predictor.
-
#hpo_config ⇒ Types::HyperParameterTuningJobConfig
rw
Provides hyperparameter override values for the algorithm.
-
#input_data_config ⇒ Types::InputDataConfig
rw
Describes the dataset group that contains the data to use to train the predictor.
-
#optimization_metric ⇒ String
rw
The accuracy metric used to optimize the predictor.
-
#perform_auto_ml ⇒ Boolean
rw
Whether to perform AutoML.
-
#perform_hpo ⇒ Boolean
rw
Whether to perform hyperparameter optimization (HPO).
-
#predictor_name ⇒ String
rw
A name for the predictor.
-
#tags ⇒ Array<Types::Tag>
rw
The optional metadata that you apply to the predictor to help you categorize and organize them.
-
#training_parameters ⇒ Hash<String,String>
rw
The hyperparameters to override for model training.
Instance Method Summary
::Aws::Structure
- Included
| #to_hash | Alias for Structure#to_h. |
Instance Attribute Details
#algorithm_arn ⇒ String
(rw)
The Amazon ::Aws::ForecastService::Resource
Name (ARN) of the algorithm to use for model
training. Required if PerformAutoML
is not set to true
.
Supported algorithms:
arn:aws:forecast:::algorithm/ARIMA
arn:aws:forecast:::algorithm/CNN-QR
arn:aws:forecast:::algorithm/Deep_AR_Plus
arn:aws:forecast:::algorithm/ETS
arn:aws:forecast:::algorithm/NPTS
arn:aws:forecast:::algorithm/Prophet
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 1630
class CreatePredictorRequest < Struct.new( :predictor_name, :algorithm_arn, :forecast_horizon, :forecast_types, :perform_auto_ml, :auto_ml_override_strategy, :perform_hpo, :training_parameters, :evaluation_parameters, :hpo_config, :input_data_config, :featurization_config, :encryption_config, :, :optimization_metric) SENSITIVE = [] include Aws::Structure end
#auto_ml_override_strategy ⇒ String
(rw)
LatencyOptimized
AutoML override strategy is only available in
private beta. Contact Amazon Web Services ::Aws::Support
or your account
manager to learn more about access privileges.
Used to overide the default AutoML strategy, which is to optimize
predictor accuracy. To apply an AutoML strategy that minimizes
training time, use LatencyOptimized
.
This parameter is only valid for predictors trained using AutoML.
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 1630
class CreatePredictorRequest < Struct.new( :predictor_name, :algorithm_arn, :forecast_horizon, :forecast_types, :perform_auto_ml, :auto_ml_override_strategy, :perform_hpo, :training_parameters, :evaluation_parameters, :hpo_config, :input_data_config, :featurization_config, :encryption_config, :, :optimization_metric) SENSITIVE = [] include Aws::Structure end
#encryption_config ⇒ Types::EncryptionConfig (rw)
An Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 1630
class CreatePredictorRequest < Struct.new( :predictor_name, :algorithm_arn, :forecast_horizon, :forecast_types, :perform_auto_ml, :auto_ml_override_strategy, :perform_hpo, :training_parameters, :evaluation_parameters, :hpo_config, :input_data_config, :featurization_config, :encryption_config, :, :optimization_metric) SENSITIVE = [] include Aws::Structure end
#evaluation_parameters ⇒ Types::EvaluationParameters (rw)
Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast evaluates a predictor by splitting a dataset into training data and testing data. The evaluation parameters define how to perform the split and the number of iterations.
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 1630
class CreatePredictorRequest < Struct.new( :predictor_name, :algorithm_arn, :forecast_horizon, :forecast_types, :perform_auto_ml, :auto_ml_override_strategy, :perform_hpo, :training_parameters, :evaluation_parameters, :hpo_config, :input_data_config, :featurization_config, :encryption_config, :, :optimization_metric) SENSITIVE = [] include Aws::Structure end
#featurization_config ⇒ Types::FeaturizationConfig (rw)
The featurization configuration.
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 1630
class CreatePredictorRequest < Struct.new( :predictor_name, :algorithm_arn, :forecast_horizon, :forecast_types, :perform_auto_ml, :auto_ml_override_strategy, :perform_hpo, :training_parameters, :evaluation_parameters, :hpo_config, :input_data_config, :featurization_config, :encryption_config, :, :optimization_metric) SENSITIVE = [] include Aws::Structure end
#forecast_horizon ⇒ Integer
(rw)
Specifies the number of time-steps that the model is trained to predict. The forecast horizon is also called the prediction length.
For example, if you configure a dataset for daily data collection
(using the DataFrequency
parameter of the CreateDataset operation)
and set the forecast horizon to 10, the model returns predictions
for 10 days.
The maximum forecast horizon is the lesser of 500 time-steps or 1/3 of the TARGET_TIME_SERIES dataset length.
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 1630
class CreatePredictorRequest < Struct.new( :predictor_name, :algorithm_arn, :forecast_horizon, :forecast_types, :perform_auto_ml, :auto_ml_override_strategy, :perform_hpo, :training_parameters, :evaluation_parameters, :hpo_config, :input_data_config, :featurization_config, :encryption_config, :, :optimization_metric) SENSITIVE = [] include Aws::Structure end
#forecast_types ⇒ Array
<String
> (rw)
Specifies the forecast types used to train a predictor. You can
specify up to five forecast types. Forecast types can be quantiles
from 0.01 to 0.99, by increments of 0.01 or higher. You can also
specify the mean forecast with mean
.
The default value is ["0.10", "0.50", "0.9"]
.
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 1630
class CreatePredictorRequest < Struct.new( :predictor_name, :algorithm_arn, :forecast_horizon, :forecast_types, :perform_auto_ml, :auto_ml_override_strategy, :perform_hpo, :training_parameters, :evaluation_parameters, :hpo_config, :input_data_config, :featurization_config, :encryption_config, :, :optimization_metric) SENSITIVE = [] include Aws::Structure end
#hpo_config ⇒ Types::HyperParameterTuningJobConfig (rw)
Provides hyperparameter override values for the algorithm. If you don't provide this parameter, Amazon Forecast uses default values. The individual algorithms specify which hyperparameters support hyperparameter optimization (HPO). For more information, see aws-forecast-choosing-recipes.
If you included the HPOConfig
object, you must set PerformHPO
to
true.
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 1630
class CreatePredictorRequest < Struct.new( :predictor_name, :algorithm_arn, :forecast_horizon, :forecast_types, :perform_auto_ml, :auto_ml_override_strategy, :perform_hpo, :training_parameters, :evaluation_parameters, :hpo_config, :input_data_config, :featurization_config, :encryption_config, :, :optimization_metric) SENSITIVE = [] include Aws::Structure end
#input_data_config ⇒ Types::InputDataConfig (rw)
Describes the dataset group that contains the data to use to train the predictor.
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 1630
class CreatePredictorRequest < Struct.new( :predictor_name, :algorithm_arn, :forecast_horizon, :forecast_types, :perform_auto_ml, :auto_ml_override_strategy, :perform_hpo, :training_parameters, :evaluation_parameters, :hpo_config, :input_data_config, :featurization_config, :encryption_config, :, :optimization_metric) SENSITIVE = [] include Aws::Structure end
#optimization_metric ⇒ String
(rw)
The accuracy metric used to optimize the predictor.
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 1630
class CreatePredictorRequest < Struct.new( :predictor_name, :algorithm_arn, :forecast_horizon, :forecast_types, :perform_auto_ml, :auto_ml_override_strategy, :perform_hpo, :training_parameters, :evaluation_parameters, :hpo_config, :input_data_config, :featurization_config, :encryption_config, :, :optimization_metric) SENSITIVE = [] include Aws::Structure end
#perform_auto_ml ⇒ Boolean
(rw)
Whether to perform AutoML. When Amazon Forecast performs AutoML, it evaluates the algorithms it provides and chooses the best algorithm and configuration for your training dataset.
The default value is false
. In this case, you are required to
specify an algorithm.
Set PerformAutoML
to true
to have Amazon Forecast perform
AutoML. This is a good option if you aren't sure which algorithm is
suitable for your training data. In this case, PerformHPO
must be
false.
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 1630
class CreatePredictorRequest < Struct.new( :predictor_name, :algorithm_arn, :forecast_horizon, :forecast_types, :perform_auto_ml, :auto_ml_override_strategy, :perform_hpo, :training_parameters, :evaluation_parameters, :hpo_config, :input_data_config, :featurization_config, :encryption_config, :, :optimization_metric) SENSITIVE = [] include Aws::Structure end
#perform_hpo ⇒ Boolean
(rw)
Whether to perform hyperparameter optimization (HPO). HPO finds optimal hyperparameter values for your training data. The process of performing HPO is known as running a hyperparameter tuning job.
The default value is false
. In this case, Amazon Forecast uses
default hyperparameter values from the chosen algorithm.
To override the default values, set PerformHPO
to true
and,
optionally, supply the HyperParameterTuningJobConfig
object. The
tuning job specifies a metric to optimize, which hyperparameters
participate in tuning, and the valid range for each tunable
hyperparameter. In this case, you are required to specify an
algorithm and PerformAutoML
must be false.
The following algorithms support HPO:
DeepAR+
CNN-QR
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 1630
class CreatePredictorRequest < Struct.new( :predictor_name, :algorithm_arn, :forecast_horizon, :forecast_types, :perform_auto_ml, :auto_ml_override_strategy, :perform_hpo, :training_parameters, :evaluation_parameters, :hpo_config, :input_data_config, :featurization_config, :encryption_config, :, :optimization_metric) SENSITIVE = [] include Aws::Structure end
#predictor_name ⇒ String
(rw)
A name for the predictor.
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 1630
class CreatePredictorRequest < Struct.new( :predictor_name, :algorithm_arn, :forecast_horizon, :forecast_types, :perform_auto_ml, :auto_ml_override_strategy, :perform_hpo, :training_parameters, :evaluation_parameters, :hpo_config, :input_data_config, :featurization_config, :encryption_config, :, :optimization_metric) SENSITIVE = [] include Aws::Structure end
#tags ⇒ Array
<Types::Tag> (rw)
The optional metadata that you apply to the predictor to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50.
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8.
Maximum value length - 256 Unicode characters in UTF-8.
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag
keys and values are case sensitive.Do not use
aws:
,AWS:
, or any upper or lowercase combination of such as a prefix for keys as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value hasaws
as its prefix but the key does not, then Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix ofaws
do not count against your tags per resource limit.
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 1630
class CreatePredictorRequest < Struct.new( :predictor_name, :algorithm_arn, :forecast_horizon, :forecast_types, :perform_auto_ml, :auto_ml_override_strategy, :perform_hpo, :training_parameters, :evaluation_parameters, :hpo_config, :input_data_config, :featurization_config, :encryption_config, :, :optimization_metric) SENSITIVE = [] include Aws::Structure end
#training_parameters ⇒ Hash
<String
,String
> (rw)
The hyperparameters to override for model training. The hyperparameters that you can override are listed in the individual algorithms. For the list of supported algorithms, see aws-forecast-choosing-recipes.
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 1630
class CreatePredictorRequest < Struct.new( :predictor_name, :algorithm_arn, :forecast_horizon, :forecast_types, :perform_auto_ml, :auto_ml_override_strategy, :perform_hpo, :training_parameters, :evaluation_parameters, :hpo_config, :input_data_config, :featurization_config, :encryption_config, :, :optimization_metric) SENSITIVE = [] include Aws::Structure end


Home
A-Z Search
All about Cal
A comprehensive guide.
Essential
BearFacts
My FinAid
CalCentral
bConnected
Oskicat
Registration
TeleBears
Online Schedule of Classes
ScheduleBuilder
Course Catalog
Life
Cal 1 Card
AirBears2 Key Management
Dining Hall Menus
Bear Transit


{% extends "layout.html" %} {% block content %}
You're trying to access a page that you don't have rights to.
Template sourced from Bootsnipp.


BNCErrorCode
enum BNCErrorCode {}
Branch specific error codes.
-
Undocumented
Declaration
Objective-C
BNCInitError = 1000
Swift
case initError = 1000
-
Undocumented
Declaration
Objective-C
BNCDuplicateResourceError = 1001
Swift
case duplicateResourceError = 1001
-
Undocumented
Declaration
Objective-C
BNCRedeemCreditsError = 1002
Swift
case redeemCreditsError = 1002
-
Undocumented
Declaration
Objective-C
BNCBadRequestError = 1003
Swift
case badRequestError = 1003
-
Undocumented
Declaration
Objective-C
BNCServerProblemError = 1004
Swift
case serverProblemError = 1004
-
Undocumented
Declaration
Objective-C
BNCNilLogError = 1005
Swift
case nilLogError = 1005
-
Undocumented
Declaration
Objective-C
BNCVersionError = 1006
Swift
case versionError = 1006
-
Undocumented
Declaration
Objective-C
BNCNetworkServiceInterfaceError = 1007
Swift
case networkServiceInterfaceError = 1007
-
Undocumented
Declaration
Objective-C
BNCInvalidNetworkPublicKeyError = 1008
Swift
case invalidNetworkPublicKeyError = 1008
-
Undocumented
Declaration
Objective-C
BNCContentIdentifierError = 1009
Swift
case contentIdentifierError = 1009
-
Undocumented
Declaration
Objective-C
BNCSpotlightNotAvailableError = 1010
Swift
case spotlightNotAvailableError = 1010
-
Undocumented
Declaration
Objective-C
BNCSpotlightTitleError = 1011
Swift
case spotlightTitleError = 1011
-
Undocumented
Declaration
Objective-C
BNCRedeemZeroCreditsError = 1012
Swift
case redeemZeroCreditsError = 1012
-
Undocumented
Declaration
Objective-C
BNCSpotlightIdentifierError = 1013
Swift
case spotlightIdentifierError = 1013
-
Undocumented
Declaration
Objective-C
BNCSpotlightPublicIndexError = 1014
Swift
case spotlightPublicIndexError = 1014
-
Undocumented
Declaration
Objective-C
BNCTrackingDisabledError = 1015
Swift
case trackingDisabledError = 1015
-
Undocumented
Declaration
Objective-C
BNCHighestError
Swift
case highestError = 1016


Plus Ultra
"Love is the one thing that transcends space and time." -「星际穿越」
Powered By JsonBird And Hitokoto


Playing Around with Device APIs
I first learned about the device APIs back in February when Tim Wright wrote, Environmental Design with the Device API. Ever since then I've been wanting to learn more and play around a bit with them. Unfortunately not all of the proposed features have been implemented and on top of that it looks like Firefox OS and Firefox for Android are the only ones to have begun implementation. This is understandable since at the time of this writing the device APIs are still a W3C draft.
Below I've listed the working group that is responsible for creating the client-side APIs as well as the few APIs I've chosen to try. The dashboard on this page will display the results.
For more information on the working group, the APIs showcased here and the source code, please see the links at the bottom of this page.
Device APIs Working Group
The mission of the Device APIs Working Group is to create client-side APIs that enable the development of Web Applications that interact with device hardware, services and applications such as the camera, microphone, system sensors, native address books, calendars and native messaging applications.
Network API
The main use case of the Network Information API is to allow applications to be gentle with the user's bandwidth when they know it is rare or expensive. Even if there are not many applications that do this currently, this specification offers the the tools needed to enable this, allowing it to become more common.
A few hypothetical examples would be:
- An image viewer showing very low resolution thumbnails when the user has a low bandwidth or a metered connection.
- A video game loading low textures when the user has a low bandwidth or a metered connection.
- An email client downloading only headers or even asking the user to download headers when he/she has a low bandwidth or a metered connection.
- Any app trying to aggressively cache any downloaded asset when the user has a low bandwidth or a metered connection.
Light API
Ambient Light Events make the web application capable to sense the environment around the user and may allow it to take action in the change of light intensity level.
When the light sensor of the device detects the light change, browser get notifies, it fires a DeviceLightEvent event that gives information about the exact light intensity outside the device.
The DeviceLightEvent provides a value attribute with light intensity in lux which is generally treated as given below.
- 10 ~ 50 lux : Dim Evironment
- 100 ~ 1000 lux : Normal
- > 10000 lux : Bright
Battery API
The Battery Status API, more often referred to as the Battery API, provides information about the system's battery charge level and lets you be notified by events that are sent when the battery level changes. This can be used to adjust your app's resource usage to reduce battery drain when the battery is low, or to save changes before the battery runs out in order to prevent data loss.


Previous generation survey: SDSS
Current generation survey: DES
LSST precursor survey: HSC
In this talk, we will focus on models with tractable log likelihood $p_\theta(x)$: Normalizing Flows & Autoregressive models
How much information does the photometry under a given observing strategy contains about galaxy redshifts?
“"amount of information" obtained about one random variable through observing the other random variable”
“"amount of information" obtained about one random variable through observing the other random variable”
We want to solve for the Maximum A Posterior solution:
$$\arg \max - \frac{1}{2} \parallel {\color{Orchid} y} - {\color{SkyBlue} x} \parallel_2^2 + \log p_\theta({\color{SkyBlue} x})$$ This can be done by gradient descent as long as one has access to the score function $\frac{\color{orange} d \color{orange}\log \color{orange}p\color{orange}(\color{orange}x\color{orange})}{\color{orange} d \color{orange}x}$.See Benjamin Remy's talk tomorrow to learn all about that!
Thank you !


Name That Avenger
press any alphabet key to start
Guess that Avenger!
Wins
Losses
lives remaining
Guessed Letters


--- title: "Neural network overengineering" author: "Einar" date: 2016-08-24 #categories: ["R"] tags: ["neural_networks", "naive_bayes", "wine"] math: true ---
In my idle hours (ie when I should have been writing a paper), I came across this blog post where the author trained a neural netwok in the fine art of wine tasting. I am basically deep down a very lazy person, and from what little I understand of NNs, there are quite a few knobs to fiddle with, which really who has the time with all this untasted wine floating about? 5.56 hidden nodes? 600 epochs? Feature scaling? Honestly! What I need is something simple.
Now for simplicity you can hardly beat good old Naive Bayes. For those of us who forget, Naive Bayes is to assume that the predictors \(x_i\) in an observation \(\mathbf x = [x_1, x_1, \ldots, x_p]\) are independent so that the probability of a given sample, \(\mathbf x\), belonging to a given class, \(C\), is \(p(C | X = \mathbf x) \propto p(C)\prod_{i=1}^p p(x_i|C)\). The class-conditional densities, \(p(x_i | C)\), are usually fit as maximum-likelihood-estimate Gaussians.
Anyway, get the data from UCI and have a go. Follow this simple guide and you too will have created a wine-tasting AI to threaten the job security of sommeliers everywhere. First let’s load the data and have a look at it.
set.seed(220816) # for reproducibility
# load data, first column in file is class
wino <- read.csv("data/wine.data", header=F)
x <- as.matrix(wino[, -1])
y <- as.factor(wino[, 1])
# from wine.names
colnames(x) <- c("Alcohol", "Malic acid", "Ash", "Alcalinity of ash",
"Magnesium", "Total phenols", "Flavanoids", "Nonflavanoid phenols",
"Proanthocyanins", "Color intensity", "Hue", "OD280/OD315 of diluted wines",
"Proline")
# set aside 0.35 of the samples for independent test set as per other blog
test_idx <- sample(1:length(y), ceiling(length(y)*0.35))
To get a feel for the data we’ll plot the class-conditional densities of the different predictors. We exclude the training samples, of course, so as not to fool ourselves. The code for this plot is kind of ugly and unintersting so I’ll just hide it.
Doesn’t look too bad. Some of these don’t look particularly Gaussian, but let’s just say that we’re doing smoothing. Now to fit our model and look at how it classifies the different wines.
library(e1071) # provides naiveBayes()
nbfit <- naiveBayes(x[-test_idx, ], y[-test_idx])
pred <- predict(nbfit, x[test_idx, ], type="class")
confusion <- table(pred, y[test_idx]); confusion
##
## pred 1 2 3
## 1 25 0 0
## 2 0 25 0
## 3 0 0 13
That’s a pretty friendly-looking confusion matrix; we only have a single misclassification. Accuracy is the number of correctly classified observations over the total number of observations classified:
acc_est <- sum(diag(confusion))/sum(confusion); acc_est
## [1] 1
So that’s pretty good. Since I believe in uncertainty estimates, we’ll do a bootstrapped quantile confidence interval. I estimate by 100% guessing that 5000 bootstrap samples is enough. Much more than enough probably.
library(plyr)
boots <- raply(5000, sample((1:nrow(x))[-test_idx], replace=T))
stats <- aaply(boots, 1, function(bsindex) {
nbfit <- naiveBayes(x[bsindex, ], y[bsindex])
pred <- predict(nbfit, x[test_idx, ], type="class")
confusion <- table(pred, y[test_idx])
sum(diag(confusion))/sum(confusion)
})
quantile(stats, c(0.025, 0.975))
## 2.5% 97.5%
## 0.968254 1.000000
The results are in: our intelligent wine tasting machine has an estimated accuracy of 1 with a 0.95 CI of [0.97, 1]. That’s good enough for me, and what’s more I never have to drink wine alone again.


Access this syllabus online at http://bco.hn/syllabus.html
This week's themes
Workshop: Introduction to R, R Studio, and Statistical Computing
Readings:
Rosenthal, Elisabeth. "The $2.7 Trillion Medical Bill." The New York Times. The New York Times, 01 June 2013. Web. 07 Mar. 2014.
Rosenthal, Elisabeth. "American Way of Birth, Costliest in the World." The New York Times. The New York Times, 30 June 2013. Web. 07 Mar. 2014.
Atul Gawande, “The Cost Conundrum – What a Texas town can teach us about health care.” The New Yorker: June 1, 2009
Nolte, E, and C. Martin McKee. “Avoidable Through Health Care – Progress in the US Lags that of Three European Countries,” Health Affairs August 2012.
Optional
Groves, Peter, et al. "The ‘big data’revolution in healthcare." McKinsey Quarterly (2013).
This week's themes
Workshop:
Downloading data from healthdata.gov using the API
Readings:
Jost, Timothy Stoltzfus. "Beyond Repeal—A Republican Proposal for Health Care Reform." New England Journal of Medicine (2014).
Kaiser Family Foundation Summary of the Affordable Care Act
Baicker K, Chandra A. “Myths and misconceptions about U.S. health insurance.” Health Aff (Millwood). 2008 Nov-Dec;27(6):w533-43.
Lukensmeyer, Carolyn J., Joseph P. Goldman, and David Stern. "Assessing public participation in an open government era." IBM Center for the Business of Government (2011).
Owens, Simon. "Can Todd Park Revolutionize the Health Care Industry?" The Atlantic. Atlantic Media Company, 02 June 2011. Web. 07 Mar. 2014.
Optional Readings
Silva, Liz PLOS’ New Data Policy: Public Access to Data, February 24 2014
Quantifying Memory: Web-Scraping: The Basics. N.p., n.d. Web. 07 Mar. 2014.
This Week's Themes
Workshop:
Readings:
A Closer Look at Confidence Intervals
Putting P Values in Perspective
Avoiding Careless Errors: Know Your Data
This week's themes
Workshop:
Hospital Compare, where are America’s best hospitals?
Readings:
Kaiser Family Foundation. Medicare A Primer, January 2010
Kaiser Family Foundation. Policy Options to Sustain Medicare for the Future, January 2013
This Week's Themes
Workshop:
Communicating Medicare Cost Data, Who’s the Cheapest?
Readings:
Werner RM, Dudley RA. “Medicare’s New Hospital Value-Based Purchasing Program Is Likely To Have Only A Small Impact On Hospital Payments.” Health Affairs September 2012 31:1932-1940.
Data Visualization: >
Beck, Melinda. "How to Bring the Price of Health Care Into the Open." The Wall Street Journal. Dow Jones & Company, 23 Feb. 2014. Web. 07 Mar. 2014.
Rosenthal, Elisabeth. "As Hospital Prices Soar, a Stitch Tops $500." The New York Times. The New York Times, 02 Dec. 2013. Web. 07 Mar. 2014.
Rosenthal, Elisabeth. "Patients’ Costs Skyrocket; Specialists’ Incomes Soar." The New York Times. The New York Times, 18 Jan. 2014. Web. 07 Mar. 2014. This Week's Themes Workshop:
Week 6: Data Visualization
Readings:
Reichenstein, Oliver. "Learning to See." Information Architects. N.p., 19 Mar. 2013. Web. 07 Mar. 2014.
Dubakov, Michael. "Visual Encoding." Target Process. N.p., Sept. 2012. Web. 07 Mar. 2014.
This Week's Theme
Workshop:
Nursing Home Compare: What does a bad nursing home look like?Readings:
Kaiser Commission on Medicaid and the Uninsured, Medicaid: A Primer, March 2013
This Week's Themes
Workshop:
Medicaid Expansion: How are the expanding states different from those that are not?Readings:
Sommers, B. Baicker, K. Epstein, A. Mortality and Access to Care among Adults after State Medicaid Expansions. New England Journal of Medicine, 2012.
Kaiser Family Foundation, CHIP Enrollment: June 2013 Data Snapshot, January 2014
This Week's Themes
Workshop:
Data SF, looking at a city’s health and retirement benefits
Readings:
Jon Kingsdale and John Bertko: “Insurance Exchanges Under Health Reform: Six Design Issues For The States” in Health Affairs 29, No. 6 (2010): 1158–1163.
Weil A, Scheppach R. “New roles for states in health reform implementation.” Health Aff (Millwood). 2010 Jun;29(6):1178-82
Health Policy Comission. 2013 Cost Trends Report. January, 2014.
This Week's Themes
Readings:
Baicker et al. “The Oregon Experiment Effects of Medicaid on Clinical Outcomes” NEJM 368(18), 2013:1713-1722.
McCall, Nancy, and Jerry Cromwell. "Results of the Medicare Health Support disease-management pilot program." NEJM 365.18 (2011): 1704-1712.
Smith, Jeffrey and Arthur Sweetman. 2010. “Putting the Evidence in Evidence-Based Policy” in Productivity Commission (ed.), Strengthening Evidence Based Policy in the Australian Federation, Volume 1: Proceedings. Canberra: Productivity Commission, 59-102.
Workshop:
Hypothetical Policy Evaluation Brainstorm
In this week approximately half of the students will present their class projects and discuss their findings with the class
Readings:
The readings for this week are to read and help edit a rough draft of each presenting student’s report.
In this week students will continue presenting their in class projects and discussing their findings with the class.
Readings:
The readings for this week are to read and help edit a rough draft of each presenting student’s report.
Wrap up the course with a discussion of the role that open data, data driven journalism, and policy evaluation could play in shaping the healthcare policy of tomorrow.
Workshop:
Discuss next steps!Readings:
"Obamacare Spurring A New Generation Of Startups." TechCrunch. N.p., n.d. Web. 07 Mar. 2014.


| Leap.Vector. | AngleTo | The angle between this vector and the specified vector in radians. The angle is measured in the plane formed by the two vectors. The angle returned is always the smaller of the two conjugate angles. Thus A.angleTo(B) == B.angleTo(A) and is always a positive value less than or equal to pi radians (180 degrees). If either vector has zero length, then this function returns zero. |
vector.js at line 85
|
| Leap.Vector. | Cross | The cross product of this vector and the specified vector. The cross product is a vector orthogonal to both original vectors. It has a magnitude equal to the area of a parallelogram having the two vectors as sides. The direction of the returned vector is determined by the right-hand rule. Thus A.cross(B) == -B.cross(A). |
vector.js at line 109
|
| Leap.Matrix. | compare | Compare Matrix equality component-wise. |
matrix.js at line 275
|
| Leap.Vector. | compare | Compare Vector equality component-wise. |
vector.js at line 345
|
| Leap.Vector. | distanceTo | The distance between the point represented by this Vector object and a point represented by the specified Vector object. |
vector.js at line 132
|
| Leap.Vector. | dividedBy | Divide vector by a scalar. |
vector.js at line 198
|
| Leap.Vector. | dot | The dot product of this vector with another vector. The dot product is the magnitude of the projection of this vector onto the specified vector. |
vector.js at line 145
|
| Leap.Frame. | dump | Returns a JSON-formatted string containing the hands, pointables and gestures in this frame. |
frame.js at line 396
|
| Leap.Frame. | finger | The finger with the specified ID in this frame. Use the Frame finger() function to retrieve the finger from this frame using an ID value obtained from a previous frame. This function always returns a Finger object, but if no finger with the specified ID is present, an invalid Pointable object is returned. Note that ID values persist across frames, but only until tracking of a particular object is lost. If tracking of a finger is lost and subsequently regained, the new Pointable object representing that physical finger may have a different ID than that representing the finger in an earlier frame. |
frame.js at line 197
|
| Leap.Hand. | finger | The finger with the specified ID attached to this hand. Use this function to retrieve a Pointable object representing a finger attached to this hand using an ID value obtained from a previous frame. This function always returns a Pointable object, but if no finger with the specified ID is present, an invalid Pointable object is returned. Note that the ID values assigned to fingers persist across frames, but only until tracking of a particular finger is lost. If tracking of a finger is lost and subsequently regained, the new Finger object representing that finger may have a different ID than that representing the finger in an earlier frame. |
hand.js at line 154
|
| Leap.Controller. | frame | Returns a frame of tracking data from the Leap. Use the optional history parameter to specify which frame to retrieve. Call frame() or frame(0) to access the most recent frame; call frame(1) to access the previous frame, and so on. If you use a history value greater than the number of stored frames, then the controller returns an invalid frame. |
controller.js at line 93
|
| Leap.Frame. | hand | The Hand object with the specified ID in this frame. Use the Frame hand() function to retrieve the Hand object from this frame using an ID value obtained from a previous frame. This function always returns a Hand object, but if no hand with the specified ID is present, an invalid Hand object is returned. Note that ID values persist across frames, but only until tracking of a particular object is lost. If tracking of a hand is lost and subsequently regained, the new Hand object representing that physical hand may have a different ID than that representing the physical hand in an earlier frame. |
frame.js at line 222
|
| Leap.Vector. | isValid | Returns true if all of the vector's components are finite. If any component is NaN or infinite, then this returns false. |
vector.js at line 357
|
| Leap. | loop | The Leap.loop() function passes a frame of Leap data to your callback function and then calls window.requestAnimationFrame() after executing your callback function. Leap.loop() sets up the Leap controller and WebSocket connection for you. You do not need to create your own controller when using this method. Your callback function is called on an interval determined by the client browser. Typically, this is on an interval of 60 frames/second. The most recent frame of Leap data is passed to your callback function. If the Leap is producing frames at a slower rate than the browser frame rate, the same frame of Leap data can be passed to your function in successive animation updates. As an alternative, you can create your own Controller object and use a Controller#onFrame onFrame callback to process the data at the frame rate of the Leap device. See Controller for an example. |
index.js at line 19
|
| Leap.Vector. | magnitude | The magnitude, or length, of this vector. The magnitude is the L2 norm, or Euclidean distance between the origin and the point represented by the (x, y, z) components of this Vector object. |
vector.js at line 210
|
| Leap.Vector. | magnitudeSquared | The square of the magnitude, or length, of this vector. |
vector.js at line 225
|
| Leap.Vector. | minus | Subtract vectors component-wise. |
vector.js at line 174
|
| Leap.Vector. | multiply | Multiply vector by a scalar. |
vector.js at line 186
|
| Leap.Vector. | normalized | A normalized copy of this vector. A normalized vector has the same direction as the original vector, but with a length of one. |
vector.js at line 236
|
| Leap.Vector. | pitch | The pitch angle in radians. Pitch is the angle between the negative z-axis and the projection of the vector onto the y-z plane. In other words, pitch represents rotation around the x-axis. If the vector points upward, the returned angle is between 0 and pi radians (180 degrees); if it points downward, the angle is between 0 and -pi radians. |
vector.js at line 253
|
| Leap.Vector. | plus | Add vectors component-wise. |
vector.js at line 162
|
| Leap.Frame. | pointable | The Pointable object with the specified ID in this frame. Use the Frame pointable() function to retrieve the Pointable object from this frame using an ID value obtained from a previous frame. This function always returns a Pointable object, but if no finger or tool with the specified ID is present, an invalid Pointable object is returned. Note that ID values persist across frames, but only until tracking of a particular object is lost. If tracking of a finger or tool is lost and subsequently regained, the new Pointable object representing that finger or tool may have a different ID than that representing the finger or tool in an earlier frame. |
frame.js at line 173
|
| Leap.Matrix. | rigidInverse | Performs a matrix inverse if the matrix consists entirely of rigid transformations (translations and rotations). If the matrix is not rigid, this operation will not represent an inverse. Note that all matricies that are directly returned by the API are rigid. |
matrix.js at line 185
|
| Leap.Vector. | roll | The roll angle in radians. Roll is the angle between the y-axis and the projection of the vector onto the x-y plane. In other words, roll represents rotation around the z-axis. If the vector points to the left of the y-axis, then the returned angle is between 0 and pi radians (180 degrees); if it points to the right, the angle is between 0 and -pi radians. Use this function to get roll angle of the plane to which this vector is a normal. For example, if this vector represents the normal to the palm, then this function returns the tilt or roll of the palm plane compared to the horizontal (x-z) plane. |
vector.js at line 273
|
| Leap.Frame. | rotationAngle | The angle of rotation around the rotation axis derived from the overall rotational motion between the current frame and the specified frame. The returned angle is expressed in radians measured clockwise around the rotation axis (using the right-hand rule) between the start and end frames. The value is always between 0 and pi radians (0 and 180 degrees). The Leap derives frame rotation from the relative change in position and orientation of all objects detected in the field of view. If either this frame or sinceFrame is an invalid Frame object, then the angle of rotation is zero. |
frame.js at line 245
|
| Leap.Hand. | rotationAngle | The angle of rotation around the rotation axis derived from the change in orientation of this hand, and any associated fingers and tools, between the current frame and the specified frame. The returned angle is expressed in radians measured clockwise around the rotation axis (using the right-hand rule) between the start and end frames. The value is always between 0 and pi radians (0 and 180 degrees). If a corresponding Hand object is not found in sinceFrame, or if either this frame or sinceFrame are invalid Frame objects, then the angle of rotation is zero. |
hand.js at line 180
|
| Leap.Frame. | rotationAxis | The axis of rotation derived from the overall rotational motion between the current frame and the specified frame. The returned direction vector is normalized. The Leap derives frame rotation from the relative change in position and orientation of all objects detected in the field of view. If either this frame or sinceFrame is an invalid Frame object, or if no rotation is detected between the two frames, a zero vector is returned. |
frame.js at line 281
|
| Leap.Hand. | rotationAxis | The axis of rotation derived from the change in orientation of this hand, and any associated fingers and tools, between the current frame and the specified frame. The returned direction vector is normalized. If a corresponding Hand object is not found in sinceFrame, or if either this frame or sinceFrame are invalid Frame objects, then this method returns a zero vector. |
hand.js at line 218
|
| Leap.Frame. | rotationMatrix | The transform matrix expressing the rotation derived from the overall rotational motion between the current frame and the specified frame. The Leap derives frame rotation from the relative change in position and orientation of all objects detected in the field of view. If either this frame or sinceFrame is an invalid Frame object, then this method returns an identity matrix. |
frame.js at line 308
|
| Leap.Hand. | rotationMatrix | The transform matrix expressing the rotation derived from the change in orientation of this hand, and any associated fingers and tools, between the current frame and the specified frame. If a corresponding Hand object is not found in sinceFrame, or if either this frame or sinceFrame are invalid Frame objects, then this method returns an identity matrix. |
hand.js at line 245
|
| Leap.Frame. | scaleFactor | The scale factor derived from the overall motion between the current frame and the specified frame. The scale factor is always positive. A value of 1.0 indicates no scaling took place. Values between 0.0 and 1.0 indicate contraction and values greater than 1.0 indicate expansion. The Leap derives scaling from the relative inward or outward motion of all objects detected in the field of view (independent of translation and rotation). If either this frame or sinceFrame is an invalid Frame object, then this method returns 1.0. |
frame.js at line 333
|
| Leap.Hand. | scaleFactor | The scale factor derived from the hand's motion between the current frame and the specified frame. The scale factor is always positive. A value of 1.0 indicates no scaling took place. Values between 0.0 and 1.0 indicate contraction and values greater than 1.0 indicate expansion. The Leap derives scaling from the relative inward or outward motion of a hand and its associated fingers and tools (independent of translation and rotation). If a corresponding Hand object is not found in sinceFrame, or if either this frame or sinceFrame are invalid Frame objects, then this method returns 1.0. |
hand.js at line 272
|
| Leap.Matrix. | setRotation | Sets this transformation matrix to represent a rotation around the specified vector. This function erases any previous rotation and scale transforms applied to this matrix, but does not affect translation. |
matrix.js at line 112
|
| Leap.Matrix. | times | Multiply transform matrices. Combines two transformations into a single equivalent transformation. |
matrix.js at line 166
|
| Leap.Vector. | toArray | Returns the vector as a float array. |
vector.js at line 320
|
| Leap.Matrix. | toArray3x3 | Writes the 3x3 Matrix object to a 9 element row-major float array. Translation factors are discarded. |
matrix.js at line 206
|
| Leap.Matrix. | toArray4x4 | Convert a 4x4 Matrix object to a 16 element row-major float array. Translation factors are discarded. |
matrix.js at line 230
|
| Leap.Frame. | toString | A string containing a brief, human readable description of the Frame object. |
frame.js at line 382
|
| Leap.Hand. | toString | A string containing a brief, human readable description of the Hand object. |
hand.js at line 324
|
| Leap.Matrix. | toString | Write the matrix to a string in a human readable format. |
matrix.js at line 261
|
| Leap.Pointable. | toString | A string containing a brief, human readable description of the Pointable object. |
pointable.js at line 120
|
| Leap.Vector. | toString | Returns a string containing this vector in a human readable format: (x, y, z). |
vector.js at line 331
|
| Leap.Frame. | tool | The tool with the specified ID in this frame. Use the Frame tool() function to retrieve a tool from this frame using an ID value obtained from a previous frame. This function always returns a Pointable object, but if no tool with the specified ID is present, an invalid Pointable object is returned. Note that ID values persist across frames, but only until tracking of a particular object is lost. If tracking of a tool is lost and subsequently regained, the new Pointable object representing that tool may have a different ID than that representing the tool in an earlier frame. |
frame.js at line 148
|
| Leap.Matrix. | transformDirection | Transforms a vector with this matrix by transforming its rotation and scale only. |
matrix.js at line 150
|
| Leap.Matrix. | transformPoint | Transforms a vector with this matrix by transforming its rotation, scale, and translation. Translation is applied after rotation and scale. |
matrix.js at line 135
|
| Leap.Frame. | translation | The change of position derived from the overall linear motion between the current frame and the specified frame. The returned translation vector provides the magnitude and direction of the movement in millimeters. The Leap derives frame translation from the linear motion of all objects detected in the field of view. If either this frame or sinceFrame is an invalid Frame object, then this method returns a zero vector. |
frame.js at line 355
|
| Leap.Hand. | translation | The change of position of this hand between the current frame and the specified frame The returned translation vector provides the magnitude and direction of the movement in millimeters. If a corresponding Hand object is not found in sinceFrame, or if either this frame or sinceFrame are invalid Frame objects, then this method returns a zero vector. |
hand.js at line 298
|
| Leap.Vector. | yaw | The yaw angle in radians. Yaw is the angle between the negative z-axis and the projection of the vector onto the x-z plane. In other words, yaw represents rotation around the y-axis. If the vector points to the right of the negative z-axis, then the returned angle is between 0 and pi radians (180 degrees); if it points to the left, the angle is between 0 and -pi radians. |
vector.js at line 299
|


Volume in drive D is DATA Volume Serial Number is B4D1-C2C0 Directory of D:\Porjects\practice\demoRemoteRepo\test 25-03-2020 22:54


@sri mentioned you
@ha haa Cultivate synergies?
@sandy mentioned you
@ha haa Latform cultivate?
@haasini mentioned you
@ha haa Eyeballs atformsvate?
| Departure | Duration | Arrival | Airlines | Price | |
|---|---|---|---|---|---|
| 6:40 AM | 1h 5m | 7:45 AM | Indigo | $ 1220 | View |
| 10:40 PM | 2h 12m | 12:57 AM | Jet Airways | $ 1325 | View |
| 3:30 AM | 1h 25m | 4:55 AM | Air India | $ 2550 | View |
| 4:20 Am | 1h 45m | 9:25 AM | Jet Airways | $ 1725 | View |
| 6:55 AM | 3h 45m | 3:35 AM | Air India | $ 5540 | View |
| 8:15 AM | 5h 35m | 1:25 AM | Emirates | $ 3325 | View |
Graphic Designer
UI Designer
Haker
Senior Developer


Parameters: name
name:str -> The name of the database
createDatabase creates a python file inside the databases folder in Coconut and stores it in there. If there is not format given(e.g "Test" instead of "Test.py"), it will accept, however, if it ends with a different format like .js, it will raise InvalidTypeDatabaseError
Parameters: name
name:str -> The name of the database to delete
deleteDatabase deletes the database name in the databases folder in Coconut. If no format is given, it will raise an error.
Parameters: name
name:str -> The name of the database to read
readDatabase reads the database and returns the code written inside of the database.
Parameters: filename, code
filename:str -> The name of the database to append a line of code to.
code:str -> The code you want to append to the database, e.g. x = 10
appendDatabase appends a line of python code into the database, else, those files have no use!
Parameters: filename
filename:str -> The name of the file to execute.
executeDatabase executes the code inside the name of the database.
Parameters: nameofcategory
nameofcategory:str -> The name of the category
Coconut's class NewCategory creates a new folder, known as Category in Coconut, inside there will be a __init__.py file for easier import. You can create subcategories which will be explain in createSubCategory
Parameters: None(self)
self:NewCategory -> to refer to itself
Creates the folder inside the databases folder. __init__.py file will be found inside and created from createInitFile()
Parameters: name
name:str -> The name of the subcategory. If a subsubcategory is wanted to be made, use os.path.join(nameofsubcategory, nameofsubsubcategory) and the call createSubCategory to create a nested sub category.
Creates a sub category or subsubcategory in the Category itself. To create a relative subcategory, you can


Most fund managers since 2011 see South Africa equities as cheap
More fund managers also see local bonds as undervalued, survey shows.
by Antony Sguazzin, BloombergA Bank of America Corp. survey of 12 South African fund managers found that one-third of them see local equities as undervalued, the most since 2011, while a similar proportion regard the country’s bonds as cheap, the most since 2013.
Most local investors expect economic conditions in the country to improve, though they are frustrated with the slow pace of reform, the survey shows. Foreign investors have a similar attitude, analysts from the bank said at a presentation in Johannesburg on Friday.
“Foreign investors are lightly positioned and this could be an opportunity if things fall into place,” said David Hauner, the bank’s head of Emerging Market Cross-Asset Research and Economics. “The bar for positive surprises is low.”
For now, the slow progress the government is making in getting its strained finances in order and igniting growth is keeping foreign investors on the sidelines.
“They are saying, why are things taking so long,” said John Morris, the bank’s South Africa strategist. “It’s an opportunity cost. The foreigners are in limbo. It’s a wait and see while focusing on other countries.”
Among equities, platinum, beverages and tobacco are the most favoured while fund managers are also buying more general miners and retailers, the survey shows.
While South Africa’s credit rating is expected to be cut to junk by Moody’s Investors Service next year, meaning that government bonds would fall out of key indexes, the market has already anticipated this, according to the analysts.
© 2019 Bloomberg L.P.


Enjoying last Christmas where Coraline is unaware of what's going on and simply surprised and happy whenever these presents keep showing up.
12/25/2009, 10:36:45 AM
Favs: 0
Retweets: 0
link--- layout: tweet ---
Enjoying last Christmas where Coraline is unaware of what's going on and simply surprised and happy whenever these presents keep showing up.
12/25/2009, 10:36:45 AM
Favs: 0
Retweets: 0
link


Please wait...
CERTIFICATION & WARRANTY
Certification Report
Inspection Agency
Inspection Date
Certificate Id
Certificate Url
Certificate Report
Remove
Select Certificate Report
Click to Download
Service Warranty Report
Service Agency
Inspection Date
Certificate Id
Certificate Url
Certificate Report
Remove
Select Certificate Report
Click to Download
Cancel
Save
Inspection Agency
Self
TrustMark
Others
Inspection Agency
Self
Others


Om Prakash
Software Engineer
Hello World!
January 22, 2017
General
Hello World! This is my first blog post. Edit it or delete it.
Read More
Subscribe to
RSS feed