index
int64
0
10.7k
class
stringclasses
867 values
comment_sentence
stringlengths
1
1.78k
partition
int64
0
0
combo
stringlengths
17
1.81k
labels
listlengths
7
7
6,251
AutotoolsNewProjectNature.java
@param monitor a progress monitor to indicate the duration of the operation, or * <code>null</code> if progress reporting is not required.
0
@param monitor a progress monitor to indicate the duration of the operation, or * <code>null</code> if progress reporting is not required. | AutotoolsNewProjectNature.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,252
AutotoolsNewProjectNature.java
@param monitor a progress monitor to indicate the duration of the operation, or * <code>null</code> if progress reporting is not required.
0
@param monitor a progress monitor to indicate the duration of the operation, or * <code>null</code> if progress reporting is not required. | AutotoolsNewProjectNature.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,253
AutotoolsNewProjectNature.java
* @param project to remove the autotools nature from
0
* @param project to remove the autotools nature from | AutotoolsNewProjectNature.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,254
AutotoolsNewProjectNature.java
@param mon progress monitor to indicate the duration of the operation, or * <code>null</code> if progress reporting is not required.
0
@param mon progress monitor to indicate the duration of the operation, or * <code>null</code> if progress reporting is not required. | AutotoolsNewProjectNature.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,255
AutotoolsNewProjectNature.java
* @param project to remove the old autotools nature from
0
* @param project to remove the old autotools nature from | AutotoolsNewProjectNature.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,256
AutotoolsNewProjectNature.java
@param mon progress monitor to indicate the duration of the operation, or * <code>null</code> if progress reporting is not required.
0
@param mon progress monitor to indicate the duration of the operation, or * <code>null</code> if progress reporting is not required. | AutotoolsNewProjectNature.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,257
AutotoolsNewProjectNature.java
* @param proj the project to remove the nature from
0
* @param proj the project to remove the nature from | AutotoolsNewProjectNature.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,258
AutotoolsNewProjectNature.java
* @param natureId the nature id to remove
0
* @param natureId the nature id to remove | AutotoolsNewProjectNature.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,259
AutotoolsNewProjectNature.java
@param monitor a progress monitor to indicate the duration of the operation, or * <code>null</code> if progress reporting is not required.
0
@param monitor a progress monitor to indicate the duration of the operation, or * <code>null</code> if progress reporting is not required. | AutotoolsNewProjectNature.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,260
AutotoolsNewProjectNature.java
* Add the Autotools builder to the project
0
* Add the Autotools builder to the project | AutotoolsNewProjectNature.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,261
AutotoolsNewProjectNature.java
// Add the builder to the project
0
// Add the builder to the project | AutotoolsNewProjectNature.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,262
AutotoolsNewProjectNature.java
//Other pieces of wizard might have contributed new builder commands; //need to make sure we are using the most recent ones
0
//Other pieces of wizard might have contributed new builder commands; //need to make sure we are using the most recent ones | AutotoolsNewProjectNature.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,263
AutotoolsNewProjectNature.java
// add Autotools Configuration builder just before builder
0
// add Autotools Configuration builder just before builder | AutotoolsNewProjectNature.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,264
AutotoolsNewProjectNature.java
// Make sure that the Autotools builder precedes the Managed builder // or the Remote Synchronized builder.
0
// Make sure that the Autotools builder precedes the Managed builder // or the Remote Synchronized builder. | AutotoolsNewProjectNature.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,265
AutotoolsNewProjectNature.java
// ignore it
0
// ignore it | AutotoolsNewProjectNature.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,266
AutotoolsNewProjectNature.java
// Make sure the Autotools Configuration builder just precedes the Common Builder
0
// Make sure the Autotools Configuration builder just precedes the Common Builder | AutotoolsNewProjectNature.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,267
AutotoolsNewProjectNature.java
* Utility method for adding an autotools nature to a project.
0
* Utility method for adding an autotools nature to a project. | AutotoolsNewProjectNature.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,268
AutotoolsNewProjectNature.java
* Utility method for adding a nature to a project.
0
* Utility method for adding a nature to a project. | AutotoolsNewProjectNature.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,269
AutotoolsNewProjectNature.java
* Utility method to remove the autotools nature from a project.
0
* Utility method to remove the autotools nature from a project. | AutotoolsNewProjectNature.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,270
AutotoolsNewProjectNature.java
* Utility method to remove the old autotools nature from a project.
0
* Utility method to remove the old autotools nature from a project. | AutotoolsNewProjectNature.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,271
AutotoolsNewProjectNature.java
* Utility method for removing a project nature from a project.
0
* Utility method for removing a project nature from a project. | AutotoolsNewProjectNature.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,273
QMLEditor.java
* Basic editor for QML. Thus far has only syntax highlighting capabilities.
0
* Basic editor for QML. Thus far has only syntax highlighting capabilities. | QMLEditor.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,274
QMLEditor.java
// Setup bracket matching with default color being gray
0
// Setup bracket matching with default color being gray | QMLEditor.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,275
RemoteDebuggerPage.java
Contributors: * Ewa Matejska (PalmSource) * * Referenced GDBDebuggerPage code to write this. * Anna Dushistova (Mentor Graphics) - moved to org.eclipse.cdt.launch.remote.tabs * Red Hat Inc. - modified to work with CDT Container Launcher
0
Contributors: * Ewa Matejska (PalmSource) * * Referenced GDBDebuggerPage code to write this. * Anna Dushistova (Mentor Graphics) - moved to org.eclipse.cdt.launch.remote.tabs * Red Hat Inc. - modified to work with CDT Container Launcher | RemoteDebuggerPage.java
[ 0, 1, 0, 0, 0, 0, 0 ]
6,276
RemoteDebuggerPage.java
The dynamic debugger tab for Docker Container launches using gdb server. The * gdbserver settings are used to start a gdbserver session in the Docker * Container and then to connect to it from the host.
0
The dynamic debugger tab for Docker Container launches using gdb server. The * gdbserver settings are used to start a gdbserver session in the Docker * Container and then to connect to it from the host. | RemoteDebuggerPage.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,277
RemoteDebuggerPage.java
@see * org.eclipse.cdt.debug.mi.internal.ui.GDBDebuggerPage#createTabs(org.eclipse * .swt.widgets.TabFolder)
0
@see * org.eclipse.cdt.debug.mi.internal.ui.GDBDebuggerPage#createTabs(org.eclipse * .swt.widgets.TabFolder) | RemoteDebuggerPage.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,279
MIGDBSetAutoSolib.java
* @since 1.1
0
* @since 1.1 | MIGDBSetAutoSolib.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,280
MIGDBSetAutoSolib.java
-gdb-set
0
-gdb-set | MIGDBSetAutoSolib.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,281
AbstractBuilderTest.java
Contributors: * Broadcom Corporation - Initial API and implementation
0
Contributors: * Broadcom Corporation - Initial API and implementation | AbstractBuilderTest.java
[ 0, 1, 0, 0, 0, 0, 0 ]
6,282
AbstractBuilderTest.java
/******************************************************************************* * Copyright (c) 2011, 2012 Broadcom Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Broadcom Corporation - Initial API and implementation *******************************************************************************/
0
/******************************************************************************* * Copyright (c) 2011, 2012 Broadcom Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Broadcom Corporation - Initial API and implementation *******************************************************************************/ | AbstractBuilderTest.java
[ 0, 1, 0, 0, 0, 0, 0 ]
6,283
AbstractBuilderTest.java
Abstract builder test which provides utility methods for:
0
Abstract builder test which provides utility methods for: | AbstractBuilderTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,284
AbstractBuilderTest.java
<ul> * <li>Importing projects into the workspace</li> * <li>Adding expected resources to the delta verifier</li> * <li>Verifying the delta</li> * <li>Printing markers</li> * <li>Cleaning up the workspace at the end</li> * </ul>
0
<ul> * <li>Importing projects into the workspace</li> * <li>Adding expected resources to the delta verifier</li> * <li>Verifying the delta</li> * <li>Printing markers</li> * <li>Cleaning up the workspace at the end</li> * </ul> | AbstractBuilderTest.java
[ 0, 0, 1, 0, 0, 0, 0 ]
6,285
AbstractBuilderTest.java
// Clean-up any projects we were using
0
// Clean-up any projects we were using | AbstractBuilderTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,286
AbstractBuilderTest.java
Run a build of the specified kind, and verify that the resource changes that * result match the expectations of the given verifier.
0
Run a build of the specified kind, and verify that the resource changes that * result match the expectations of the given verifier. | AbstractBuilderTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,287
AbstractBuilderTest.java
Build the specified configurations, and verify that the resource changes that * result match the expectations of the given verifier.
0
Build the specified configurations, and verify that the resource changes that * result match the expectations of the given verifier. | AbstractBuilderTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,288
AbstractBuilderTest.java
// batch changes
0
// batch changes | AbstractBuilderTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,289
AbstractBuilderTest.java
* Set the active configuration of a project by configuration name
0
* Set the active configuration of a project by configuration name | AbstractBuilderTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,290
AbstractBuilderTest.java
Returns an array of resources expected to be generated by building a project configuration. * The object files expected to be output can also be specified.
0
Returns an array of resources expected to be generated by building a project configuration. * The object files expected to be output can also be specified. | AbstractBuilderTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,291
AbstractBuilderTest.java
// Add subdir.mk in the same directory
0
// Add subdir.mk in the same directory | AbstractBuilderTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,292
AbstractBuilderTest.java
// If the parent of the obj doesn't exist, then ensure we're expecting that too...
0
// If the parent of the obj doesn't exist, then ensure we're expecting that too... | AbstractBuilderTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,293
AbstractBuilderTest.java
// Project
0
// Project | AbstractBuilderTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,294
AbstractBuilderTest.java
// Resource workspace path
0
// Resource workspace path | AbstractBuilderTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,295
AbstractBuilderTest.java
// line number
0
// line number | AbstractBuilderTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,296
AbstractBuilderTest.java
// severity
0
// severity | AbstractBuilderTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,297
AbstractBuilderTest.java
// append the rest of the string fields
0
// append the rest of the string fields | AbstractBuilderTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,298
AbstractBuilderTest.java
// Finally print the string
0
// Finally print the string | AbstractBuilderTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,300
RenameConfigurationDialog.java
Update the status message and button state based on the input selected * by the user
0
Update the status message and button state based on the input selected * by the user | RenameConfigurationDialog.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,301
RenameConfigurationDialog.java
// Make sure that the name is at least one character in length
0
// Make sure that the name is at least one character in length | RenameConfigurationDialog.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,302
RenameConfigurationDialog.java
if (currentName.length() == 0) { s = ""; //$NON-NLS-1$ // Make sure the name is not a duplicate } else if (isDuplicateName(currentName)) { s = NLS.bind(Messages.RenameConfiguration_error_duplicateName, currentName); } else if (isSimilarName(currentName)) { s = NLS.bind(Messages.RenameConfiguration_error_caseName, currentName); } else if (!validateName(currentName)) { s = NLS.bind(Messages.RenameConfiguration_error_invalidName, currentName); }
0
if (currentName.length() == 0) { s = ""; //$NON-NLS-1$ // Make sure the name is not a duplicate } else if (isDuplicateName(currentName)) { s = NLS.bind(Messages.RenameConfiguration_error_duplicateName, currentName); } else if (isSimilarName(currentName)) { s = NLS.bind(Messages.RenameConfiguration_error_caseName, currentName); } else if (!validateName(currentName)) { s = NLS.bind(Messages.RenameConfiguration_error_invalidName, currentName); } | RenameConfigurationDialog.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,303
RenameConfigurationDialog.java
// Make sure the name is not a duplicate
0
// Make sure the name is not a duplicate | RenameConfigurationDialog.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,305
RenameConfigurationDialog.java
@param name
0
@param name | RenameConfigurationDialog.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,306
RenameConfigurationDialog.java
* @return <I>true</i> is the name is a valid directory name with no whitespaces
0
* @return <I>true</i> is the name is a valid directory name with no whitespaces | RenameConfigurationDialog.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,307
RenameConfigurationDialog.java
* Checks the argument for leading whitespaces and invalid directory name characters.
0
* Checks the argument for leading whitespaces and invalid directory name characters. | RenameConfigurationDialog.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,308
RenameConfigurationDialog.java
// Iterate over the name checking for bad characters
0
// Iterate over the name checking for bad characters | RenameConfigurationDialog.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,309
RenameConfigurationDialog.java
// No whitespaces at the start of a name
0
// No whitespaces at the start of a name | RenameConfigurationDialog.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,310
RenameConfigurationDialog.java
// Config name must be a valid dir name too, so we ban "\ / : * ? " < >" in the names
0
// Config name must be a valid dir name too, so we ban "\ / : * ? " < >" in the names | RenameConfigurationDialog.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,311
RenameConfigurationDialog.java
// Return true if there is already a config of that name defined on the target
0
// Return true if there is already a config of that name defined on the target | RenameConfigurationDialog.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,312
RenameConfigurationDialog.java
// Return true if there is already a config of that name defined
0
// Return true if there is already a config of that name defined | RenameConfigurationDialog.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,313
RenameConfigurationDialog.java
// Add a label and a text widget for Configuration's description
0
// Add a label and a text widget for Configuration's description | RenameConfigurationDialog.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,314
RenameConfigurationDialog.java
// Add a label and a text widget for Configuration's name
0
// Add a label and a text widget for Configuration's name | RenameConfigurationDialog.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,315
RenameConfigurationDialog.java
// Create a group for the name & description
0
// Create a group for the name & description | RenameConfigurationDialog.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,316
RenameConfigurationDialog.java
* @see org.eclipse.jface.dialogs.Dialog#createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)
0
* @see org.eclipse.jface.dialogs.Dialog#createButtonsForButtonBar(org.eclipse.swt.widgets.Composite) | RenameConfigurationDialog.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,317
RenameConfigurationDialog.java
Method declared on Dialog. Cache the name and base config selections. * We don't have to worry that the index or name is wrong because we * enable the OK button IFF those conditions are met.
0
Method declared on Dialog. Cache the name and base config selections. * We don't have to worry that the index or name is wrong because we * enable the OK button IFF those conditions are met. | RenameConfigurationDialog.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,318
CompositeInputSplit.java
This InputSplit contains a set of child InputSplits. Any InputSplit inserted * into this collection must have a public default constructor.
0
This InputSplit contains a set of child InputSplits. Any InputSplit inserted * into this collection must have a public default constructor. | CompositeInputSplit.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,319
CompositeInputSplit.java
@code * <count><class1><class2>...<classn><split1><split2>...<splitn>
0
@code * <count><class1><class2>...<classn><split1><split2>...<splitn> | CompositeInputSplit.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,321
CompositeInputSplit.java
* Add an InputSplit to this collection.
0
* Add an InputSplit to this collection. | CompositeInputSplit.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,322
CompositeInputSplit.java
* Get ith child InputSplit.
0
* Get ith child InputSplit. | CompositeInputSplit.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,323
CompositeInputSplit.java
* Return the aggregate length of all child InputSplits currently added.
0
* Return the aggregate length of all child InputSplits currently added. | CompositeInputSplit.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,324
CompositeInputSplit.java
* Get the length of ith child InputSplit.
0
* Get the length of ith child InputSplit. | CompositeInputSplit.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,325
CompositeInputSplit.java
* Collect a set of hosts from all child InputSplits.
0
* Collect a set of hosts from all child InputSplits. | CompositeInputSplit.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,326
CompositeInputSplit.java
* getLocations from ith InputSplit.
0
* getLocations from ith InputSplit. | CompositeInputSplit.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,327
CompositeInputSplit.java
* Write splits in the following format.
0
* Write splits in the following format. | CompositeInputSplit.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,328
CompositeInputSplit.java
// Generic array assignment
0
// Generic array assignment | CompositeInputSplit.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,329
PropertyValueChange.java
// replace text fields with comboboxes
0
// replace text fields with comboboxes | PropertyValueChange.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,330
PropertyValueChange.java
// we must hook value change listener to ensure updates in all use // cases (eg. edit mode)
0
// we must hook value change listener to ensure updates in all use // cases (eg. edit mode) | PropertyValueChange.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,331
PropertyValueChange.java
// Also use column generator in test, to ensure it is possible to build // columns that update automatically.
0
// Also use column generator in test, to ensure it is possible to build // columns that update automatically. | PropertyValueChange.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,332
UninterruptibleMonitorTest.java
@link Monitor
0
@link Monitor | UninterruptibleMonitorTest.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,333
UninterruptibleMonitorTest.java
@author Justin T. Sampson
0
@author Justin T. Sampson | UninterruptibleMonitorTest.java
[ 0, 1, 0, 0, 0, 0, 0 ]
6,334
UninterruptibleMonitorTest.java
/* * Copyright (C) 2010 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */
0
/* * Copyright (C) 2010 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ | UninterruptibleMonitorTest.java
[ 0, 1, 0, 0, 0, 0, 0 ]
6,335
UninterruptibleMonitorTest.java
Tests for {@link Monitor}'s uninterruptible methods.
0
Tests for {@link Monitor}'s uninterruptible methods. | UninterruptibleMonitorTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,336
Ticket1506_TestContainer.java
@author Efecte R&D
0
@author Efecte R&D | Ticket1506_TestContainer.java
[ 0, 1, 0, 0, 0, 0, 0 ]
6,337
Ticket1506_TestContainer.java
@version $Revision$, $Date$
0
@version $Revision$, $Date$ | Ticket1506_TestContainer.java
[ 0, 0, 0, 1, 0, 0, 0 ]
6,338
TabSpaceNotScroll.java
If the space is pressed on the tabs of a tabsheet the browser default scroll * behavior must be prevented.
0
If the space is pressed on the tabs of a tabsheet the browser default scroll * behavior must be prevented. | TabSpaceNotScroll.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,340
JavaMultilayerPerceptronClassifierExample.java
* An example for Multilayer Perceptron Classification.
0
* An example for Multilayer Perceptron Classification. | JavaMultilayerPerceptronClassifierExample.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,341
JavaMultilayerPerceptronClassifierExample.java
// Load training data
0
// Load training data | JavaMultilayerPerceptronClassifierExample.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,342
JavaMultilayerPerceptronClassifierExample.java
// Split the data into train and test
0
// Split the data into train and test | JavaMultilayerPerceptronClassifierExample.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,343
JavaMultilayerPerceptronClassifierExample.java
DataFrame[] splits = dataFrame.randomSplit(new double[]{0.6, 0.4}, 1234L); DataFrame train = splits[0]; DataFrame test = splits[1];
0
DataFrame[] splits = dataFrame.randomSplit(new double[]{0.6, 0.4}, 1234L); DataFrame train = splits[0]; DataFrame test = splits[1]; | JavaMultilayerPerceptronClassifierExample.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,344
JavaMultilayerPerceptronClassifierExample.java
// specify layers for the neural network: // input layer of size 4 (features), two intermediate of size 5 and 4 // and output of size 3 (classes)
0
// specify layers for the neural network: // input layer of size 4 (features), two intermediate of size 5 and 4 // and output of size 3 (classes) | JavaMultilayerPerceptronClassifierExample.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,345
JavaMultilayerPerceptronClassifierExample.java
// create the trainer and set its parameters
0
// create the trainer and set its parameters | JavaMultilayerPerceptronClassifierExample.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,346
JavaMultilayerPerceptronClassifierExample.java
// train the model
0
// train the model | JavaMultilayerPerceptronClassifierExample.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,347
JavaMultilayerPerceptronClassifierExample.java
// compute precision on the test set
0
// compute precision on the test set | JavaMultilayerPerceptronClassifierExample.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,348
JobPriority.java
/** * Used to describe the priority of the running job. * DEFAULT : While submitting a job, if the user is not specifying priority, * YARN has the capability to pick the default priority as per its config. * Hence MapReduce can indicate such cases with this new enum. * UNDEFINED_PRIORITY : YARN supports priority as an integer. Hence other than * the five defined enums, YARN can consider other integers also. To generalize * such cases, this specific enum is used. */
0
/** * Used to describe the priority of the running job. * DEFAULT : While submitting a job, if the user is not specifying priority, * YARN has the capability to pick the default priority as per its config. * Hence MapReduce can indicate such cases with this new enum. * UNDEFINED_PRIORITY : YARN supports priority as an integer. Hence other than * the five defined enums, YARN can consider other integers also. To generalize * such cases, this specific enum is used. */ | JobPriority.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,349
SynchronizedMapTest.java
@code Synchronized#map
0
@code Synchronized#map | SynchronizedMapTest.java
[ 0, 0, 0, 0, 1, 0, 0 ]
6,350
SynchronizedMapTest.java
@author Mike Bostock
0
@author Mike Bostock | SynchronizedMapTest.java
[ 0, 1, 0, 0, 0, 0, 0 ]
6,351
SynchronizedMapTest.java
// something Serializable
0
// something Serializable | SynchronizedMapTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,352
SynchronizedMapTest.java
Tests for {@code Synchronized#map}.
0
Tests for {@code Synchronized#map}. | SynchronizedMapTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,353
SynchronizedMapTest.java
This is somewhat of a weak test; we verify that all of the methods are * correct, but not that they're actually forwarding correctly. We also rely * on the other tests (e.g., SynchronizedSetTest) to verify that the * collection views are synchronized correctly.
0
This is somewhat of a weak test; we verify that all of the methods are * correct, but not that they're actually forwarding correctly. We also rely * on the other tests (e.g., SynchronizedSetTest) to verify that the * collection views are synchronized correctly. | SynchronizedMapTest.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,354
Checkpointer.java
The Checkpointer is responsible for supporting periodic checkpoints * of the HDFS metadata.
0
The Checkpointer is responsible for supporting periodic checkpoints * of the HDFS metadata. | Checkpointer.java
[ 1, 0, 0, 0, 0, 0, 0 ]
6,355
Checkpointer.java
The Checkpointer is a daemon that periodically wakes up * up (determined by the schedule specified in the configuration), * triggers a periodic checkpoint and then goes back to sleep. * * The start of a checkpoint is triggered by one of the two factors: * (1) time or (2) the size of the edits file.
0
The Checkpointer is a daemon that periodically wakes up * up (determined by the schedule specified in the configuration), * triggers a periodic checkpoint and then goes back to sleep. * * The start of a checkpoint is triggered by one of the two factors: * (1) time or (2) the size of the edits file. | Checkpointer.java
[ 0, 0, 1, 0, 0, 0, 0 ]
6,356
Checkpointer.java
* Create a connection to the primary namenode.
0
* Create a connection to the primary namenode. | Checkpointer.java
[ 1, 0, 0, 0, 0, 0, 0 ]